Lines Matching refs:UnitTest
354 UnitTest::GetInstance()-> in operator =()
357 UnitTest::GetInstance()->impl() in operator =()
407 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
417 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
1921 UnitTest::GetInstance()->RecordPropertyForCurrentTest(key, value); in RecordProperty()
1937 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2320 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2437 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2695 virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {} in OnTestProgramStart() argument
2696 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2697 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2698 virtual void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) {} in OnEnvironmentsSetUpEnd() argument
2704 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2705 virtual void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) {} in OnEnvironmentsTearDownEnd() argument
2706 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2707 virtual void OnTestProgramEnd(const UnitTest& /*unit_test*/) {} in OnTestProgramEnd() argument
2710 static void PrintFailedTests(const UnitTest& unit_test);
2715 const UnitTest& unit_test, int iteration) { in OnTestIterationStart()
2750 const UnitTest& /*unit_test*/) { in OnEnvironmentsSetUpStart() argument
2820 const UnitTest& /*unit_test*/) { in OnEnvironmentsTearDownStart() argument
2827 void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) { in PrintFailedTests()
2851 void PrettyUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
2906 virtual void OnTestProgramStart(const UnitTest& unit_test);
2907 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2908 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2909 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test);
2915 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2916 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test);
2917 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2918 virtual void OnTestProgramEnd(const UnitTest& unit_test);
2971 GTEST_REPEATER_METHOD_(OnTestProgramStart, UnitTest) in GTEST_REPEATER_METHOD_() argument
2972 GTEST_REPEATER_METHOD_(OnEnvironmentsSetUpStart, UnitTest) in GTEST_REPEATER_METHOD_()
2976 GTEST_REPEATER_METHOD_(OnEnvironmentsTearDownStart, UnitTest) in GTEST_REPEATER_METHOD_()
2977 GTEST_REVERSE_REPEATER_METHOD_(OnEnvironmentsSetUpEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2978 GTEST_REVERSE_REPEATER_METHOD_(OnEnvironmentsTearDownEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2981 GTEST_REVERSE_REPEATER_METHOD_(OnTestProgramEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2986 void TestEventRepeater::OnTestIterationStart(const UnitTest& unit_test, in GTEST_REPEATER_METHOD_()
2995 void TestEventRepeater::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
3011 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3054 static void PrintXmlUnitTest(FILE* out, const UnitTest& unit_test);
3079 void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
3318 const UnitTest& unit_test) { in PrintXmlUnitTest()
3371 void OnTestProgramStart(const UnitTest& /* unit_test */) { in OnTestProgramStart() argument
3375 void OnTestProgramEnd(const UnitTest& unit_test) { in OnTestProgramEnd()
3385 void OnTestIterationStart(const UnitTest& /* unit_test */, int iteration) { in OnTestIterationStart() argument
3390 void OnTestIterationEnd(const UnitTest& unit_test, int /* iteration */) { in OnTestIterationEnd()
3533 GTEST_LOCK_EXCLUDED_(&UnitTest::mutex_) { in ScopedTrace()
3539 UnitTest::GetInstance()->PushGTestTrace(trace); in ScopedTrace()
3544 GTEST_LOCK_EXCLUDED_(&UnitTest::mutex_) { in ~ScopedTrace()
3545 UnitTest::GetInstance()->PopGTestTrace(); in ~ScopedTrace()
3658 UnitTest * UnitTest::GetInstance() { in GetInstance()
3671 static UnitTest* const instance = new UnitTest; in GetInstance()
3674 static UnitTest instance; in GetInstance()
3680 int UnitTest::successful_test_case_count() const { in successful_test_case_count()
3685 int UnitTest::failed_test_case_count() const { in failed_test_case_count()
3690 int UnitTest::total_test_case_count() const { in total_test_case_count()
3696 int UnitTest::test_case_to_run_count() const { in test_case_to_run_count()
3701 int UnitTest::successful_test_count() const { in successful_test_count()
3706 int UnitTest::failed_test_count() const { return impl()->failed_test_count(); } in failed_test_count()
3709 int UnitTest::disabled_test_count() const { in disabled_test_count()
3714 int UnitTest::total_test_count() const { return impl()->total_test_count(); } in total_test_count()
3717 int UnitTest::test_to_run_count() const { return impl()->test_to_run_count(); } in test_to_run_count()
3721 internal::TimeInMillis UnitTest::start_timestamp() const { in start_timestamp()
3726 internal::TimeInMillis UnitTest::elapsed_time() const { in elapsed_time()
3731 bool UnitTest::Passed() const { return impl()->Passed(); } in Passed()
3735 bool UnitTest::Failed() const { return impl()->Failed(); } in Failed()
3739 const TestCase* UnitTest::GetTestCase(int i) const { in GetTestCase()
3745 TestCase* UnitTest::GetMutableTestCase(int i) { in GetMutableTestCase()
3751 TestEventListeners& UnitTest::listeners() { in listeners()
3765 Environment* UnitTest::AddEnvironment(Environment* env) { in AddEnvironment()
3778 void UnitTest::AddTestPartResult( in AddTestPartResult()
3843 void UnitTest::RecordPropertyForCurrentTest(const char* key, in RecordPropertyForCurrentTest()
3854 int UnitTest::Run() { in Run()
3909 const char* UnitTest::original_working_dir() const { in original_working_dir()
3915 const TestCase* UnitTest::current_test_case() const in current_test_case()
3923 const TestInfo* UnitTest::current_test_info() const in current_test_info()
3930 int UnitTest::random_seed() const { return impl_->random_seed(); } in random_seed()
3936 UnitTest::parameterized_test_registry() in parameterized_test_registry()
3943 UnitTest::UnitTest() { in UnitTest() function in testing::UnitTest
3948 UnitTest::~UnitTest() { in ~UnitTest()
3954 void UnitTest::PushGTestTrace(const internal::TraceInfo& trace) in PushGTestTrace()
3961 void UnitTest::PopGTestTrace() in PopGTestTrace()
3969 UnitTestImpl::UnitTestImpl(UnitTest* parent) in UnitTestImpl()
4550 String GetCurrentOsStackTraceExceptTop(UnitTest* /*unit_test*/, in GetCurrentOsStackTraceExceptTop() argument