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:
Vicky Min
2023-07-07 17:49:31 +00:00
committed by Robert Shih
parent 2bdea1767f
commit 3ee5d69a91

View File

@@ -25,6 +25,9 @@ namespace wvoec {
class OEMCryptoAndroidLMPTest : public ::testing::Test {
protected:
void SetUp() override {
if (OEMCrypto_GetProvisioningMethod() == OEMCrypto_BootCertificateChain) {
GTEST_SKIP() << "Test for non Prov 4.0 devices only.";
}
OEMCrypto_SetSandbox(kTestSandbox, sizeof(kTestSandbox));
ASSERT_EQ(OEMCrypto_SUCCESS, OEMCrypto_Initialize());
OEMCrypto_SetMaxAPIVersion(kCurrentAPI);