Add clang-tidy support for the CDM
Bug: 256230932 Change-Id: Id3fcf024cd7dcf95218876b81359d6418f5aa067
This commit is contained in:
@@ -190,7 +190,6 @@ using video_widevine::WidevinePsshData_EntitledKey;
|
||||
// gmock methods
|
||||
using ::testing::_;
|
||||
using ::testing::DoAll;
|
||||
using ::testing::Eq;
|
||||
using ::testing::NotNull;
|
||||
using ::testing::PrintToStringParamName;
|
||||
using ::testing::Return;
|
||||
@@ -229,11 +228,11 @@ class CdmLicenseTest : public WvCdmTestBase {
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
if (cdm_license_) delete cdm_license_;
|
||||
if (policy_engine_) delete policy_engine_;
|
||||
if (init_data_) delete init_data_;
|
||||
if (crypto_session_) delete crypto_session_;
|
||||
if (clock_) delete clock_;
|
||||
delete cdm_license_;
|
||||
delete policy_engine_;
|
||||
delete init_data_;
|
||||
delete crypto_session_;
|
||||
delete clock_;
|
||||
}
|
||||
|
||||
virtual void CreateCdmLicense() {
|
||||
|
||||
Reference in New Issue
Block a user