// 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 #include "cdm.h" namespace widevine { // 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 widevine #endif // WVCDM_CDM_TEST_CDM_TEST_RUNNER_H_