Lines Matching defs:TestInfo

174 class TestInfo;
349 friend class TestInfo;
541 friend class TestInfo;
610 // A TestInfo object stores the following information about a test:
618 // The constructor of TestInfo registers itself with the UnitTest
621 class GTEST_API_ TestInfo {
623 // Destructs a TestInfo object. This function is not virtual, so
624 // don't inherit from TestInfo.
625 ~TestInfo();
686 friend TestInfo* internal::MakeAndRegisterTestInfo(
696 // Constructs a TestInfo object. The newly constructed instance assumes
698 TestInfo(const std::string& test_case_name,
715 static void ClearTestResult(TestInfo* test_info) {
740 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
813 const TestInfo* GetTestInfo(int i) const;
824 std::vector<TestInfo*>& test_info_list() { return test_info_list_; }
827 const std::vector<TestInfo*>& test_info_list() const {
833 TestInfo* GetMutableTestInfo(int i);
838 // Adds a TestInfo to this test case. Will delete the TestInfo upon
840 void AddTestInfo(TestInfo * test_info);
862 static bool TestPassed(const TestInfo* test_info) {
867 static bool TestFailed(const TestInfo* test_info) {
873 static bool TestReportableDisabled(const TestInfo* test_info) {
878 static bool TestDisabled(const TestInfo* test_info) {
883 static bool TestReportable(const TestInfo* test_info) {
888 static bool ShouldRunTest(const TestInfo* test_info) {
905 std::vector<TestInfo*> test_info_list_;
982 virtual void OnTestStart(const TestInfo& test_info) = 0;
988 virtual void OnTestEnd(const TestInfo& test_info) = 0;
1020 virtual void OnTestStart(const TestInfo& /*test_info*/) {}
1022 virtual void OnTestEnd(const TestInfo& /*test_info*/) {}
1069 friend class TestInfo;
1143 // Returns the TestInfo object for the test that's currently running,
1145 const TestInfo* current_test_info() const