Searched refs:expected_error (Results 1 – 6 of 6) sorted by relevance
/system/tools/aidl/ |
D | options_unittest.cpp | 230 string expected_error = "Output directory is not set. Set with --out."; in TEST() local 242 EXPECT_THAT(GetCapturedStderr(), testing::HasSubstr(expected_error)); in TEST() 246 string expected_error = "Header output directory is set, which does not make sense for Java."; in TEST() local 255 EXPECT_THAT(GetCapturedStderr(), testing::HasSubstr(expected_error)); in TEST() 288 string expected_error = "Output directory is not set. Set with --out."; in TEST() local 300 EXPECT_THAT(GetCapturedStderr(), testing::HasSubstr(expected_error)); in TEST() 305 string expected_error = "Header output directory is not set. Set with --header_out"; in TEST() local 318 EXPECT_THAT(GetCapturedStderr(), testing::HasSubstr(expected_error)); in TEST() 323 string expected_error = "Output directory is not set. Set with --out"; in TEST() local 335 EXPECT_THAT(GetCapturedStderr(), testing::HasSubstr(expected_error)); in TEST() [all …]
|
D | io_delegate_unittest.cpp | 31 string expected_error = in TEST() local 37 EXPECT_EQ(expected_error, GetCapturedStderr()); in TEST()
|
D | aidl_unittest.cpp | 3215 string expected_error = in TEST_F() local 3221 EXPECT_EQ(expected_error, GetCapturedStderr()); in TEST_F() 3236 string expected_error = in TEST_F() local 3242 EXPECT_EQ(expected_error, GetCapturedStderr()); in TEST_F() 3248 string expected_error = in TEST_F() local 3254 EXPECT_EQ(expected_error, GetCapturedStderr()); in TEST_F() 3260 string expected_error = in TEST_F() local 3266 EXPECT_EQ(expected_error, GetCapturedStderr()); in TEST_F()
|
/system/tools/sysprop/tests/ |
D | InvalidSyspropTest.cpp | 220 for (auto [test_case, expected_error] : kTestCasesAndExpectedErrors) { in TEST() 224 EXPECT_EQ(res.error().message(), expected_error); in TEST()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 381 ErrorCode expected_error, actual_error; in DoMetadataSignatureTest() local 391 expected_error = ErrorCode::kDownloadMetadataSignatureMissingError; in DoMetadataSignatureTest() 397 expected_error = ErrorCode::kDownloadMetadataSignatureMismatch; in DoMetadataSignatureTest() 412 expected_error = ErrorCode::kSuccess; in DoMetadataSignatureTest() 419 expected_error = ErrorCode::kSuccess; in DoMetadataSignatureTest() 428 EXPECT_EQ(expected_error, actual_error); in DoMetadataSignatureTest()
|
D | delta_performer_integration_test.cc | 838 ErrorCode expected_error, actual_error; in ApplyDeltaFile() local 847 expected_error = ErrorCode::kDownloadOperationHashMismatch; in ApplyDeltaFile() 855 expected_error = ErrorCode::kSuccess; in ApplyDeltaFile() 875 EXPECT_EQ(expected_error, actual_error); in ApplyDeltaFile()
|