HomeSort by relevance Sort by last modified time
    Searched refs:test_case (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium/net/ftp/
ftp_directory_listing_parser_unittest.h 33 const SingleLineTestData& test_case) {
34 ASSERT_TRUE(parser->ConsumeLine(UTF8ToUTF16(test_case.input)));
37 EXPECT_EQ(test_case.type, entry.type);
38 EXPECT_EQ(UTF8ToUTF16(test_case.filename), entry.name);
39 EXPECT_EQ(test_case.size, entry.size);
43 EXPECT_EQ(test_case.year, time_exploded.year);
44 EXPECT_EQ(test_case.month, time_exploded.month);
45 EXPECT_EQ(test_case.day_of_month, time_exploded.day_of_month);
46 EXPECT_EQ(test_case.hour, time_exploded.hour);
47 EXPECT_EQ(test_case.minute, time_exploded.minute)
    [all...]
  /external/protobuf/python/google/protobuf/internal/
test_util.py 355 def ExpectAllFieldsSet(test_case, message):
357 test_case.assertTrue(message.HasField('optional_int32'))
358 test_case.assertTrue(message.HasField('optional_int64'))
359 test_case.assertTrue(message.HasField('optional_uint32'))
360 test_case.assertTrue(message.HasField('optional_uint64'))
361 test_case.assertTrue(message.HasField('optional_sint32'))
362 test_case.assertTrue(message.HasField('optional_sint64'))
363 test_case.assertTrue(message.HasField('optional_fixed32'))
364 test_case.assertTrue(message.HasField('optional_fixed64'))
365 test_case.assertTrue(message.HasField('optional_sfixed32')
    [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...]
gtest_shuffle_test.py 129 test_case = test.split('.')[0]
130 if not test_case in test_cases:
131 test_cases.append(test_case)
254 [test_case, _] = test.split('.')
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),
259 (test_case, tests))
gtest_filter_unittest.py 143 test_case = ''
148 test_case = match.group(1)
153 tests_run.append(test_case + '.' + test)
  /external/protobuf/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/chromium/base/
