Temporarily remove json dependency in oemcrypto v18 unit test
Disable one oemcrypto v18 unit test which takes nlohmann-json dependency for now, until the json dependency is fixed. Test: build widevine and oemcrypto unit tests Bug: 263397641 Change-Id: I065b28a81cc481b2b64bda27733640e0fdea0c2c
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
#include "OEMCryptoCENC.h"
|
||||
#include "clock.h"
|
||||
#include "log.h"
|
||||
#include "nlohmann/json.hpp"
|
||||
#include "oec_decrypt_fallback_chain.h"
|
||||
#include "oec_device_features.h"
|
||||
#include "oec_extra_test_keys.h"
|
||||
@@ -70,7 +69,6 @@ using ::testing::tuple;
|
||||
using ::testing::Values;
|
||||
using ::testing::WithParamInterface;
|
||||
using namespace std;
|
||||
using json = nlohmann::json;
|
||||
|
||||
namespace std { // GTest wants PrintTo to be in the std namespace.
|
||||
void PrintTo(const tuple<OEMCrypto_CENCEncryptPatternDesc, OEMCryptoCipherMode,
|
||||
@@ -448,6 +446,8 @@ TEST_F(OEMCryptoClientTest, CheckNullBuildInformationAPI17) {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(b/263397641): Re-enable this when json dependency is resolved.
|
||||
/*
|
||||
TEST_F(OEMCryptoClientTest, CheckJsonBuildInformationAPI18) {
|
||||
std::string build_info;
|
||||
OEMCryptoResult sts = OEMCrypto_BuildInformation(&build_info[0], nullptr);
|
||||
@@ -481,6 +481,7 @@ TEST_F(OEMCryptoClientTest, CheckJsonBuildInformationAPI18) {
|
||||
ASSERT_TRUE(parsed.contains("tee_os_ver"));
|
||||
ASSERT_TRUE(parsed["tee_os_ver"].is_string());
|
||||
}
|
||||
*/
|
||||
|
||||
TEST_F(OEMCryptoClientTest, CheckMaxNumberOfSessionsAPI10) {
|
||||
size_t sessions_count;
|
||||
|
||||
Reference in New Issue
Block a user