Disable Android Keybox tests for prov 4.0
Bug: 288404945 Merged from https://widevine-internal-review.googlesource.com/178053 Change-Id: I339e7089efaa5082aae348f26ee853d7993fe1d3
This commit is contained in:
@@ -25,6 +25,9 @@ namespace wvoec {
|
|||||||
class OEMCryptoAndroidLMPTest : public ::testing::Test {
|
class OEMCryptoAndroidLMPTest : public ::testing::Test {
|
||||||
protected:
|
protected:
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
|
if (OEMCrypto_GetProvisioningMethod() == OEMCrypto_BootCertificateChain) {
|
||||||
|
GTEST_SKIP() << "Test for non Prov 4.0 devices only.";
|
||||||
|
}
|
||||||
OEMCrypto_SetSandbox(kTestSandbox, sizeof(kTestSandbox));
|
OEMCrypto_SetSandbox(kTestSandbox, sizeof(kTestSandbox));
|
||||||
ASSERT_EQ(OEMCrypto_SUCCESS, OEMCrypto_Initialize());
|
ASSERT_EQ(OEMCrypto_SUCCESS, OEMCrypto_Initialize());
|
||||||
OEMCrypto_SetMaxAPIVersion(kCurrentAPI);
|
OEMCrypto_SetMaxAPIVersion(kCurrentAPI);
|
||||||
|
|||||||
Reference in New Issue
Block a user