Home
last modified time | relevance | path

Searched refs:test_cases (Results 1 – 24 of 24) sorted by relevance

/external/gtest/test/
Dgtest-unittest-api_test.cc59 TestCase const** const test_cases = in GetSortedTestCases() local
63 test_cases[i] = unit_test.GetTestCase(i); in GetSortedTestCases()
65 std::sort(test_cases, in GetSortedTestCases()
66 test_cases + unit_test.total_test_case_count(), in GetSortedTestCases()
68 return test_cases; in GetSortedTestCases()
123 const TestCase** const test_cases = UnitTestHelper::GetSortedTestCases(); in TEST() local
125 EXPECT_STREQ("ApiTest", test_cases[0]->name()); in TEST()
126 EXPECT_STREQ("DISABLED_Test", test_cases[1]->name()); in TEST()
128 EXPECT_STREQ("TestCaseWithCommentTest/0", test_cases[2]->name()); in TEST()
131 delete[] test_cases; in TEST()
[all …]
Dgtest_shuffle_test.py121 test_cases = []
124 if not test_case in test_cases:
125 test_cases.append(test_case)
127 return test_cases
246 test_cases = []
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),
/external/protobuf/gtest/test/
Dgtest-unittest-api_test.cc59 TestCase const** const test_cases = in GetSortedTestCases() local
63 test_cases[i] = unit_test.GetTestCase(i); in GetSortedTestCases()
65 std::sort(test_cases, in GetSortedTestCases()
66 test_cases + unit_test.total_test_case_count(), in GetSortedTestCases()
68 return test_cases; in GetSortedTestCases()
129 const TestCase** const test_cases = UnitTestHelper::GetSortedTestCases(); in TEST() local
131 EXPECT_STREQ("ApiTest", test_cases[0]->name()); in TEST()
132 EXPECT_STREQ("DISABLED_Test", test_cases[1]->name()); in TEST()
134 EXPECT_STREQ("TestCaseWithCommentTest/0", test_cases[2]->name()); in TEST()
137 delete[] test_cases; in TEST()
[all …]
Dgtest_shuffle_test.py127 test_cases = []
130 if not test_case in test_cases:
131 test_cases.append(test_case)
133 return test_cases
252 test_cases = []
255 if test_cases and test_cases[-1] != test_case:
256 test_cases.append(test_case)
257 self.assertEqual(1, test_cases.count(test_case),
/external/chromium/testing/gtest/test/
Dgtest-unittest-api_test.cc59 TestCase const** const test_cases = in GetSortedTestCases() local
63 test_cases[i] = unit_test.GetTestCase(i); in GetSortedTestCases()
65 std::sort(test_cases, in GetSortedTestCases()
66 test_cases + unit_test.total_test_case_count(), in GetSortedTestCases()
68 return test_cases; in GetSortedTestCases()
123 const TestCase** const test_cases = UnitTestHelper::GetSortedTestCases(); in TEST() local
125 EXPECT_STREQ("ApiTest", test_cases[0]->name()); in TEST()
126 EXPECT_STREQ("DISABLED_Test", test_cases[1]->name()); in TEST()
128 EXPECT_STREQ("TestCaseWithCommentTest/0", test_cases[2]->name()); in TEST()
131 delete[] test_cases; in TEST()
[all …]
Dgtest_shuffle_test.py121 test_cases = []
124 if not test_case in test_cases:
125 test_cases.append(test_case)
127 return test_cases
246 test_cases = []
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),
/external/libvpx/libvpx/third_party/googletest/src/test/
Dgtest-unittest-api_test.cc59 TestCase const** const test_cases = in GetSortedTestCases() local
63 test_cases[i] = unit_test.GetTestCase(i); in GetSortedTestCases()
65 std::sort(test_cases, in GetSortedTestCases()
66 test_cases + unit_test.total_test_case_count(), in GetSortedTestCases()
68 return test_cases; in GetSortedTestCases()
123 const TestCase** const test_cases = UnitTestHelper::GetSortedTestCases(); in TEST() local
125 EXPECT_STREQ("ApiTest", test_cases[0]->name()); in TEST()
126 EXPECT_STREQ("DISABLED_Test", test_cases[1]->name()); in TEST()
128 EXPECT_STREQ("TestCaseWithCommentTest/0", test_cases[2]->name()); in TEST()
131 delete[] test_cases; in TEST()
[all …]
Dgtest_shuffle_test.py121 test_cases = []
124 if not test_case in test_cases:
125 test_cases.append(test_case)
127 return test_cases
246 test_cases = []
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),
/external/chromium/chrome/browser/
Dshell_integration_unittest.cc143 } test_cases[] = { in TEST() local
153 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); i++) { in TEST()
155 test_cases[i].path, in TEST()
157 GURL(test_cases[i].url)).value()) << in TEST()
158 " while testing " << test_cases[i].url; in TEST()
169 } test_cases[] = { in TEST() local
298 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); i++) { in TEST()
301 test_cases[i].expected_output, in TEST()
303 test_cases[i].template_contents, in TEST()
304 web_app::GenerateApplicationNameFromURL(GURL(test_cases[i].url)), in TEST()
[all …]
/external/chromium/chrome/browser/ui/views/
Dshell_dialogs_win_unittest.cc14 } test_cases[] = { in TEST() local
38 for (size_t i = 0; i < arraysize(test_cases); ++i) { in TEST()
39 EXPECT_EQ(std::wstring(test_cases[i].expected_filename), in TEST()
40 AppendExtensionIfNeeded(test_cases[i].filename, in TEST()
41 test_cases[i].filter_selected, in TEST()
42 test_cases[i].suggested_ext)); in TEST()
/external/chromium/chrome/common/
Djson_value_serializer_perftest.cc67 std::vector<Value*> test_cases; in TEST_F() local
72 test_cases.push_back(root); in TEST_F()
77 for (size_t j = 0; j < test_cases.size(); ++j) { in TEST_F()
80 ASSERT_TRUE(reader.Serialize(*test_cases[j])); in TEST_F()
86 for (size_t i = 0; i < test_cases.size(); ++i) { in TEST_F()
87 delete test_cases[i]; in TEST_F()
88 test_cases[i] = NULL; in TEST_F()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/
Ddeduplicate_tests_unittest.py93 test_cases = (
129 for expected, inputs in test_cases:
193 test_cases = (
205 for expected, inputs in test_cases:
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_fetcher_unittest.cc230 } test_cases[] = { in TEST_F() local
242 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { in TEST_F()
243 StartDownload(test_cases[i].keyword, test_cases[i].osdd_file_name, in TEST_F()
244 test_cases[i].provider_type, false); in TEST_F()
248 test_cases[i].description; in TEST_F()
253 ASSERT_EQ(1 + ARRAYSIZE_UNSAFE(test_cases), in TEST_F()
/external/chromium/chrome/common/extensions/
Dextension_message_bundle_unittest.cc333 static ReplaceVariables test_cases[] = { in TEST() local
381 for (size_t i = 0; i < arraysize(test_cases); ++i) { in TEST()
382 std::string text = test_cases[i].original; in TEST()
384 EXPECT_EQ(test_cases[i].pass, in TEST()
386 test_cases[i].begin_delimiter, in TEST()
387 test_cases[i].end_delimiter, in TEST()
390 EXPECT_EQ(test_cases[i].result, text); in TEST()
Dextension_file_util_unittest.cc201 } test_cases[] = { in TEST() local
224 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { in TEST()
225 GURL url(test_cases[i].url); in TEST()
227 FilePath expected_path(test_cases[i].expected_relative_path); in TEST()
229 FilePath expected_path(UTF8ToWide(test_cases[i].expected_relative_path)); in TEST()
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dfixjsstyle_test.py39 test_cases = [['fixjsstyle.in.js', 'fixjsstyle.out.js'],
41 for [running_input_file, running_output_file] in test_cases:
/external/webkit/Tools/Scripts/webkitpy/common/system/
Duser_unittest.py79 test_cases = (
89 for test_case in test_cases:
/external/chromium/net/base/
Dnet_util_unittest.cc1053 const SuggestedFilenameCase test_cases[] = { in TEST() local
1241 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { in TEST()
1242 std::wstring default_name = test_cases[i].default_filename; in TEST()
1244 GURL(test_cases[i].url), test_cases[i].content_disp_header, in TEST()
1245 test_cases[i].referrer_charset, WideToUTF16(default_name)); in TEST()
1246 EXPECT_EQ(std::wstring(test_cases[i].expected_filename), in TEST()
1248 << "Iteration " << i << ": " << test_cases[i].url; in TEST()
1267 const GetDirectoryListingEntryCase test_cases[] = { in TEST() local
1308 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { in TEST()
1310 WideToUTF16(test_cases[i].name), in TEST()
[all …]
Dcookie_monster_perftest.cc257 } test_cases[] = { in TEST() local
286 for (int ci = 0; ci < static_cast<int>(ARRAYSIZE_UNSAFE(test_cases)); ++ci) { in TEST()
287 const TestCase& test_case(test_cases[ci]); in TEST()
Dcookie_monster_unittest.cc1986 } test_cases[] = { in TEST() local
2023 for (int ci = 0; ci < static_cast<int>(ARRAYSIZE_UNSAFE(test_cases)); ++ci) { in TEST()
2028 const TestCase *test_case = &test_cases[ci]; in TEST()
/external/e2fsprogs/lib/et/
DMakefile.in120 for i in $(srcdir)/test_cases/*.et ; do \
123 diff -c $(srcdir)/test_cases/$$t.c $$t.c > $$t.failed; \
125 diff -c $(srcdir)/test_cases/$$t.h $$t.h >> $$t.failed; \
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc3216 } test_cases[] = { in TEST_P() local
3248 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { in TEST_P()
3254 ConstructSpdyGetSynReply(test_cases[i].extra_headers, in TEST_P()
3255 test_cases[i].num_headers, in TEST_P()
3286 EXPECT_EQ(std::string(test_cases[i].expected_headers), lines); in TEST_P()
3312 } test_cases[] = { in TEST_P() local
3377 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { in TEST_P()
3380 ConstructSpdyGet(test_cases[i].extra_headers[0], in TEST_P()
3381 test_cases[i].num_headers[0], in TEST_P()
3390 ConstructSpdyPacket(*test_cases[i].syn_reply, in TEST_P()
[all …]
/external/chromium/sdch/open-vcdiff/src/gtest/src/
Dgtest-internal-inl.h1014 internal::List<TestCase*>* test_cases() { return &test_cases_; } in test_cases() function
1015 const internal::List<TestCase*>* test_cases() const { return &test_cases_; } in test_cases() function
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest.cc2389 for (const internal::ListNode<TestCase*>* node = impl->test_cases()->Head(); in PrintFailedTestsPretty()
2772 impl->test_cases()->Head(); in PrintXmlUnitTest()