From 45681615b8287ec678239d297dc433590a12bdb3 Mon Sep 17 00:00:00 2001 From: Fred Gylys-Colwell Date: Sat, 30 May 2020 20:51:53 -0700 Subject: [PATCH] Update OEMCrypto unit tests to require ODK 16.3 Merge from Widevine repo of http://go/wvgerrit/101144 This CL updates the version string of the oemcrypto unit tests. Test: unit tests on taimen and with reference oemcrypto v16. Bug: 156789529 Change-Id: I504a32f0c3781870052b58d30312c58e090b145c --- libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp index 59708cf6..b04eba28 100644 --- a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp +++ b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp @@ -154,13 +154,13 @@ class OEMCryptoClientTest : public ::testing::Test, public SessionUtil { // tests are failing when the device has the wrong keybox installed. TEST_F(OEMCryptoClientTest, VersionNumber) { 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"; LOGI("%s", log_message.c_str()); // If any of the following fail, then it is time to update the log message // above. EXPECT_EQ(ODK_MAJOR_VERSION, 16); - EXPECT_EQ(ODK_MINOR_VERSION, 2); + EXPECT_EQ(ODK_MINOR_VERSION, 3); EXPECT_EQ(kCurrentAPI, 16u); const char* level = OEMCrypto_SecurityLevel(); ASSERT_NE(nullptr, level);