Analysis Software
Documentation for sPHENIX simulation software
|
Public Member Functions | |
PrettyUnitTestResultPrinter () | |
virtual void | OnTestProgramStart (const UnitTest &) |
virtual void | OnTestIterationStart (const UnitTest &unit_test, int iteration) |
virtual void | OnEnvironmentsSetUpStart (const UnitTest &unit_test) |
virtual void | OnEnvironmentsSetUpEnd (const UnitTest &) |
virtual void | OnTestCaseStart (const TestCase &test_case) |
virtual void | OnTestStart (const TestInfo &test_info) |
virtual void | OnTestPartResult (const TestPartResult &result) |
virtual void | OnTestEnd (const TestInfo &test_info) |
virtual void | OnTestCaseEnd (const TestCase &test_case) |
virtual void | OnEnvironmentsTearDownStart (const UnitTest &unit_test) |
virtual void | OnEnvironmentsTearDownEnd (const UnitTest &) |
virtual void | OnTestIterationEnd (const UnitTest &unit_test, int iteration) |
virtual void | OnTestProgramEnd (const UnitTest &) |
Public Member Functions inherited from testing::TestEventListener | |
virtual | ~TestEventListener () |
Static Public Member Functions | |
static void | PrintTestName (const char *test_case, const char *test) |
Static Private Member Functions | |
static void | PrintFailedTests (const UnitTest &unit_test) |
Definition at line 3029 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3029 of file gtest.cc
|
inline |
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 3040 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3040 of file gtest.cc
|
virtual |
Implements testing::TestEventListener.
Definition at line 3091 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3091 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), printf(), and conf::stdout.
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 3047 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3047 of file gtest.cc
|
virtual |
Implements testing::TestEventListener.
Definition at line 3161 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3161 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), printf(), and conf::stdout.
|
virtual |
Implements testing::TestEventListener.
Definition at line 3149 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3149 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), testing::TestCase::elapsed_time(), testing::FormatCountableNoun(), GTEST_FLAG, testing::TestCase::name(), printf(), conf::stdout, testing::internal::StreamableToString(), and testing::TestCase::test_to_run_count().
|
virtual |
Implements testing::TestEventListener.
Definition at line 3098 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3098 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), testing::FormatCountableNoun(), testing::internal::kTypeParamLabel, testing::TestCase::name(), printf(), conf::stdout, testing::TestCase::test_to_run_count(), and testing::TestCase::type_param().
|
virtual |
Implements testing::TestEventListener.
Definition at line 3130 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3130 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::COLOR_RED, testing::internal::ColoredPrintf(), testing::TestResult::elapsed_time(), testing::TestResult::Failed(), GTEST_FLAG, testing::TestInfo::name(), testing::TestResult::Passed(), printf(), testing::internal::PrintFullTestCommentIfPresent(), PrintTestName(), testing::TestInfo::result(), conf::stdout, testing::internal::StreamableToString(), and testing::TestInfo::test_case_name().
|
virtual |
Implements testing::TestEventListener.
Definition at line 3193 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3193 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::COLOR_RED, testing::internal::COLOR_YELLOW, testing::internal::ColoredPrintf(), testing::UnitTest::elapsed_time(), testing::UnitTest::failed_test_count(), testing::FormatTestCaseCount(), testing::FormatTestCount(), GTEST_FLAG, testing::UnitTest::Passed(), printf(), PrintFailedTests(), testing::UnitTest::reportable_disabled_test_count(), conf::stdout, testing::internal::StreamableToString(), testing::UnitTest::successful_test_count(), testing::UnitTest::test_case_to_run_count(), and testing::UnitTest::test_to_run_count().
|
virtual |
Implements testing::TestEventListener.
Definition at line 3056 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3056 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::COLOR_YELLOW, testing::internal::ColoredPrintf(), testing::internal::String::CStringEquals(), filter, testing::FormatTestCaseCount(), testing::FormatTestCount(), testing::internal::posix::GetEnv(), GTEST_FLAG, GTEST_NAME_, testing::internal::Int32FromEnvOrDie(), testing::kTestShardIndex, testing::kTestTotalShards, testing::kUniversalFilter, printf(), testing::UnitTest::random_seed(), testing::internal::ShouldShard(), conf::stdout, testing::UnitTest::test_case_to_run_count(), and testing::UnitTest::test_to_run_count().
|
virtual |
Implements testing::TestEventListener.
Definition at line 3119 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3119 of file gtest.cc
References testing::TestPartResult::kSuccess, testing::internal::PrintTestPartResult(), conf::stdout, and testing::TestPartResult::type().
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 3049 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3049 of file gtest.cc
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 3037 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3037 of file gtest.cc
|
virtual |
Implements testing::TestEventListener.
Definition at line 3111 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3111 of file gtest.cc
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), testing::TestInfo::name(), printf(), PrintTestName(), conf::stdout, and testing::TestInfo::test_case_name().
|
staticprivate |
Definition at line 3169 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3169 of file gtest.cc
References testing::internal::COLOR_RED, testing::internal::ColoredPrintf(), testing::TestCase::failed_test_count(), testing::UnitTest::failed_test_count(), testing::UnitTest::GetTestCase(), testing::TestCase::GetTestInfo(), i, j, testing::TestInfo::name(), testing::TestCase::name(), testing::TestResult::Passed(), printf(), testing::internal::PrintFullTestCommentIfPresent(), testing::TestInfo::result(), testing::TestInfo::should_run(), testing::TestCase::should_run(), testing::UnitTest::total_test_case_count(), and testing::TestCase::total_test_count().
Referenced by OnTestIterationEnd().
|
inlinestatic |
Definition at line 3032 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3032 of file gtest.cc
References printf().
Referenced by OnTestEnd(), and OnTestStart().