Skip License Release tests when there is no usage table
Bug: 330364107 Merged from https://widevine-internal-review.googlesource.com/194574 Change-Id: I25db60e239b157d736d89506280c3d218215fb6f
This commit is contained in:
committed by
ce-cdm-ci-builder
parent
7cc19077ca
commit
c001e2f5a4
@@ -173,6 +173,9 @@ TEST_F(CorePIGTest, OfflineHWSecureRequired) {
|
||||
// Should be able to request license, perform playback, generate a license
|
||||
// release, and receive the release response.
|
||||
TEST_F(CorePIGTest, LicenseRelease1) {
|
||||
if (!wvoec::global_features.usage_table) {
|
||||
GTEST_SKIP() << "Test for usage table devices only.";
|
||||
}
|
||||
LicenseHolder holder("CDM_UnlimitedStreaming_can_persist", &cdm_engine_,
|
||||
config_);
|
||||
holder.set_can_persist(true);
|
||||
@@ -194,6 +197,9 @@ TEST_F(CorePIGTest, LicenseRelease1) {
|
||||
// Should be able to request license, wait some time, generate a license
|
||||
// release, and receive the release response.
|
||||
TEST_F(CorePIGTest, LicenseRelease2) {
|
||||
if (!wvoec::global_features.usage_table) {
|
||||
GTEST_SKIP() << "Test for usage table devices only.";
|
||||
}
|
||||
LicenseHolder holder("CDM_UnlimitedStreaming_can_persist", &cdm_engine_,
|
||||
config_);
|
||||
holder.set_can_persist(true);
|
||||
|
||||
Reference in New Issue
Block a user