[ Merge of http://go/wvgerrit/108064 ] The Widevine License Agreement has been renamed to use inclusive language. This covers files in the core directory. Bug: 168562298 Test: verified compilation (comment only change) Change-Id: I8ae5a10cbfdf7faae6a2735e57b33729763f10b8
23 lines
863 B
C++
23 lines
863 B
C++
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine License
|
|
// Agreement.
|
|
// This file adds some print methods so that when unit tests fail, the
|
|
// will print the name of an enumeration instead of the numeric value.
|
|
|
|
#ifndef CDM_TEST_PRINTERS_H_
|
|
#define CDM_TEST_PRINTERS_H_
|
|
|
|
#include <iostream>
|
|
#include "OEMCryptoCENC.h"
|
|
#include "wv_cdm_types.h"
|
|
|
|
namespace wvcdm {
|
|
void PrintTo(const enum CdmResponseType& value, ::std::ostream* os);
|
|
void PrintTo(const enum CdmLicenseType& value, ::std::ostream* os);
|
|
void PrintTo(const enum CdmSecurityLevel& value, ::std::ostream* os);
|
|
void PrintTo(const enum CdmCertificateType& value, ::std::ostream* os);
|
|
void PrintTo(const enum OEMCryptoResult& value, ::std::ostream* os);
|
|
} // namespace wvcdm
|
|
|
|
#endif // CDM_TEST_PRINTERS_H_
|