Home
last modified time | relevance | path

Searched refs:test_case (Results 1 – 25 of 132) sorted by relevance

123456

/external/google-breakpad/src/processor/
Dstatic_map_unittest.cc187 void IteratorTester(int test_case) { in IteratorTester() argument
189 iter_test = test_map[test_case].begin(); in IteratorTester()
190 iter_std = std_map[test_case].begin(); in IteratorTester()
192 for (; iter_test != test_map[test_case].end() && in IteratorTester()
193 iter_std != std_map[test_case].end(); in IteratorTester()
198 ASSERT_TRUE(iter_test == test_map[test_case].end() in IteratorTester()
199 && iter_std == std_map[test_case].end()); in IteratorTester()
202 if (!std_map[test_case].empty()) { in IteratorTester()
204 iter_test = test_map[test_case].end(); in IteratorTester()
205 iter_std = std_map[test_case].end(); in IteratorTester()
[all …]
Dstatic_range_map_unittest.cc193 void RunTestCase(int test_case);
352 void TestStaticRangeMap::RunTestCase(int test_case) { in RunTestCase() argument
357 const RangeTest* range_tests = range_test_sets[test_case].range_tests; in RunTestCase()
358 unsigned int range_test_count = range_test_sets[test_case].range_test_count; in RunTestCase()
387 RetrieveIndexTest(static_range_map.get(), test_case); in RunTestCase()
391 int test_case = 0; in TEST_F() local
392 RunTestCase(test_case); in TEST_F()
396 int test_case = 1; in TEST_F() local
397 RunTestCase(test_case); in TEST_F()
401 int test_case = 2; in TEST_F() local
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtest_util.py386 def ExpectAllFieldsSet(test_case, message): argument
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/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-unittest-api_test.cc76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase() local
77 if (0 == strcmp(test_case->name(), name)) in FindTestCase()
78 return test_case; in FindTestCase()
86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { in GetSortedTests() argument
88 new const TestInfo*[test_case->total_test_count()]; in GetSortedTests()
90 for (int i = 0; i < test_case->total_test_count(); ++i) in GetSortedTests()
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); in TEST() local
149 ASSERT_TRUE(test_case != NULL); in TEST()
[all …]
Dgtest_shuffle_test.py123 test_case = test.split('.')[0]
124 if not test_case in test_cases:
125 test_cases.append(test_case)
248 [test_case, _] = test.split('.')
249 if test_cases and test_cases[-1] != test_case:
250 test_cases.append(test_case)
251 self.assertEqual(1, test_cases.count(test_case),
253 (test_case, tests))
/external/googletest/googletest/test/
Dgtest-unittest-api_test.cc76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase() local
77 if (0 == strcmp(test_case->name(), name)) in FindTestCase()
78 return test_case; in FindTestCase()
86 static TestInfo const** GetSortedTests(const TestCase* test_case) { in GetSortedTests() argument
88 new const TestInfo*[test_case->total_test_count()]; in GetSortedTests()
90 for (int i = 0; i < test_case->total_test_count(); ++i) in GetSortedTests()
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); in TEST() local
149 ASSERT_TRUE(test_case != NULL); in TEST()
[all …]
Dgtest_shuffle_test.py123 test_case = test.split('.')[0]
124 if not test_case in test_cases:
125 test_cases.append(test_case)
248 [test_case, _] = test.split('.')
249 if test_cases and test_cases[-1] != test_case:
250 test_cases.append(test_case)
251 self.assertEqual(1, test_cases.count(test_case),
253 (test_case, tests))
/external/google-breakpad/src/testing/gtest/test/
Dgtest-unittest-api_test.cc76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase() local
77 if (0 == strcmp(test_case->name(), name)) in FindTestCase()
78 return test_case; in FindTestCase()
86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { in GetSortedTests() argument
88 new const TestInfo*[test_case->total_test_count()]; in GetSortedTests()
90 for (int i = 0; i < test_case->total_test_count(); ++i) in GetSortedTests()
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); in TEST() local
149 ASSERT_TRUE(test_case != NULL); in TEST()
[all …]
Dgtest_shuffle_test.py124 test_case = test.split('.')[0]
125 if not test_case in test_cases:
126 test_cases.append(test_case)
249 [test_case, _] = test.split('.')
250 if test_cases and test_cases[-1] != test_case:
251 test_cases.append(test_case)
252 self.assertEqual(1, test_cases.count(test_case),
254 (test_case, tests))
/external/v8/testing/gtest/test/
Dgtest-unittest-api_test.cc76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase() local
77 if (0 == strcmp(test_case->name(), name)) in FindTestCase()
78 return test_case; in FindTestCase()
86 static TestInfo const** GetSortedTests(const TestCase* test_case) { in GetSortedTests() argument
88 new const TestInfo*[test_case->total_test_count()]; in GetSortedTests()
90 for (int i = 0; i < test_case->total_test_count(); ++i) in GetSortedTests()
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); in TEST() local
149 ASSERT_TRUE(test_case != NULL); in TEST()
[all …]
Dgtest_shuffle_test.py123 test_case = test.split('.')[0]
124 if not test_case in test_cases:
125 test_cases.append(test_case)
248 [test_case, _] = test.split('.')
249 if test_cases and test_cases[-1] != test_case:
250 test_cases.append(test_case)
251 self.assertEqual(1, test_cases.count(test_case),
253 (test_case, tests))
/external/protobuf/gtest/test/
Dgtest-unittest-api_test.cc76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase() local
77 if (0 == strcmp(test_case->name(), name)) in FindTestCase()
78 return test_case; in FindTestCase()
86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { in GetSortedTests() argument
88 new const TestInfo*[test_case->total_test_count()]; in GetSortedTests()
90 for (int i = 0; i < test_case->total_test_count(); ++i) in GetSortedTests()
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
147 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); in TEST() local
148 ASSERT_TRUE(test_case != NULL); in TEST()
[all …]
Dgtest_shuffle_test.py123 test_case = test.split('.')[0]
124 if not test_case in test_cases:
125 test_cases.append(test_case)
248 [test_case, _] = test.split('.')
249 if test_cases and test_cases[-1] != test_case:
250 test_cases.append(test_case)
251 self.assertEqual(1, test_cases.count(test_case),
253 (test_case, tests))
/external/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect01.c50 struct test_case { struct
55 void (*setupfunc) (struct test_case *self); argument
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) in setup1()
126 static void setup2(struct test_case *self) in setup2()
137 static void setup3(struct test_case *self) in setup3()
/external/libchrome/base/
Dfeature_list_unittest.cc91 const auto& test_case = test_cases[i]; in TEST_F() local
93 test_case.enable_features, in TEST_F()
94 test_case.disable_features)); in TEST_F()
98 feature_list->InitializeFromCommandLine(test_case.enable_features, in TEST_F()
99 test_case.disable_features); in TEST_F()
102 EXPECT_EQ(test_case.expected_feature_on_state, in TEST_F()
105 EXPECT_EQ(test_case.expected_feature_off_state, in TEST_F()
147 const auto& test_case = test_cases[i]; in TEST_F() local
158 test_case.trial1_state, trial1); in TEST_F()
160 test_case.trial2_state, trial2); in TEST_F()
[all …]
/external/r8/tools/
Dcompare_cts_results.py29 for test_case_name, test_case in self.test_cases.iteritems():
30 if test_case.bf_covered_in_file != bf_all_files:
32 test_case.bf_covered_in_file, files)
33 for test_case_name, test_case in self.test_cases.iteritems():
34 test_case.report(module_name, test_case_name, files, diff_only)
95 test_case = None
101 test_case = module.get_test_case_maybe_create(x.name)
102 test_case.set_file_index_present(file_idx)
105 v = test_case.get_test_maybe_create(x.name)
/external/sfntly/cpp/src/test/
Dcmap_test.cc104 ::std::ostream& operator<<(::std::ostream& os, const CMapTestCase *test_case) { in operator <<() argument
106 << test_case->font_name() << ", " in operator <<()
107 << test_case->first_platform_id() << ", " in operator <<()
108 << test_case->first_encoding_id() << ", " in operator <<()
109 << test_case->first_charset_name() << ", " in operator <<()
110 << test_case->second_platform_id() << ", " in operator <<()
111 << test_case->second_encoding_id() << ", " in operator <<()
112 << test_case->second_charset_name() << ", " in operator <<()
113 << test_case->low_char() << ", " in operator <<()
114 << test_case->high_char() << ")"; in operator <<()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c85 static void mknod_verify(const struct test_case_t *test_case);
153 static void mknod_verify(const struct test_case_t *test_case) in mknod_verify() argument
155 TEST(mknod(test_case->pathname, test_case->mode, 0)); in mknod_verify()
162 if (TEST_ERRNO == test_case->exp_errno) { in mknod_verify()
167 "%d - %s", test_case->exp_errno, in mknod_verify()
168 strerror(test_case->exp_errno)); in mknod_verify()
/external/autotest/server/site_tests/android_ACTS/
Dcontrol13 This test runs ACTS against a inputed config_file, test_bed, test_case.
19 test_case = args_dict.get('test_case')
25 test_case=test_case, test_file=test_file)
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode_unittest.cpp101 const auto& test_case = test_data[i]; in TEST() local
102 CFX_ByteString output = PDF_EncodeText(test_case.input); in TEST()
103 ASSERT_EQ(test_case.expected_length, output.GetLength()) << "for case " in TEST()
106 for (FX_STRSIZE j = 0; j < test_case.expected_length; ++j) { in TEST()
107 EXPECT_EQ(test_case.expected_output[j], str_ptr[j]) << "for case " << i in TEST()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc324 static bool TestCasePassed(const TestCase* test_case) { in TestCasePassed() argument
325 return test_case->should_run() && test_case->Passed(); in TestCasePassed()
329 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed() argument
330 return test_case->should_run() && test_case->Failed(); in TestCaseFailed()
335 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase() argument
336 return test_case->should_run(); in ShouldRunTestCase()
1953 const TestCase* const test_case = impl->current_test_case(); in HasSameFixtureClass() local
1956 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass()
2660 static void PrintTestName(const char * test_case, const char * test) { in PrintTestName() argument
2661 printf("%s.%s", test_case, test); in PrintTestName()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc324 static bool TestCasePassed(const TestCase* test_case) { in TestCasePassed() argument
325 return test_case->should_run() && test_case->Passed(); in TestCasePassed()
329 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed() argument
330 return test_case->should_run() && test_case->Failed(); in TestCaseFailed()
335 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase() argument
336 return test_case->should_run(); in ShouldRunTestCase()
1953 const TestCase* const test_case = impl->current_test_case(); in HasSameFixtureClass() local
1956 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass()
2661 static void PrintTestName(const char * test_case, const char * test) { in PrintTestName() argument
2662 printf("%s.%s", test_case, test); in PrintTestName()
[all …]
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc325 static bool TestCasePassed(const TestCase* test_case) { in TestCasePassed() argument
326 return test_case->should_run() && test_case->Passed(); in TestCasePassed()
330 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed() argument
331 return test_case->should_run() && test_case->Failed(); in TestCaseFailed()
336 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase() argument
337 return test_case->should_run(); in ShouldRunTestCase()
1954 const TestCase* const test_case = impl->current_test_case(); in HasSameFixtureClass() local
1957 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass()
2690 static void PrintTestName(const char * test_case, const char * test) { in PrintTestName() argument
2691 printf("%s.%s", test_case, test); in PrintTestName()
[all …]
/external/protobuf/gtest/src/
Dgtest.cc313 static bool TestCasePassed(const TestCase* test_case) { in TestCasePassed() argument
314 return test_case->should_run() && test_case->Passed(); in TestCasePassed()
318 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed() argument
319 return test_case->should_run() && test_case->Failed(); in TestCaseFailed()
324 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase() argument
325 return test_case->should_run(); in ShouldRunTestCase()
1990 const TestCase* const test_case = impl->current_test_case(); in HasSameFixtureClass() local
1994 test_case->test_info_list()[0]->impl(); in HasSameFixtureClass()
2666 static void PrintTestName(const char * test_case, const char * test) { in PrintTestName() argument
2667 printf("%s.%s", test_case, test); in PrintTestName()
[all …]
/external/autotest/server/site_tests/audio_AudioAfterSuspend/
Daudio_AudioAfterSuspend.py63 plugged_before_resume, test_case): argument
80 self.errors.append("%s - %s" % (test_case, str(ex)))
90 self.errors.append("%s - %s" % (test_case, str(ex)))
248 test_case = ('TEST CASE %d: %s > suspend > %s > %s > resume > %s' %
253 logging.info(test_case)
261 test_case)
275 (test_case, error_message))

123456