Update OEMCrypto unit tests to require ODK 16.3 am: 45681615b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/11677949 Change-Id: Ic8c45cc7fce842f67777ab0a003a541fbae7f9fb
This commit is contained in:
committed by
Automerger Merge Worker
commit
d599c74011
@@ -154,13 +154,13 @@ class OEMCryptoClientTest : public ::testing::Test, public SessionUtil {
|
|||||||
// tests are failing when the device has the wrong keybox installed.
|
// tests are failing when the device has the wrong keybox installed.
|
||||||
TEST_F(OEMCryptoClientTest, VersionNumber) {
|
TEST_F(OEMCryptoClientTest, VersionNumber) {
|
||||||
const std::string log_message =
|
const std::string log_message =
|
||||||
"OEMCrypto unit tests for API 16.2. Tests last updated 2020-03-27";
|
"OEMCrypto unit tests for API 16.3. Tests last updated 2020-06-01";
|
||||||
cout << " " << log_message << "\n";
|
cout << " " << log_message << "\n";
|
||||||
LOGI("%s", log_message.c_str());
|
LOGI("%s", log_message.c_str());
|
||||||
// If any of the following fail, then it is time to update the log message
|
// If any of the following fail, then it is time to update the log message
|
||||||
// above.
|
// above.
|
||||||
EXPECT_EQ(ODK_MAJOR_VERSION, 16);
|
EXPECT_EQ(ODK_MAJOR_VERSION, 16);
|
||||||
EXPECT_EQ(ODK_MINOR_VERSION, 2);
|
EXPECT_EQ(ODK_MINOR_VERSION, 3);
|
||||||
EXPECT_EQ(kCurrentAPI, 16u);
|
EXPECT_EQ(kCurrentAPI, 16u);
|
||||||
const char* level = OEMCrypto_SecurityLevel();
|
const char* level = OEMCrypto_SecurityLevel();
|
||||||
ASSERT_NE(nullptr, level);
|
ASSERT_NE(nullptr, level);
|
||||||
|
|||||||
Reference in New Issue
Block a user