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,
|
||||
const std::string& provider_session_token,
|
||||
CdmUsageData* usage_data) {
|
||||
|
||||
if (!initialized_) {
|
||||
LOGW("DeviceFiles::RetrieveUsageInfo: not initialized");
|
||||
return false;
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace wvcdm {
|
||||
|
||||
class WvGenericOperationsTest : public testing::Test {
|
||||
public:
|
||||
WvGenericOperationsTest() : crypto_session_(NULL) {}
|
||||
|
||||
virtual void SetUp() {
|
||||
::testing::Test::SetUp();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user