Lines Matching defs:TestInfo

174 class TestInfo;
373 friend class TestInfo;
564 friend class TestInfo;
633 // A TestInfo object stores the following information about a test:
641 // The constructor of TestInfo registers itself with the UnitTest
644 class GTEST_API_ TestInfo {
646 // Destructs a TestInfo object. This function is not virtual, so
647 // don't inherit from TestInfo.
648 ~TestInfo();
715 friend TestInfo* internal::MakeAndRegisterTestInfo(
726 // Constructs a TestInfo object. The newly constructed instance assumes
728 TestInfo(const std::string& test_case_name,
746 static void ClearTestResult(TestInfo* test_info) {
772 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
845 const TestInfo* GetTestInfo(int i) const;
856 std::vector<TestInfo*>& test_info_list() { return test_info_list_; }
859 const std::vector<TestInfo*>& test_info_list() const {
865 TestInfo* GetMutableTestInfo(int i);
870 // Adds a TestInfo to this test case. Will delete the TestInfo upon
872 void AddTestInfo(TestInfo * test_info);
894 static bool TestPassed(const TestInfo* test_info) {
899 static bool TestFailed(const TestInfo* test_info) {
905 static bool TestReportableDisabled(const TestInfo* test_info) {
910 static bool TestDisabled(const TestInfo* test_info) {
915 static bool TestReportable(const TestInfo* test_info) {
920 static bool ShouldRunTest(const TestInfo* test_info) {
937 std::vector<TestInfo*> test_info_list_;
1014 virtual void OnTestStart(const TestInfo& test_info) = 0;
1020 virtual void OnTestEnd(const TestInfo& test_info) = 0;
1052 virtual void OnTestStart(const TestInfo& /*test_info*/) {}
1054 virtual void OnTestEnd(const TestInfo& /*test_info*/) {}
1101 friend class TestInfo;
1175 // Returns the TestInfo object for the test that's currently running,
1177 const TestInfo* current_test_info() const