Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::PrettyUnitTestResultPrinter Class Reference
+ Inheritance diagram for testing::internal::PrettyUnitTestResultPrinter:
+ Collaboration diagram for testing::internal::PrettyUnitTestResultPrinter:

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)
 

Detailed Description

Definition at line 3029 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3029 of file gtest.cc

Constructor & Destructor Documentation

testing::internal::PrettyUnitTestResultPrinter::PrettyUnitTestResultPrinter ( )
inline

Definition at line 3031 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3031 of file gtest.cc

Member Function Documentation

virtual void testing::internal::PrettyUnitTestResultPrinter::OnEnvironmentsSetUpEnd ( const UnitTest )
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

void testing::internal::PrettyUnitTestResultPrinter::OnEnvironmentsSetUpStart ( const UnitTest unit_test)
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.

+ Here is the call graph for this function:

virtual void testing::internal::PrettyUnitTestResultPrinter::OnEnvironmentsTearDownEnd ( const UnitTest )
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

void testing::internal::PrettyUnitTestResultPrinter::OnEnvironmentsTearDownStart ( const UnitTest unit_test)
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.

+ Here is the call graph for this function:

void testing::internal::PrettyUnitTestResultPrinter::OnTestCaseEnd ( const TestCase test_case)
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().

+ Here is the call graph for this function:

void testing::internal::PrettyUnitTestResultPrinter::OnTestCaseStart ( const TestCase test_case)
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().

+ Here is the call graph for this function:

void testing::internal::PrettyUnitTestResultPrinter::OnTestEnd ( const TestInfo test_info)
virtual
void testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd ( const UnitTest unit_test,
int  iteration 
)
virtual
void testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart ( const UnitTest unit_test,
int  iteration 
)
virtual
void testing::internal::PrettyUnitTestResultPrinter::OnTestPartResult ( const TestPartResult result)
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().

+ Here is the call graph for this function:

virtual void testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd ( const UnitTest )
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

virtual void testing::internal::PrettyUnitTestResultPrinter::OnTestProgramStart ( const UnitTest )
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

void testing::internal::PrettyUnitTestResultPrinter::OnTestStart ( const TestInfo test_info)
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().

+ Here is the call graph for this function:

void testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests ( const UnitTest unit_test)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void testing::internal::PrettyUnitTestResultPrinter::PrintTestName ( const char *  test_case,
const char *  test 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: