Searched refs:expect (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/tests/unit/ |
D | edify_test.cpp | 24 static void expect(const std::string& expr_str, const char* expected) { in expect() function 50 expect("a", "a"); in TEST_F() 51 expect("\"a\"", "a"); in TEST_F() 52 expect("\"\\x61\"", "a"); in TEST_F() 53 expect("# this is a comment\n" in TEST_F() 61 expect("a; b; c", "c"); in TEST_F() 66 expect("a + b", "ab"); in TEST_F() 67 expect("a + \n \"b\"", "ab"); in TEST_F() 68 expect("a + b +\nc\n", "abc"); in TEST_F() 71 expect("concat(a, b)", "ab"); in TEST_F() [all …]
|
D | updater_test.cpp | 61 static void expect(const char* expected, const std::string& expr_str, CauseCode cause_code, in expect() function 87 static void expect(const char* expected, const std::string& expr_str, CauseCode cause_code) { in expect() function 89 expect(expected, expr_str, cause_code, &updater); in expect() 238 expect(android::base::GetProperty("ro.product.device", "").c_str(), in TEST_F() 242 expect(android::base::GetProperty("ro.build.fingerprint", "").c_str(), in TEST_F() 247 expect(nullptr, "getprop()", kArgsParsingFailure); in TEST_F() 248 expect(nullptr, "getprop(\"arg1\", \"arg2\")", kArgsParsingFailure); in TEST_F() 253 expect(nullptr, "patch_partition_check()", kArgsParsingFailure); in TEST_F() 270 expect(nullptr, "patch_partition_check(\"" + source.ToString() + "\")", kArgsParsingFailure); in TEST_F() 271 expect(nullptr, "patch_partition_check(\"" + target.ToString() + "\")", kArgsParsingFailure); in TEST_F() [all …]
|
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/ |
D | UpdateConfigTest.java | 96 thrown.expect(RuntimeException.class); in getUpdatePackageFile_throwsErrorIfStreaming() 109 thrown.expect(RuntimeException.class); in getUpdatePackageFile_throwsErrorIfNotAFile()
|
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/ |
D | PayloadSpecsTest.java | 96 thrown.expect(IOException.class); in forNonStreaming_IOException()
|
/bootable/recovery/tests/testdata/ |
D | recovery_body | 163 ro.build.expect.bootloader=angler-03.62 164 ro.build.expect.baseband=angler-03.76
|