reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
173 class TestCase;
878 static void ClearTestCaseResult(TestCase* test_case) { 1011 virtual void OnTestCaseStart(const TestCase& test_case) = 0; 1023 virtual void OnTestCaseEnd(const TestCase& test_case) = 0; 1051 virtual void OnTestCaseStart(const TestCase& /*test_case*/) {} 1055 virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} 1172 const TestCase* current_test_case() const 1242 const TestCase* GetTestCase(int i) const; 1284 TestCase* GetMutableTestCase(int i);utils/unittest/googletest/src/gtest-internal-inl.h
340 static void Delete(T* x) { 577 const TestCase* GetTestCase(int i) const { 584 TestCase* GetMutableTestCase(int i) { 633 TestCase* GetTestCase(const char* test_case_name, 676 void set_current_test_case(TestCase* a_current_test_case) { 703 ForEach(test_cases_, TestCase::ClearTestCaseResult); 733 const TestCase* current_test_case() const { return current_test_case_; } 840 std::vector<TestCase*> test_cases_; 864 TestCase* current_test_case_; 1133 void OnTestCaseStart(const TestCase& test_case) { 1137 void OnTestCaseEnd(const TestCase& test_case) {utils/unittest/googletest/src/gtest.cc
335 static int SumOverTestCaseList(const std::vector<TestCase*>& case_list, 345 static bool TestCasePassed(const TestCase* test_case) { 350 static bool TestCaseFailed(const TestCase* test_case) { 356 static bool ShouldRunTestCase(const TestCase* test_case) { 752 return SumOverTestCaseList(test_cases_, &TestCase::successful_test_count); 757 return SumOverTestCaseList(test_cases_, &TestCase::failed_test_count); 763 &TestCase::reportable_disabled_test_count); 768 return SumOverTestCaseList(test_cases_, &TestCase::disabled_test_count); 773 return SumOverTestCaseList(test_cases_, &TestCase::reportable_test_count); 778 return SumOverTestCaseList(test_cases_, &TestCase::total_test_count); 783 return SumOverTestCaseList(test_cases_, &TestCase::test_to_run_count); 2271 const TestCase* const test_case = impl->current_test_case(); 2384 T* object, Result (T::*method)(), const char* location) { 2411 T* object, Result (T::*method)(), const char* location) { 2770 this, &TestCase::RunSetUpTestCase, "SetUpTestCase()"); 2780 this, &TestCase::RunTearDownTestCase, "TearDownTestCase()"); 3041 virtual void OnTestCaseStart(const TestCase& test_case); 3045 virtual void OnTestCaseEnd(const TestCase& test_case); 3098 void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) { 3149 void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestCase& test_case) { 3176 const TestCase& test_case = *unit_test.GetTestCase(i); 3252 virtual void OnTestCaseStart(const TestCase& test_case); 3256 virtual void OnTestCaseEnd(const TestCase& test_case); 3403 const TestCase& test_case); 3676 const TestCase& test_case) { 4063 const TestCase* UnitTest::GetTestCase(int i) const { 4075 TestCase* UnitTest::GetMutableTestCase(int i) { 4271 const TestCase* UnitTest::current_test_case() const 4359 ForEach(test_cases_, internal::Delete<TestCase>); 4482 bool operator()(const TestCase* test_case) const { 4502 TestCase* UnitTestImpl::GetTestCase(const char* test_case_name, 4507 const std::vector<TestCase*>::const_iterator test_case = 4515 TestCase* const new_test_case = 4516 new TestCase(test_case_name, type_param, set_up_tc, tear_down_tc); 4802 TestCase* const test_case = test_cases_[i]; 4870 const TestCase* const test_case = test_cases_[i];