time_win_unittest.cc 187 int test_case = 0; local
188 while (cases[test_case].func) {
191 cases[test_case].func();
200 printf("%s: %1.2fus per call\n", cases[test_case].description,
202 test_case++;
  /external/gtest/src/
gtest.cc 277 static bool TestCasePassed(const TestCase* test_case) {
278 return test_case->should_run() && test_case->Passed();
282 static bool TestCaseFailed(const TestCase* test_case) {
283 return test_case->should_run() && test_case->Failed();
286 // Returns true iff test_case contains at least one test that should
288 static bool ShouldRunTestCase(const TestCase* test_case) {
289 return test_case->should_run();
1965 const TestCase* const test_case = impl->current_test_case(); local
3557 TestCase* const test_case = local
3819 TestCase * const test_case = test_case_node->element(); local
3863 const TestCase* const test_case = test_case_node->element(); local
    [all...]
gtest-internal-inl.h 754 static void ClearTestCaseResult(TestCase* test_case) {
755 test_case->ClearResult();
762 static void RunTestCase(TestCase * test_case) { test_case->Run(); }
    [all...]
  /external/chromium/base/test/
test_suite.h 91 const testing::TestCase& test_case = *instance->GetTestCase(i); local
92 for (int j = 0; j < test_case.total_test_count(); ++j) {
93 if (test_match(*test_case.GetTestInfo(j))) {
  /external/chromium/sdch/open-vcdiff/src/gtest/
gtest.cc 217 static bool TestCasePassed(const TestCase* test_case) {
218 return test_case->should_run() && test_case->Passed();
222 static bool TestCaseFailed(const TestCase* test_case) {
223 return test_case->should_run() && test_case->Failed();
226 // Returns true iff test_case contains at least one test that should
228 static bool ShouldRunTestCase(const TestCase* test_case) {
229 return test_case->should_run();
1729 const TestCase* const test_case = impl->current_test_case(); local
3097 TestCase* const test_case = local
3223 TestCase * const test_case = test_case_node->element(); local
3260 const TestCase* const test_case = test_case_node->element(); local
    [all...]
  /external/protobuf/gtest/src/
gtest.cc 305 static bool TestCasePassed(const TestCase* test_case) {
306 return test_case->should_run() && test_case->Passed();
310 static bool TestCaseFailed(const TestCase* test_case) {
311 return test_case->should_run() && test_case->Failed();
314 // Returns true iff test_case contains at least one test that should
316 static bool ShouldRunTestCase(const TestCase* test_case) {
317 return test_case->should_run();
1964 const TestCase* const test_case = impl->current_test_case(); local
2785 const TestCase& test_case = *unit_test.GetTestCase(i); local
3865 TestCase** test_case = test_cases_.FindIf(TestCaseNameIs(test_case_name)); local
4148 TestCase* const test_case = test_cases_.GetElement(i); local
4191 const TestCase* const test_case = test_cases_.GetElement(i); local
    [all...]
  /external/protobuf/src/google/protobuf/io/
tokenizer_unittest.cc 201 const SimpleTokenCase& test_case) {
202 return out << CEscape(test_case.input);
330 const MultiTokenCase& test_case) {
331 return out << CEscape(test_case.input);
624 const ErrorCase& test_case) {
625 return out << CEscape(test_case.input);
  /external/gtest/test/
gtest_filter_unittest.py 141 test_case = ''
146 test_case = match.group(1)
151 tests_run += [test_case + '.' + test]
  /cts/tools/utils/cts/
tools.py 47 test_case = self.test_cases.setdefault(names[0], [])
48 test_case.append(names[1])
  /external/chromium/third_party/icu/source/test/letest/
gendata.cpp 133 UnicodeString test_case = UNICODE_STRING_SIMPLE("test-case"); local
149 if (testCase->getTagName().compare(test_case) == 0) {
xmlreader.cpp 146 UnicodeString test_case = UNICODE_STRING_SIMPLE("test-case"); local
167 if (testCase->getTagName().compare(test_case) == 0) {
letest.cpp 579 UnicodeString test_case = UNICODE_STRING_SIMPLE("test-case"); local
600 if (testCase->getTagName().compare(test_case) == 0) {
    [all...]
  /external/icu4c/test/letest/
gendata.cpp 133 UnicodeString test_case = UNICODE_STRING_SIMPLE("test-case"); local
149 if (testCase->getTagName().compare(test_case) == 0) {
xmlreader.cpp 146 UnicodeString test_case = UNICODE_STRING_SIMPLE("test-case"); local
167 if (testCase->getTagName().compare(test_case) == 0) {
  /external/chromium/sdch/open-vcdiff/src/gtest/src/
gtest-internal-inl.h 679 static void ClearTestCaseResult(TestCase* test_case) {
680 test_case->ClearResult();
687 static void RunTestCase(TestCase * test_case) { test_case->Run(); }
    [all...]
  /external/bluetooth/glib/glib/
gtestutils.h 167 GTestCase *test_case);
gtestutils.c 1029 * @test_case: a #GTestCase
1031 * Adds @test_case to @suite.
1037 GTestCase *test_case)
    [all...]
  /external/protobuf/gtest/include/gtest/
gtest.h 693 static void ClearTestCaseResult(TestCase* test_case) {
694 test_case->ClearResult();
795 virtual void OnTestCaseStart(const TestCase& test_case) = 0;
807 virtual void OnTestCaseEnd(const TestCase& test_case) = 0;
835 virtual void OnTestCaseStart(const TestCase& /*test_case*/) {}
839 virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {}
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
csdetest.cpp 507 UnicodeString test_case = UNICODE_STRING_SIMPLE("test-case");
515 if (testCase->getTagName().compare(test_case) == 0) {

Completed in 338 milliseconds

1 2