• Home
  • Raw
  • Download

Lines Matching refs:UnitTest

353   UnitTest::GetInstance()->  in operator =()
356 UnitTest::GetInstance()->impl() in operator =()
406 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
416 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
1920 UnitTest::GetInstance()->RecordPropertyForCurrentTest(key, value); in RecordProperty()
1936 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2290 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2407 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2666 void OnTestProgramStart(const UnitTest & /*unit_test*/) override {} in OnTestProgramStart() argument
2667 void OnTestIterationStart(const UnitTest &unit_test, int iteration) override;
2668 void OnEnvironmentsSetUpStart(const UnitTest &unit_test) override;
2669 void OnEnvironmentsSetUpEnd(const UnitTest & /*unit_test*/) override {} in OnEnvironmentsSetUpEnd() argument
2675 void OnEnvironmentsTearDownStart(const UnitTest &unit_test) override;
2676 void OnEnvironmentsTearDownEnd(const UnitTest & /*unit_test*/) override {} in OnEnvironmentsTearDownEnd() argument
2677 void OnTestIterationEnd(const UnitTest &unit_test, int iteration) override;
2678 void OnTestProgramEnd(const UnitTest & /*unit_test*/) override {} in OnTestProgramEnd() argument
2681 static void PrintFailedTests(const UnitTest& unit_test);
2688 const UnitTest& unit_test, int iteration) { in OnTestIterationStart()
2723 const UnitTest& /*unit_test*/) { in OnEnvironmentsSetUpStart() argument
2795 const UnitTest& /*unit_test*/) { in OnEnvironmentsTearDownStart() argument
2802 void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) { in PrintFailedTests()
2826 void PrettyUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
2881 void OnTestProgramStart(const UnitTest &unit_test) override;
2882 void OnTestIterationStart(const UnitTest &unit_test, int iteration) override;
2883 void OnEnvironmentsSetUpStart(const UnitTest &unit_test) override;
2884 void OnEnvironmentsSetUpEnd(const UnitTest &unit_test) override;
2890 void OnEnvironmentsTearDownStart(const UnitTest &unit_test) override;
2891 void OnEnvironmentsTearDownEnd(const UnitTest &unit_test) override;
2892 void OnTestIterationEnd(const UnitTest &unit_test, int iteration) override;
2893 void OnTestProgramEnd(const UnitTest &unit_test) override;
2946 GTEST_REPEATER_METHOD_(OnTestProgramStart, UnitTest) in GTEST_REPEATER_METHOD_() argument
2947 GTEST_REPEATER_METHOD_(OnEnvironmentsSetUpStart, UnitTest) in GTEST_REPEATER_METHOD_()
2951 GTEST_REPEATER_METHOD_(OnEnvironmentsTearDownStart, UnitTest) in GTEST_REPEATER_METHOD_()
2952 GTEST_REVERSE_REPEATER_METHOD_(OnEnvironmentsSetUpEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2953 GTEST_REVERSE_REPEATER_METHOD_(OnEnvironmentsTearDownEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2956 GTEST_REVERSE_REPEATER_METHOD_(OnTestProgramEnd, UnitTest) in GTEST_REPEATER_METHOD_()
2961 void TestEventRepeater::OnTestIterationStart(const UnitTest& unit_test, in GTEST_REPEATER_METHOD_()
2970 void TestEventRepeater::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
2986 void OnTestIterationEnd(const UnitTest &unit_test, int iteration) override;
3029 static void PrintXmlUnitTest(FILE* out, const UnitTest& unit_test);
3054 void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
3266 const UnitTest& unit_test) { in PrintXmlUnitTest()
3318 void OnTestProgramStart(const UnitTest & /* unit_test */) override { in OnTestProgramStart() argument
3322 void OnTestProgramEnd(const UnitTest &unit_test) override { in OnTestProgramEnd()
3332 void OnTestIterationStart(const UnitTest & /* unit_test */, in OnTestIterationStart() argument
3338 void OnTestIterationEnd(const UnitTest &unit_test, in OnTestIterationEnd()
3488 UnitTest::GetInstance()->PushGTestTrace(trace); in ScopedTrace()
3494 UnitTest::GetInstance()->PopGTestTrace(); in ~ScopedTrace()
3607 UnitTest * UnitTest::GetInstance() { in GetInstance()
3620 static UnitTest* const instance = new UnitTest; in GetInstance()
3623 static UnitTest instance; in GetInstance()
3629 int UnitTest::successful_test_case_count() const { in successful_test_case_count()
3634 int UnitTest::failed_test_case_count() const { in failed_test_case_count()
3639 int UnitTest::total_test_case_count() const { in total_test_case_count()
3645 int UnitTest::test_case_to_run_count() const { in test_case_to_run_count()
3650 int UnitTest::successful_test_count() const { in successful_test_count()
3655 int UnitTest::failed_test_count() const { return impl()->failed_test_count(); } in failed_test_count()
3658 int UnitTest::disabled_test_count() const { in disabled_test_count()
3663 int UnitTest::total_test_count() const { return impl()->total_test_count(); } in total_test_count()
3666 int UnitTest::test_to_run_count() const { return impl()->test_to_run_count(); } in test_to_run_count()
3669 internal::TimeInMillis UnitTest::elapsed_time() const { in elapsed_time()
3674 bool UnitTest::Passed() const { return impl()->Passed(); } in Passed()
3678 bool UnitTest::Failed() const { return impl()->Failed(); } in Failed()
3682 const TestCase* UnitTest::GetTestCase(int i) const { in GetTestCase()
3688 TestCase* UnitTest::GetMutableTestCase(int i) { in GetMutableTestCase()
3694 TestEventListeners& UnitTest::listeners() { in listeners()
3708 Environment* UnitTest::AddEnvironment(Environment* env) { in AddEnvironment()
3722 void UnitTest::AddTestPartResult(TestPartResult::Type result_type, in AddTestPartResult()
3781 void UnitTest::RecordPropertyForCurrentTest(const char* key, in RecordPropertyForCurrentTest()
3792 int UnitTest::Run() { in Run()
3849 const char* UnitTest::original_working_dir() const { in original_working_dir()
3856 const TestCase* UnitTest::current_test_case() const { in current_test_case()
3864 const TestInfo* UnitTest::current_test_info() const { in current_test_info()
3870 int UnitTest::random_seed() const { return impl_->random_seed(); } in random_seed()
3877 UnitTest::parameterized_test_registry() { in parameterized_test_registry()
3883 UnitTest::UnitTest() { in UnitTest() function in testing::UnitTest
3888 UnitTest::~UnitTest() { in ~UnitTest()
3895 void UnitTest::PushGTestTrace(const internal::TraceInfo& trace) { in PushGTestTrace()
3902 void UnitTest::PopGTestTrace() { in PopGTestTrace()
3909 UnitTestImpl::UnitTestImpl(UnitTest* parent) in UnitTestImpl()
4488 String GetCurrentOsStackTraceExceptTop(UnitTest* /*unit_test*/, in GetCurrentOsStackTraceExceptTop() argument