Searched refs:expected_error (Results 1 – 2 of 2) sorted by relevance
174 std::string expected_error = android::base::StringPrintf( in TEST_F() local176 ASSERT_THAT(record.ReadFromFile(file_path_), HasError(WithMessage(expected_error))); in TEST_F()
69 const char* expected_error) { in VerifyModification() argument81 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()