Test Cleanup
Some tests code was not correctly merged from the widevine side. An initializer in generic_crypto_unittest.cpp was missed in http://go/wvgerrit/23767 bug: 35951647 Change-Id: I2f7052b621989a032179346edf43dcaf6cb7d921
This commit is contained in:
@@ -701,7 +701,6 @@ bool DeviceFiles::RetrieveUsageInfo(const std::string& usage_info_file_name,
|
|||||||
bool DeviceFiles::RetrieveUsageInfo(const std::string& usage_info_file_name,
|
bool DeviceFiles::RetrieveUsageInfo(const std::string& usage_info_file_name,
|
||||||
const std::string& provider_session_token,
|
const std::string& provider_session_token,
|
||||||
CdmUsageData* usage_data) {
|
CdmUsageData* usage_data) {
|
||||||
|
|
||||||
if (!initialized_) {
|
if (!initialized_) {
|
||||||
LOGW("DeviceFiles::RetrieveUsageInfo: not initialized");
|
LOGW("DeviceFiles::RetrieveUsageInfo: not initialized");
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ namespace wvcdm {
|
|||||||
|
|
||||||
class WvGenericOperationsTest : public testing::Test {
|
class WvGenericOperationsTest : public testing::Test {
|
||||||
public:
|
public:
|
||||||
|
WvGenericOperationsTest() : crypto_session_(NULL) {}
|
||||||
|
|
||||||
virtual void SetUp() {
|
virtual void SetUp() {
|
||||||
::testing::Test::SetUp();
|
::testing::Test::SetUp();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user