Searched refs:test_case (Results 1 - 12 of 12) sorted by relevance

/ndk/sources/third_party/googletest/googletest/test/
H A Dgtest-unittest-api_test.cc76 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) { argument
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 !
211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local
279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
[all...]
H A 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))
H A Dgtest_filter_unittest.py190 test_case = ''
195 test_case = match.group(1)
200 tests_run.append(test_case + '.' + test)
H A Dgtest_unittest.cc1962 const TestCase* test_case = UnitTest::GetInstance()->current_test_case(); local
1963 ASSERT_TRUE(test_case != NULL);
1965 test_case->ad_hoc_test_result(), key);
1995 const TestCase* test_case = UnitTest::GetInstance()->current_test_case(); local
1996 ASSERT_TRUE(test_case != NULL);
1998 ASSERT_EQ(1, test_case->ad_hoc_test_result().test_property_count());
2000 test_case->ad_hoc_test_result().GetTestProperty(0).key());
2002 test_case->ad_hoc_test_result().GetTestProperty(0).value());
5186 const TestCase* const test_case = GetUnitTestImpl()-> local
5189 for (int i = 0; i < test_case
[all...]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/detail/
H A Dfwd_decl.hpp26 class test_case;
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
H A Dunit_test_suite_impl.hpp12 // Description : defines test_unit, test_case, test_case_results, test_suite and test_tree_visitor
100 // ************** test_case ************** //
103 class BOOST_TEST_DECL test_case : public test_unit { class in namespace:boost::unit_test
108 test_case( const_string tc_name, callback0<> const& test_func );
115 ~test_case() {}
176 virtual void visit( test_case const& ) {}
188 BOOST_TEST_DECL void traverse_test_tree( test_case const&, test_tree_visitor& );
198 traverse_test_tree( static_cast<test_case const&>( tu ), V );
217 virtual void visit( test_case const& );
252 inline test_case*
[all...]
H A Dunit_test_monitor.hpp53 error_level execute_and_translate( test_case const& );
H A Dframework.hpp55 BOOST_TEST_DECL void register_test_unit( test_case* tc );
67 BOOST_TEST_DECL test_case const& current_test_case();
/ndk/sources/third_party/googletest/googletest/samples/
H A Dsample9_unittest.cc143 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);
/ndk/sources/third_party/googletest/googletest/src/
H A Dgtest.cc327 static bool TestCasePassed(const TestCase* test_case) { argument
328 return test_case->should_run() && test_case->Passed();
332 static bool TestCaseFailed(const TestCase* test_case) { argument
333 return test_case->should_run() && test_case->Failed();
336 // Returns true iff test_case contains at least one test that should
338 static bool ShouldRunTestCase(const TestCase* test_case) { argument
339 return test_case->should_run();
1932 const TestCase* const test_case local
2669 PrintTestName(const char * test_case, const char * test) argument
2735 OnTestCaseStart(const TestCase& test_case) argument
2786 OnTestCaseEnd(const TestCase& test_case) argument
2813 const TestCase& test_case = *unit_test.GetTestCase(i); local
3307 PrintXmlTestCase(std::ostream* stream, const TestCase& test_case) argument
4085 const std::vector<TestCase*>::const_iterator test_case = local
4375 TestCase* const test_case = test_cases_[i]; local
4443 const TestCase* const test_case = test_cases_[i]; local
[all...]
H A Dgtest-internal-inl.h1162 void OnTestCaseStart(const TestCase& test_case) { argument
1163 SendLn(std::string("event=TestCaseStart&name=") + test_case.name());
1166 void OnTestCaseEnd(const TestCase& test_case) { argument
1167 SendLn("event=TestCaseEnd&passed=" + FormatBool(test_case.Passed())
1168 + "&elapsed_time=" + StreamableToString(test_case.elapsed_time())
/ndk/sources/third_party/googletest/googletest/include/gtest/
H A Dgtest.h832 static void ClearTestCaseResult(TestCase* test_case) { argument
833 test_case->ClearResult();
954 virtual void OnTestCaseStart(const TestCase& test_case) = 0;
966 virtual void OnTestCaseEnd(const TestCase& test_case) = 0;
994 virtual void OnTestCaseStart(const TestCase& /*test_case*/) {}
998 virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {}

Completed in 718 milliseconds