Home
last modified time | relevance | path

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

/system/core/init/
Dtokenizer_test.cpp29 void RunTest(const std::string& data, const std::vector<std::vector<std::string>>& expected_tokens)… in RunTest() function
61 RunTest("", {{}}); in TEST()
65 RunTest("one two\tthree\rfour", {{"one", "two", "three", "four"}}); in TEST()
69 RunTest("1 2 3\n4 5 6\n7 8 9", {{"1", "2", "3"}, {"4", "5", "6"}, {"7", "8", "9"}}); in TEST()
74 RunTest(" 1 2 3\n\t\t\t\t4 5 6\n\r\r\r\r7 8 9", in TEST()
80 RunTest("1 2 3\n#4 5 6\n7 8 9", {{"1", "2", "3"}, {}, {"7", "8", "9"}}); in TEST()
82 RunTest("#1 2 3\n4 5 6\n7 8 9", {{}, {"4", "5", "6"}, {"7", "8", "9"}}); in TEST()
84 RunTest("1 2 3\n4 5 6\n#7 8 9", {{"1", "2", "3"}, {"4", "5", "6"}, {}}); in TEST()
86 RunTest("1 2 #3\n4 #5 6\n#7 8 9", {{"1", "2"}, {"4"}, {}}); in TEST()
93 RunTest(R"(1 token\ntoken 2)", {{"1", "token\ntoken", "2"}}); in TEST()
[all …]
Dfirmware_handler_test.cpp113 #define RunTest(testname) \ in FirmwareTestChildMain() macro
118 RunTest(HandleChange); in FirmwareTestChildMain()
119 RunTest(HandleAbort); in FirmwareTestChildMain()
120 RunTest(HandleFailure); in FirmwareTestChildMain()
121 RunTest(HandleBadPath); in FirmwareTestChildMain()
123 #undef RunTest in FirmwareTestChildMain()
Dsubcontext_test.cpp43 void RunTest(F&& test_function) { in RunTest() function
56 RunTest([](auto& subcontext) { in TEST()
74 RunTest([](auto& subcontext) { in TEST()
91 RunTest([](auto& subcontext) { in TEST()
118 RunTest([](auto& subcontext) { in TEST()
132 RunTest([](auto& subcontext) { in TEST()
143 RunTest([](auto& subcontext) { in TEST()
152 RunTest([](auto& subcontext) { in TEST()
168 RunTest([](auto& subcontext) { in TEST()
/system/testing/gtest_extras/tests/
DSystemTests.cpp78 void RunTest(const std::string& test_name, std::vector<const char*> extra_args = {});
214 void SystemTests::RunTest(const std::string& test_name, std::vector<const char*> extra_args) { in RunTest() function in android::gtest_extras::SystemTests
236 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in RunTestCaptureFooter()
254 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in Verify()
264 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in VerifySortedOutput()
707 ASSERT_NO_FATAL_FAILURE(RunTest("*.DISABLED_fail_*")); in TEST_F()
780 ASSERT_NO_FATAL_FAILURE(RunTest("*.DISABLED_pass", std::vector<const char*>{arg})); in TEST_F()
797 RunTest("*.DISABLED_pass", std::vector<const char*>{arg, "--gtest_color=yes"})); in TEST_F()
915 ASSERT_NO_FATAL_FAILURE(RunTest("*.DISABLED_xml_*", std::vector<const char*>{tmp_arg.c_str()})); in TEST_F()
/system/update_engine/payload_generator/
Dfull_update_generator_unittest.cc70 TEST_F(FullUpdateGeneratorTest, RunTest) { in TEST_F() argument