Home
last modified time | relevance | path

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

/system/tools/aidl/
Doptions_unittest.cpp230 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 …]
Dio_delegate_unittest.cpp31 string expected_error = in TEST() local
37 EXPECT_EQ(expected_error, GetCapturedStderr()); in TEST()
Daidl_unittest.cpp3215 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/
DInvalidSyspropTest.cpp220 for (auto [test_case, expected_error] : kTestCasesAndExpectedErrors) { in TEST()
224 EXPECT_EQ(res.error().message(), expected_error); in TEST()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc381 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()
Ddelta_performer_integration_test.cc838 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()