Lines Matching refs:UnitTest
342 UnitTest::GetInstance()-> in operator =()
345 UnitTest::GetInstance()->impl() in operator =()
395 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
405 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
1941 UnitTest::GetInstance()->RecordPropertyForCurrentTest(key, value); in RecordProperty()
1957 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2279 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2412 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2671 virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {} in OnTestProgramStart() argument
2672 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2673 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2674 virtual void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) {} in OnEnvironmentsSetUpEnd() argument
2680 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2681 virtual void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) {} in OnEnvironmentsTearDownEnd() argument
2682 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2683 virtual void OnTestProgramEnd(const UnitTest& /*unit_test*/) {} in OnTestProgramEnd() argument
2686 static void PrintFailedTests(const UnitTest& unit_test);
2693 const UnitTest& unit_test, int iteration) { in OnTestIterationStart()
2727 const UnitTest& /*unit_test*/) { in OnEnvironmentsSetUpStart() argument
2800 const UnitTest& /*unit_test*/) { in OnEnvironmentsTearDownStart() argument
2807 void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) { in PrintFailedTests()
2838 void PrettyUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
2893 virtual void OnTestProgramStart(const UnitTest& unit_test);
2894 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2895 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2896 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test);
2902 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2903 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test);
2904 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2905 virtual void OnTestProgramEnd(const UnitTest& unit_test);
2958 GTEST_REPEATER_METHOD_(OnTestProgramStart, UnitTest) in GTEST_REPEATER_METHOD_() argument
2959 GTEST_REPEATER_METHOD_(OnEnvironmentsSetUpStart, UnitTest) in GTEST_REPEATER_METHOD_()
2963 GTEST_REPEATER_METHOD_(OnEnvironmentsTearDownStart, UnitTest) in GTEST_REPEATER_METHOD_()
2964 GTEST_REVERSE_REPEATER_METHOD_(OnEnvironmentsSetUpEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2965 GTEST_REVERSE_REPEATER_METHOD_(OnEnvironmentsTearDownEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2968 GTEST_REVERSE_REPEATER_METHOD_(OnTestProgramEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2973 void TestEventRepeater::OnTestIterationStart(const UnitTest& unit_test, in GTEST_REPEATER_METHOD_()
2982 void TestEventRepeater::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
2998 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3041 static void PrintXmlUnitTest(FILE* out, const UnitTest& unit_test);
3066 void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
3271 const UnitTest& unit_test) { in PrintXmlUnitTest()
3315 UnitTest::GetInstance()->PushGTestTrace(trace); in ScopedTrace()
3321 UnitTest::GetInstance()->PopGTestTrace(); in ~ScopedTrace()
3434 UnitTest * UnitTest::GetInstance() { in GetInstance()
3447 static UnitTest* const instance = new UnitTest; in GetInstance()
3450 static UnitTest instance; in GetInstance()
3456 int UnitTest::successful_test_case_count() const { in successful_test_case_count()
3461 int UnitTest::failed_test_case_count() const { in failed_test_case_count()
3466 int UnitTest::total_test_case_count() const { in total_test_case_count()
3472 int UnitTest::test_case_to_run_count() const { in test_case_to_run_count()
3477 int UnitTest::successful_test_count() const { in successful_test_count()
3482 int UnitTest::failed_test_count() const { return impl()->failed_test_count(); } in failed_test_count()
3485 int UnitTest::disabled_test_count() const { in disabled_test_count()
3490 int UnitTest::total_test_count() const { return impl()->total_test_count(); } in total_test_count()
3493 int UnitTest::test_to_run_count() const { return impl()->test_to_run_count(); } in test_to_run_count()
3496 internal::TimeInMillis UnitTest::elapsed_time() const { in elapsed_time()
3501 bool UnitTest::Passed() const { return impl()->Passed(); } in Passed()
3505 bool UnitTest::Failed() const { return impl()->Failed(); } in Failed()
3509 const TestCase* UnitTest::GetTestCase(int i) const { in GetTestCase()
3515 TestCase* UnitTest::GetMutableTestCase(int i) { in GetMutableTestCase()
3521 TestEventListeners& UnitTest::listeners() { in listeners()
3535 Environment* UnitTest::AddEnvironment(Environment* env) { in AddEnvironment()
3562 void UnitTest::AddTestPartResult(TestPartResult::Type result_type, in AddTestPartResult()
3621 void UnitTest::RecordPropertyForCurrentTest(const char* key, in RecordPropertyForCurrentTest()
3632 int UnitTest::Run() { in Run()
3693 const char* UnitTest::original_working_dir() const { in original_working_dir()
3700 const TestCase* UnitTest::current_test_case() const { in current_test_case()
3708 const TestInfo* UnitTest::current_test_info() const { in current_test_info()
3714 int UnitTest::random_seed() const { return impl_->random_seed(); } in random_seed()
3721 UnitTest::parameterized_test_registry() { in parameterized_test_registry()
3727 UnitTest::UnitTest() { in UnitTest() function in testing::UnitTest
3732 UnitTest::~UnitTest() { in ~UnitTest()
3739 void UnitTest::PushGTestTrace(const internal::TraceInfo& trace) { in PushGTestTrace()
3746 void UnitTest::PopGTestTrace() { in PopGTestTrace()
3753 UnitTestImpl::UnitTestImpl(UnitTest* parent) in UnitTestImpl()
4332 String GetCurrentOsStackTraceExceptTop(UnitTest* /*unit_test*/, in UnitTestImpl() argument