CHROMA
|
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 4176 of file gtest-all.cc.
|
inline |
Definition at line 4178 of file gtest-all.cc.
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 4187 of file gtest-all.cc.
|
virtual |
Implements testing::TestEventListener.
Definition at line 4238 of file gtest-all.cc.
References testing::internal::COLOR_GREEN, and testing::internal::ColoredPrintf().
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 4194 of file gtest-all.cc.
|
virtual |
Implements testing::TestEventListener.
Definition at line 4308 of file gtest-all.cc.
References testing::internal::COLOR_GREEN, and testing::internal::ColoredPrintf().
|
virtual |
Implements testing::TestEventListener.
Definition at line 4296 of file gtest-all.cc.
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), testing::TestCase::elapsed_time(), testing::FormatCountableNoun(), GTEST_FLAG, testing::TestCase::name(), testing::internal::StreamableToString(), and testing::TestCase::test_to_run_count().
|
virtual |
Implements testing::TestEventListener.
Definition at line 4245 of file gtest-all.cc.
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), testing::FormatCountableNoun(), testing::internal::kTypeParamLabel, testing::TestCase::name(), testing::TestCase::test_to_run_count(), and testing::TestCase::type_param().
|
virtual |
Implements testing::TestEventListener.
Definition at line 4277 of file gtest-all.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(), testing::internal::PrintFullTestCommentIfPresent(), PrintTestName(), testing::TestInfo::result(), testing::internal::StreamableToString(), and testing::TestInfo::test_case_name().
|
virtual |
Implements testing::TestEventListener.
Definition at line 4340 of file gtest-all.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(), PrintFailedTests(), testing::UnitTest::reportable_disabled_test_count(), 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 4203 of file gtest-all.cc.
References testing::internal::COLOR_GREEN, testing::internal::COLOR_YELLOW, testing::internal::ColoredPrintf(), testing::internal::String::CStringEquals(), testing::FormatTestCaseCount(), testing::FormatTestCount(), testing::internal::posix::GetEnv(), GTEST_FLAG, GTEST_NAME_, testing::internal::Int32FromEnvOrDie(), testing::kTestShardIndex, testing::kTestTotalShards, testing::kUniversalFilter, testing::UnitTest::random_seed(), testing::internal::ShouldShard(), testing::UnitTest::test_case_to_run_count(), and testing::UnitTest::test_to_run_count().
|
virtual |
Implements testing::TestEventListener.
Definition at line 4266 of file gtest-all.cc.
References testing::TestPartResult::kSuccess, testing::internal::PrintTestPartResult(), and testing::TestPartResult::type().
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 4196 of file gtest-all.cc.
|
inlinevirtual |
Implements testing::TestEventListener.
Definition at line 4184 of file gtest-all.cc.
|
virtual |
Implements testing::TestEventListener.
Definition at line 4258 of file gtest-all.cc.
References testing::internal::COLOR_GREEN, testing::internal::ColoredPrintf(), testing::TestInfo::name(), PrintTestName(), and testing::TestInfo::test_case_name().
|
staticprivate |
Definition at line 4316 of file gtest-all.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(), 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 4179 of file gtest-all.cc.
Referenced by OnTestEnd(), and OnTestStart().