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;
9 const MpdBuilder::MpdType kDefaultMpdType = MpdBuilder::kStatic;
14 MockMpdBuilder::MockMpdBuilder(MpdType type)
15 : MpdBuilder(type, kDefaultMpdOptions) {}
16 MockMpdBuilder::~MockMpdBuilder() {}
18 MockAdaptationSet::MockAdaptationSet(uint32_t adaptation_set_id)
19 : AdaptationSet(adaptation_set_id,
23 &sequence_counter_) {}
24 MockAdaptationSet::~MockAdaptationSet() {}
26 MockRepresentation::MockRepresentation(uint32_t representation_id)
27 : Representation(MediaInfo(),
30 std::unique_ptr<RepresentationStateChangeListener>()) {}
31 MockRepresentation::~MockRepresentation() {}