/external/google-breakpad/src/processor/ |
static_map_unittest.cc | 187 void IteratorTester(int test_case) { 189 iter_test = test_map[test_case].begin(); 190 iter_std = std_map[test_case].begin(); 192 for (; iter_test != test_map[test_case].end() && 193 iter_std != std_map[test_case].end(); 198 ASSERT_TRUE(iter_test == test_map[test_case].end() 199 && iter_std == std_map[test_case].end()); 202 if (!std_map[test_case].empty()) { 204 iter_test = test_map[test_case].end(); 205 iter_std = std_map[test_case].end() 315 int test_case = 0; local 332 int test_case = 1; local 349 int test_case = 2; local 366 int test_case = 3; local [all...] |
static_range_map_unittest.cc | 193 void RunTestCase(int test_case); 352 void TestStaticRangeMap::RunTestCase(int test_case) { 357 const RangeTest* range_tests = range_test_sets[test_case].range_tests; 358 unsigned int range_test_count = range_test_sets[test_case].range_test_count; 387 RetrieveIndexTest(static_range_map.get(), test_case); 391 int test_case = 0; local 392 RunTestCase(test_case); 396 int test_case = 1; local 397 RunTestCase(test_case); 401 int test_case = 2 local 406 int test_case = 3; local 411 int test_case = 0; local [all...] |
/test/vts-testcase/kernel/linux_kselftest/ |
kselftest_config.py | 17 from vts.testcases.kernel.linux_kselftest import test_case 34 KSFT_CASES_PRESUBMIT = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [ 43 KSFT_CASES_STABLE = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [ 57 KSFT_CASES_STAGING = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
|
/external/protobuf/python/google/protobuf/internal/ |
test_util.py | 386 def ExpectAllFieldsSet(test_case, message): 388 test_case.assertTrue(message.HasField('optional_int32')) 389 test_case.assertTrue(message.HasField('optional_int64')) 390 test_case.assertTrue(message.HasField('optional_uint32')) 391 test_case.assertTrue(message.HasField('optional_uint64')) 392 test_case.assertTrue(message.HasField('optional_sint32')) 393 test_case.assertTrue(message.HasField('optional_sint64')) 394 test_case.assertTrue(message.HasField('optional_fixed32')) 395 test_case.assertTrue(message.HasField('optional_fixed64')) 396 test_case.assertTrue(message.HasField('optional_sfixed32') [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/external/googletest/googletest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/external/protobuf/gtest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 147 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 148 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 280 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/external/v8/testing/gtest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/external/ltp/testcases/kernel/syscalls/mprotect/ |
mprotect01.c | 50 struct test_case { struct 55 void (*setupfunc) (struct test_case *self); 60 static void setup1(struct test_case *self); 61 static void setup2(struct test_case *self); 62 static void setup3(struct test_case *self); 66 struct test_case TC[] = { 121 static void setup1(struct test_case *self) 126 static void setup2(struct test_case *self) 137 static void setup3(struct test_case *self)
|
/test/vts-testcase/kernel/ltp/ |
environment_requirement_checker.py | 76 def GetRequirements(self, test_case): 80 test_case: TestCase object, the test case to query 87 if test_case.fullname in tests) 92 if test_case.testsuite in tests) 96 def Check(self, test_case): 101 to test_case.note. 104 test_case: TestCase object, a given test case to check 109 if (test_case.requirement_state == 111 not self.TestBinaryExists(test_case)): 114 for requirement in self.GetRequirements(test_case) [all...] |
KernelLtpTest.py | 327 for test_case in settings: 328 if (test_case.is_staging or test_case.testsuite in 330 settings_singlethread.append(test_case) 332 settings_multithread.append(test_case) 358 for test_case in failed_test_set: 359 failed_multithread_tests.add(test_case) 361 for test_case in failed_multithread_tests: 364 test_case) 383 test_case = Non [all...] |
/external/ltp/testcases/kernel/syscalls/mknod/ |
mknod07.c | 85 static void mknod_verify(const struct test_case_t *test_case); 153 static void mknod_verify(const struct test_case_t *test_case) 155 TEST(mknod(test_case->pathname, test_case->mode, 0)); 162 if (TEST_ERRNO == test_case->exp_errno) { 167 "%d - %s", test_case->exp_errno, 168 strerror(test_case->exp_errno));
|
/test/vts-testcase/fuzz/template/libfuzzer_test/ |
libfuzzer_test.py | 83 def CreateCorpusDir(self, test_case): 85 corpus_dir = test_case.GetCorpusName() 88 def RunTestcase(self, test_case): 92 test_case: LibFuzzerTestCase object 94 self.PushFiles(test_case.bin_host_path) 95 self.CreateCorpusDir(test_case) 96 fuzz_cmd = test_case.GetRunCommand() 112 self.AssertTestResult(test_case, result) 114 def LogCrashReport(self, test_case): 121 test_case: LibFuzzerTestCase objec [all...] |
/external/bsdiff/ |
extents_unittest.cc | 41 for (const char* test_case : test_cases) { 43 EXPECT_FALSE(ParseExtentStr(test_case, &extents)) << "while testing case \"" 44 << test_case << "\"";
|
/external/ltp/testcases/kernel/syscalls/removexattr/ |
removexattr02.c | 46 static struct test_case { struct 59 static void verify_removexattr(struct test_case *tc); 84 static void verify_removexattr(struct test_case *tc)
|
/external/pdfium/core/fpdfapi/parser/ |
fpdf_parser_decode_unittest.cpp | 101 const auto& test_case = test_data[i]; local 102 CFX_ByteString output = PDF_EncodeText(test_case.input); 103 ASSERT_EQ(test_case.expected_length, output.GetLength()) << "for case " 106 for (FX_STRSIZE j = 0; j < test_case.expected_length; ++j) { 107 EXPECT_EQ(test_case.expected_output[j], str_ptr[j]) << "for case " << i
|
/external/libchrome/base/ |
feature_list_unittest.cc | 91 const auto& test_case = test_cases[i]; local 93 test_case.enable_features, 94 test_case.disable_features)); 98 feature_list->InitializeFromCommandLine(test_case.enable_features, 99 test_case.disable_features); 102 EXPECT_EQ(test_case.expected_feature_on_state, 105 EXPECT_EQ(test_case.expected_feature_off_state, 147 const auto& test_case = test_cases[i]; local 158 test_case.trial1_state, trial1); 160 test_case.trial2_state, trial2) 307 const auto& test_case = test_cases[i]; local [all...] |
/external/sfntly/cpp/src/test/ |
cmap_test.cc | 104 ::std::ostream& operator<<(::std::ostream& os, const CMapTestCase *test_case) { 106 << test_case->font_name() << ", " 107 << test_case->first_platform_id() << ", " 108 << test_case->first_encoding_id() << ", " 109 << test_case->first_charset_name() << ", " 110 << test_case->second_platform_id() << ", " 111 << test_case->second_encoding_id() << ", " 112 << test_case->second_charset_name() << ", " 113 << test_case->low_char() << ", " 114 << test_case->high_char() << ")" [all...] |
/external/google-breakpad/src/testing/gtest/samples/ |
sample9_unittest.cc | 143 const TestCase& test_case = *unit_test.GetTestCase(i); local 144 for (int j = 0; j < test_case.total_test_count(); ++j) { 145 const TestInfo& test_info = *test_case.GetTestInfo(j);
|
/external/googletest/googletest/samples/ |
sample9_unittest.cc | 143 const TestCase& test_case = *unit_test.GetTestCase(i); local 144 for (int j = 0; j < test_case.total_test_count(); ++j) { 145 const TestInfo& test_info = *test_case.GetTestInfo(j);
|
/external/ltp/testcases/kernel/syscalls/kcmp/ |
kcmp02.c | 51 static struct test_case { struct 71 static void kcmp_verify(const struct test_case *test); 93 static void kcmp_verify(const struct test_case *test)
|
/external/ltp/testcases/kernel/syscalls/sched_getattr/ |
sched_getattr02.c | 47 static struct test_case { struct 61 static void sched_getattr_verify(const struct test_case *test); 65 static void sched_getattr_verify(const struct test_case *test)
|