/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-unittest-api_test.cc | 76 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 …]
|
D | gtest_shuffle_test.py | 123 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))
|
D | gtest_filter_unittest.py | 190 test_case = '' 195 test_case = match.group(1) 200 tests_run.append(test_case + '.' + test)
|
D | gtest_unittest.cc | 1962 const TestCase* test_case = UnitTest::GetInstance()->current_test_case(); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase() local 1963 ASSERT_TRUE(test_case != NULL); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase() 1965 test_case->ad_hoc_test_result(), key); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase() 1995 const TestCase* test_case = UnitTest::GetInstance()->current_test_case(); in SetUpTestCase() local 1996 ASSERT_TRUE(test_case != NULL); in SetUpTestCase() 1998 ASSERT_EQ(1, test_case->ad_hoc_test_result().test_property_count()); in SetUpTestCase() 2000 test_case->ad_hoc_test_result().GetTestProperty(0).key()); in SetUpTestCase() 2002 test_case->ad_hoc_test_result().GetTestProperty(0).value()); in SetUpTestCase() 5186 const TestCase* const test_case = GetUnitTestImpl()-> in GetTestInfo() local 5189 for (int i = 0; i < test_case->total_test_count(); ++i) { in GetTestInfo() [all …]
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
D | unit_test_suite_impl.hpp | 103 class BOOST_TEST_DECL test_case : public test_unit { class 108 test_case( const_string tc_name, callback0<> const& test_func ); 115 ~test_case() {} in ~test_case() 176 virtual void visit( test_case const& ) {} in visit() 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 ); in traverse_test_tree() 217 virtual void visit( test_case const& ); 252 inline test_case* 255 return new test_case( ut_detail::normalize_test_case_name( tc_name ), test_func ); in make_test_case() 261 inline test_case* [all …]
|
D | framework.hpp | 55 BOOST_TEST_DECL void register_test_unit( test_case* tc ); 67 BOOST_TEST_DECL test_case const& current_test_case();
|
D | unit_test_monitor.hpp | 53 error_level execute_and_translate( test_case const& );
|
/ndk/sources/third_party/googletest/googletest/samples/ |
D | sample9_unittest.cc | 143 const TestCase& test_case = *unit_test.GetTestCase(i); in main() local 144 for (int j = 0; j < test_case.total_test_count(); ++j) { in main() 145 const TestInfo& test_info = *test_case.GetTestInfo(j); in main()
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest.cc | 327 static bool TestCasePassed(const TestCase* test_case) { in TestCasePassed() argument 328 return test_case->should_run() && test_case->Passed(); in TestCasePassed() 332 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed() argument 333 return test_case->should_run() && test_case->Failed(); in TestCaseFailed() 338 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase() argument 339 return test_case->should_run(); in ShouldRunTestCase() 1932 const TestCase* const test_case = impl->current_test_case(); in HasSameFixtureClass() local 1935 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass() 2669 static void PrintTestName(const char * test_case, const char * test) { in PrintTestName() argument 2670 printf("%s.%s", test_case, test); in PrintTestName() [all …]
|
D | gtest-internal-inl.h | 1162 void OnTestCaseStart(const TestCase& test_case) { in OnTestCaseStart() argument 1163 SendLn(std::string("event=TestCaseStart&name=") + test_case.name()); in OnTestCaseStart() 1166 void OnTestCaseEnd(const TestCase& test_case) { in OnTestCaseEnd() argument 1167 SendLn("event=TestCaseEnd&passed=" + FormatBool(test_case.Passed()) in OnTestCaseEnd() 1168 + "&elapsed_time=" + StreamableToString(test_case.elapsed_time()) in OnTestCaseEnd()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/ |
D | unit_test_suite.ipp | 103 // ************** test_case ************** // 106 test_case::test_case( const_string name, callback0<> const& test_func ) 190 traverse_test_tree( test_case const& tc, test_tree_visitor& V ) 232 traverse_test_tree( framework::get<test_case>( id ), V ); 244 test_case_counter::visit( test_case const& tc ) 272 auto_test_unit_registrar::auto_test_unit_registrar( test_case* tc, counter_t exp_fail )
|
D | framework.ipp | 134 delete (test_case const*)tu_ptr; 141 void visit( test_case const& tc ) 288 register_test_unit( test_case* tc ) 375 test_case const& 378 return get<test_case>( s_frk_impl().m_curr_test_case );
|
D | unit_test_monitor.ipp | 60 unit_test_monitor_t::execute_and_translate( test_case const& tc )
|
D | results_reporter.ipp | 62 void visit( test_case const& tc )
|
D | results_collector.ipp | 170 void visit( test_case const& tc )
|
D | unit_test_main.ipp | 139 virtual void visit( test_case const& tc )
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/detail/ |
D | fwd_decl.hpp | 26 class test_case;
|
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest.h | 832 static void ClearTestCaseResult(TestCase* test_case) { in ClearTestCaseResult() argument 833 test_case->ClearResult(); in ClearTestCaseResult() 954 virtual void OnTestCaseStart(const TestCase& test_case) = 0; 966 virtual void OnTestCaseEnd(const TestCase& test_case) = 0;
|