Home
last modified time | relevance | path

Searched refs:expected_error (Results 1 – 2 of 2) sorted by relevance

/art/odrefresh/
Dodr_metrics_record_test.cc174 std::string expected_error = android::base::StringPrintf( in TEST_F() local
176 ASSERT_THAT(record.ReadFromFile(file_path_), HasError(WithMessage(expected_error))); in TEST_F()
/art/libdexfile/dex/
Ddex_file_verifier_test.cc69 const char* expected_error) { in VerifyModification() argument
81 if (expected_error == nullptr) { in VerifyModification()
84 EXPECT_FALSE(success) << "Expected " << expected_error; in VerifyModification()
86 EXPECT_NE(error_msg.find(expected_error), std::string::npos) << error_msg; in VerifyModification()