1 #include "packager/mpd/base/mock_mpd_builder.h" 3 #include "packager/mpd/base/media_info.pb.h" 7 const char kEmptyLang[] =
"";
8 const MpdOptions kDefaultMpdOptions;
13 MockMpdBuilder::MockMpdBuilder() : MpdBuilder(kDefaultMpdOptions) {}
14 MockMpdBuilder::~MockMpdBuilder() {}
16 MockPeriod::MockPeriod(uint32_t period_id,
double start_time_in_seconds)
18 start_time_in_seconds,
21 &sequence_counter_) {}
23 MockAdaptationSet::MockAdaptationSet(uint32_t adaptation_set_id)
24 : AdaptationSet(adaptation_set_id,
27 &sequence_counter_) {}
28 MockAdaptationSet::~MockAdaptationSet() {}
30 MockRepresentation::MockRepresentation(uint32_t representation_id)
31 : Representation(MediaInfo(),
34 std::unique_ptr<RepresentationStateChangeListener>()) {}
35 MockRepresentation::~MockRepresentation() {}
All the methods that are virtual are virtual for mocking.