21 lines
753 B
C++
21 lines
753 B
C++
// Copyright 2021 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine License
|
|
// Agreement.
|
|
|
|
#ifndef WVCDM_CDM_TEST_CDM_TEST_RUNNER_H_
|
|
#define WVCDM_CDM_TEST_CDM_TEST_RUNNER_H_
|
|
|
|
#include <iostream>
|
|
#include "cdm.h"
|
|
|
|
namespace CDM_NAMESPACE {
|
|
// Run all CDM tests using the specified storage, clock, and timer. It parses
|
|
// standard command line arguments, sets some default test client info,
|
|
// initializes a CDM object, and then runs all the tests.
|
|
// Returns 0 on success.
|
|
int Main(Cdm::IStorage* storage, Cdm::IClock* clock, Cdm::ITimer* timer,
|
|
Cdm::ILogger* logger, int argc, char** argv);
|
|
} // namespace CDM_NAMESPACE
|
|
|
|
#endif // WVCDM_CDM_TEST_CDM_TEST_RUNNER_H_
|