Shaka Packager SDK
mock_media_playlist.cc
1 // Copyright 2016 Google LLC. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #include <packager/hls/base/mock_media_playlist.h>
8 
9 #include <packager/hls_params.h>
10 
11 namespace shaka {
12 namespace hls {
13 
14 MockMediaPlaylist::MockMediaPlaylist(const std::string& file_name,
15  const std::string& name,
16  const std::string& group_id)
17  : MediaPlaylist(HlsParams(), file_name, name, group_id) {}
18 MockMediaPlaylist::~MockMediaPlaylist() {}
19 
20 } // namespace hls
21 } // namespace shaka
All the methods that are virtual are virtual for mocking.
Definition: crypto_flags.cc:66