Lines Matching defs:TestInfo

183 class TestInfo;
358 friend class TestInfo;
549 friend class TestInfo;
614 // A TestInfo object stores the following information about a test:
622 // The constructor of TestInfo registers itself with the UnitTest
625 class GTEST_API_ TestInfo {
627 // Destructs a TestInfo object. This function is not virtual, so
628 // don't inherit from TestInfo.
629 ~TestInfo();
682 friend TestInfo* internal::MakeAndRegisterTestInfo(
691 // Constructs a TestInfo object. The newly constructed instance assumes
693 TestInfo(const char* test_case_name, const char* name,
709 static void ClearTestResult(TestInfo* test_info) {
734 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
801 const TestInfo* GetTestInfo(int i) const;
808 std::vector<TestInfo*>& test_info_list() { return test_info_list_; }
811 const std::vector<TestInfo*>& test_info_list() const {
817 TestInfo* GetMutableTestInfo(int i);
822 // Adds a TestInfo to this test case. Will delete the TestInfo upon
824 void AddTestInfo(TestInfo * test_info);
846 static bool TestPassed(const TestInfo* test_info) {
851 static bool TestFailed(const TestInfo* test_info) {
856 static bool TestDisabled(const TestInfo* test_info) {
861 static bool ShouldRunTest(const TestInfo* test_info) {
878 std::vector<TestInfo*> test_info_list_;
952 virtual void OnTestStart(const TestInfo& test_info) = 0;
958 virtual void OnTestEnd(const TestInfo& test_info) = 0;
990 virtual void OnTestStart(const TestInfo& /*test_info*/) {}
992 virtual void OnTestEnd(const TestInfo& /*test_info*/) {}
1039 friend class TestInfo;
1112 // Returns the TestInfo object for the test that's currently running,
1114 const TestInfo* current_test_info() const;