Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/tests/unit/
Dedify_test.cpp24 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 …]
Dupdater_test.cpp61 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/
DUpdateConfigTest.java96 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/
DPayloadSpecsTest.java96 thrown.expect(IOException.class); in forNonStreaming_IOException()
/bootable/recovery/tests/testdata/
Drecovery_body163 ro.build.expect.bootloader=angler-03.62
164 ro.build.expect.baseband=angler-03.76