Lines Matching defs:TestCase

173 class TestCase;
327 // each TestCase contains one or many Tests.
542 friend class TestCase;
675 friend class TestCase;
737 // TestCase is not copyable.
738 class GTEST_API_ TestCase {
740 // Creates a TestCase with the given name.
742 // TestCase does NOT have a default constructor. Always use this
743 // constructor to create a TestCase object.
752 TestCase(const char* name, const char* a_type_param,
756 // Destructor of TestCase.
757 virtual ~TestCase();
759 // Gets the name of the TestCase.
809 // Gets the (mutable) vector of TestInfos in this TestCase.
812 // Gets the (immutable) vector of TestInfos in this TestCase.
825 // destruction of the TestCase object.
832 static void ClearTestCaseResult(TestCase* test_case) {
836 // Runs every test in this TestCase.
839 // Runs SetUpTestCase() for this TestCase. This wrapper is needed
843 // Runs TearDownTestCase() for this TestCase. This wrapper is
898 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestCase);
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*/) {}
1043 friend class TestCase;
1113 // Returns the TestCase object for the test that's currently running,
1115 const TestCase* current_test_case() const
1179 const TestCase* GetTestCase(int i) const;
1213 // inside a test, to current TestCase's ad_hoc_test_result_ when invoked
1221 TestCase* GetMutableTestCase(int i);