Lines Matching defs:TestCase

173 class TestCase;
351 // each TestCase contains one or many Tests.
565 friend class TestCase;
712 friend class TestCase;
777 // TestCase is not copyable.
778 class GTEST_API_ TestCase {
780 // Creates a TestCase with the given name.
782 // TestCase does NOT have a default constructor. Always use this
783 // constructor to create a TestCase object.
792 TestCase(const char* name, const char* a_type_param,
796 // Destructor of TestCase.
797 virtual ~TestCase();
799 // Gets the name of the TestCase.
855 // Gets the (mutable) vector of TestInfos in this TestCase.
858 // Gets the (immutable) vector of TestInfos in this TestCase.
871 // destruction of the TestCase object.
878 static void ClearTestCaseResult(TestCase* test_case) {
882 // Runs every test in this TestCase.
885 // Runs SetUpTestCase() for this TestCase. This wrapper is needed
889 // Runs TearDownTestCase() for this TestCase. This wrapper is
955 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestCase);
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*/) {}
1100 friend class TestCase;
1170 // Returns the TestCase object for the test that's currently running,
1172 const TestCase* current_test_case() const
1242 const TestCase* GetTestCase(int i) const;
1276 // inside a test, to current TestCase's ad_hoc_test_result_ when invoked
1284 TestCase* GetMutableTestCase(int i);