Shaka Packager SDK
Loading...
Searching...
No Matches
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 <string>
10
11#include <packager/hls/base/media_playlist.h>
12#include <packager/hls_params.h>
13
14namespace shaka {
15namespace hls {
16
17MockMediaPlaylist::MockMediaPlaylist(const std::string& file_name,
18 const std::string& name,
19 const std::string& group_id)
20 : MediaPlaylist(HlsParams(), file_name, name, group_id) {}
21MockMediaPlaylist::~MockMediaPlaylist() {}
22
23} // namespace hls
24} // namespace shaka
All the methods that are virtual are virtual for mocking.