/aosp12/system/chre/test/common/ |
H A D | run_tests.cc | 44 void TestCaseStart(const TestCase &test_case) override { in TestCaseStart() argument 45 LOGD("[ RUN ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseStart() 48 void TestCaseEnd(const TestCase &test_case, TestResult result) override { in TestCaseEnd() argument 51 LOGD("[ OK ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseEnd() 54 LOGD("[ FAILED ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseEnd() 59 void TestCaseExpect(const TestCase &test_case, in TestCaseExpect() argument 62 LOGD("%s:%d: Failure", test_case.file_name, expectation.line_number); in TestCaseExpect() 68 void TestCaseDisabled(const TestCase &test_case) override { in TestCaseDisabled() argument 69 LOGD("Skipping disabled test %s.%s", test_case.suite_name, in TestCaseDisabled() 70 test_case.test_name); in TestCaseDisabled()
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
H A D | topk_v2.mod.py | 74 for test_case in test_cases: 75 model = Model().Operation("TOPK_V2", test_case.inp, test_case.k).To( 76 test_case.out_values, test_case.out_indices) 78 test_case.inp: test_case.inp_data, 79 test_case.out_values: test_case.out_values_data, 80 test_case.out_indices: test_case.out_indices_data
|
H A D | slice.mod.py | 98 for test_case in test_cases: 99 model = Model().Operation("SLICE", test_case.inp, test_case.begin, 100 test_case.size).To(test_case.output) 102 test_case.inp: test_case.inp_data, 103 test_case.begin: test_case.begin_data, 104 test_case.size: test_case.size_data, 105 test_case.output: test_case.output_data,
|
/aosp12/art/tools/checker/file_format/checker/ |
H A D | test.py | 83 test_case = checker_file.test_cases[0] 85 return test_case.statements[0] 347 test_case = self.parse(""" 351 self.assertFalse(test_case.for_debuggable) 355 test_case = self.parse(""" 359 self.assertTrue(test_case.for_debuggable) 363 test_case = self.parse(""" 371 test_case = self.parse(""" 375 self.assertTrue(test_case.for_debuggable) 389 statement = test_case.statements[0] [all …]
|
H A D | parser.py | 237 test_case = TestCase(checker_file, case_name, start_line_no, test_arch, for_debuggable) 239 parse_checker_statement(test_case, case_line[0], case_line[1], case_line[2])
|
/aosp12/art/tools/checker/match/ |
H A D | file.py | 321 def match_test_case(test_case, c1_pass, instruction_set_features): argument 326 assert test_case.name == c1_pass.name 330 test_statements = test_case.statements + [None] 336 for test_case in checker_file.test_cases: 337 if test_case.test_arch not in [None, target_arch]: 339 if test_case.for_debuggable != debuggable_mode: 345 c1_pass = c1_file.find_pass(test_case.name) 350 c1_file.full_file_name, test_case.start_line_no, test_case.name) 352 Logger.start_test(test_case.name) 354 match_test_case(test_case, c1_pass, c1_file.instruction_set_features)
|
H A D | test.py | 32 test_case = TestCase(checker_file, "TestMethod TestPass", 0) 33 return parse_checker_statement(test_case, checker_string, TestStatement.Variant.IN_ORDER, 0)
|
/aosp12/system/tools/sysprop/tests/ |
H A D | InvalidSyspropTest.cpp | 220 for (auto [test_case, expected_error] : kTestCasesAndExpectedErrors) { in TEST() 221 ASSERT_TRUE(android::base::WriteStringToFile(test_case, file.path)); in TEST()
|
/aosp12/system/security/keystore/ |
H A D | keystore_cli_v2.cpp | 694 for (const auto& test_case : test_cases) { in BrilloPlatformTest() local 696 !base::StartsWith(test_case.name, prefix, base::CompareCase::SENSITIVE)) { in BrilloPlatformTest() 700 (base::StartsWith(test_case.name, "AES", base::CompareCase::SENSITIVE) || in BrilloPlatformTest() 701 base::StartsWith(test_case.name, "HMAC", base::CompareCase::SENSITIVE))) { in BrilloPlatformTest() 705 if (!TestKey(test_case.name, test_case.required_for_brillo_pts, in BrilloPlatformTest() 706 test_case.parameters.vector_data())) { in BrilloPlatformTest() 707 VLOG(1) << "Test failed: " << test_case.name; in BrilloPlatformTest() 718 for (const auto& test_case : test_cases) { in ListTestCases() local 719 printf("%s : %s\n", test_case.name.c_str(), in ListTestCases() 720 test_case.required_for_brillo_pts ? kBoldGreenRequired : kBoldYellowRecommended); in ListTestCases()
|
/aosp12/art/test/004-JniTest/ |
H A D | jni_test.cc | 494 void CallMethod(jobject o, jclass c, jmethodID m, bool nonstatic, const char* test_case) { in CallMethod() argument 495 printf("RUNNING %s\n", test_case); in CallMethod() 500 printf("FAILED %s due to missing exception\n", test_case); in CallMethod() 505 printf("FAILED %s due to pending exception\n", test_case); in CallMethod() 507 env_->FatalError(test_case); in CallMethod() 509 printf("PASSED %s\n", test_case); in CallMethod() 576 …llNonvirtualMethod(bool super_object, bool super_class, bool super_method, const char* test_case) { in TestnonstaticCallNonvirtualMethod() argument 590 CallMethod(o, c, m, true, test_case); in TestnonstaticCallNonvirtualMethod()
|
/aosp12/frameworks/rs/tests/lldb/tests/testcases/ |
H A D | test_allocation_dump_2_jni.py | 29 def test_case(self): member in TestAllocationDump2JNI
|
H A D | test_allocation_dump_2_cpp.py | 29 def test_case(self): member in TestAllocationDump2Cpp
|
/aosp12/system/bt/gd/packet/parser/ |
H A D | language_y.yy | 101 %type<test_case_t> test_case; 244 : test_case 250 | test_case_list ',' test_case 257 test_case
|
H A D | packet_def.cc | 1321 for (const auto& test_case : test_cases_) { in GenRustBuilderTest() local 1324 s << "b\"" << test_case << "\","; in GenRustBuilderTest()
|
/aosp12/art/dex2oat/linker/arm/ |
H A D | relative_patcher_thumb2_test.cc | 911 for (const TestCase& test_case : test_cases) { in TEST_F() local 913 TestBakerFieldWide(test_case.offset, test_case.ref_reg); in TEST_F() 927 for (const TestCase& test_case : test_cases) { in TEST_F() local 929 TestBakerFieldNarrow(test_case.offset, test_case.ref_reg); in TEST_F()
|
/aosp12/art/dex2oat/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 804 for (const TestCase& test_case : test_cases) { in TEST_F() local 806 TestNopsAdrpLdr(/*num_nops=*/ 0u, test_case.bss_begin, test_case.string_entry_offset); in TEST_F() 1136 for (const TestCase& test_case : test_cases) { in TEST_F() local 1138 TestBakerField(test_case.offset, test_case.ref_reg); in TEST_F()
|
/aosp12/system/tools/aidl/ |
H A D | aidl_unittest.cpp | 768 for (const auto& [lang, test_case] : expectations) { in TEST_P() 771 EXPECT_TRUE(io_delegate_.GetWrittenContents(test_case.output_file, &output)); in TEST_P() 772 EXPECT_THAT(output, HasSubstr(test_case.annotation)); in TEST_P()
|