Source release 15.0.0
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
// License Agreement.
|
||||
|
||||
#include <assert.h>
|
||||
#include <getopt.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <time.h>
|
||||
|
||||
@@ -14,13 +13,12 @@
|
||||
#include "cdm.h"
|
||||
#include "device_cert.h"
|
||||
#include "log.h"
|
||||
#include "override.h"
|
||||
#include "test_host.h"
|
||||
#include "test_base.h"
|
||||
#include "test_host.h"
|
||||
|
||||
using namespace widevine;
|
||||
|
||||
TestHost* g_host = NULL;
|
||||
TestHost* g_host = nullptr;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// Init gtest and let it consume arguments.
|
||||
@@ -51,9 +49,9 @@ int main(int argc, char** argv) {
|
||||
#endif
|
||||
client_info.build_info = __DATE__;
|
||||
|
||||
Cdm::Status status = Cdm::initialize(
|
||||
Cdm::kNoSecureOutput, client_info, g_host, g_host, g_host,
|
||||
static_cast<Cdm::LogLevel>(wvcdm::g_cutoff));
|
||||
Cdm::Status status =
|
||||
Cdm::initialize(Cdm::kNoSecureOutput, client_info, g_host, g_host, g_host,
|
||||
static_cast<Cdm::LogLevel>(wvcdm::g_cutoff));
|
||||
(void)status; // status is now used when assertions are turned off.
|
||||
assert(status == Cdm::kSuccess);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user