7 #include <packager/mpd/base/mock_mpd_builder.h>
9 #include <packager/mpd/base/media_info.pb.h>
13 const char kEmptyLang[] =
"";
14 const MpdOptions kDefaultMpdOptions;
19 MockMpdBuilder::MockMpdBuilder() : MpdBuilder(kDefaultMpdOptions) {}
20 MockMpdBuilder::~MockMpdBuilder() {}
22 MockPeriod::MockPeriod(uint32_t period_id,
double start_time_in_seconds)
24 start_time_in_seconds,
26 &sequence_counter_) {}
28 MockAdaptationSet::MockAdaptationSet()
29 : AdaptationSet(kEmptyLang, kDefaultMpdOptions, &sequence_counter_) {}
31 MockAdaptationSet::~MockAdaptationSet() {}
33 MockRepresentation::MockRepresentation(uint32_t representation_id)
34 : Representation(MediaInfo(),
37 std::unique_ptr<RepresentationStateChangeListener>()) {}
38 MockRepresentation::~MockRepresentation() {}
All the methods that are virtual are virtual for mocking.