![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
Inheritance diagram for testing::internal::XmlUnitTestResultPrinter:
Collaboration diagram for testing::internal::XmlUnitTestResultPrinter:Public Member Functions | |
| XmlUnitTestResultPrinter (const char *output_file) | |
| virtual void | OnTestIterationEnd (const UnitTest &unit_test, int iteration) |
Public Member Functions inherited from testing::EmptyTestEventListener | |
| virtual void | OnTestProgramStart (const UnitTest &) |
| virtual void | OnTestIterationStart (const UnitTest &, int) |
| virtual void | OnEnvironmentsSetUpStart (const UnitTest &) |
| virtual void | OnEnvironmentsSetUpEnd (const UnitTest &) |
| virtual void | OnTestCaseStart (const TestCase &) |
| virtual void | OnTestStart (const TestInfo &) |
| virtual void | OnTestPartResult (const TestPartResult &) |
| virtual void | OnTestEnd (const TestInfo &) |
| virtual void | OnTestCaseEnd (const TestCase &) |
| virtual void | OnEnvironmentsTearDownStart (const UnitTest &) |
| virtual void | OnEnvironmentsTearDownEnd (const UnitTest &) |
| virtual void | OnTestProgramEnd (const UnitTest &) |
Public Member Functions inherited from testing::TestEventListener | |
| virtual | ~TestEventListener () |
Private Member Functions | |
| GTEST_DISALLOW_COPY_AND_ASSIGN_ (XmlUnitTestResultPrinter) | |
Static Private Member Functions | |
| static bool | IsNormalizableWhitespace (char c) |
| static bool | IsValidXmlCharacter (char c) |
| static std::string | EscapeXml (const std::string &str, bool is_attribute) |
| static std::string | RemoveInvalidXmlCharacters (const std::string &str) |
| static std::string | EscapeXmlAttribute (const std::string &str) |
| static std::string | EscapeXmlText (const char *str) |
| static void | OutputXmlAttribute (std::ostream *stream, const std::string &element_name, const std::string &name, const std::string &value) |
| static void | OutputXmlCDataSection (::std::ostream *stream, const char *data) |
| static void | OutputXmlTestInfo (::std::ostream *stream, const char *test_case_name, const TestInfo &test_info) |
| static void | PrintXmlTestCase (::std::ostream *stream, const TestCase &test_case) |
| static void | PrintXmlUnitTest (::std::ostream *stream, const UnitTest &unit_test) |
| static std::string | TestPropertiesAsXmlAttributes (const TestResult &result) |
Private Attributes | |
| const std::string | output_file_ |
Definition at line 3349 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3349 of file gtest.cc
|
explicit |
|
staticprivate |
Definition at line 3476 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3476 of file gtest.cc
References testing::internal::String::FormatByte(), testing::Message::GetString(), i, IsNormalizableWhitespace(), IsValidXmlCharacter(), and Acts::UnitConstants::m.
Referenced by EscapeXmlAttribute(), and EscapeXmlText().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
Definition at line 3377 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3377 of file gtest.cc
References EscapeXml().
Referenced by OutputXmlAttribute(), OutputXmlTestInfo(), and TestPropertiesAsXmlAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
Definition at line 3382 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3382 of file gtest.cc
References EscapeXml().
Here is the call graph for this function:
|
private |
|
inlinestaticprivate |
Definition at line 3358 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3358 of file gtest.cc
Referenced by EscapeXml(), and IsValidXmlCharacter().
Here is the caller graph for this function:
|
inlinestaticprivate |
Definition at line 3363 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3363 of file gtest.cc
References IsNormalizableWhitespace().
Referenced by EscapeXml(), and RemoveInvalidXmlCharacters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from testing::EmptyTestEventListener.
Definition at line 3432 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3432 of file gtest.cc
References fclose(), testing::internal::posix::FOpen(), fprintf(), versiongenerate::output_dir, generate_particle_data_table::output_file, output_file_, PrintXmlUnitTest(), testing::internal::FilePath::RemoveFileName(), and testing::internal::StringStreamToString().
Here is the call graph for this function:
|
staticprivate |
Definition at line 3607 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3607 of file gtest.cc
References EscapeXmlAttribute(), testing::GetReservedAttributesForElement(), GTEST_CHECK_, and perf_headwind::name.
Referenced by OutputXmlTestInfo(), PrintXmlTestCase(), and PrintXmlUnitTest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 3588 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3588 of file gtest.cc
References configureMap::data, and Acts::Test::segment().
Referenced by OutputXmlTestInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 3625 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3625 of file gtest.cc
References testing::TestResult::elapsed_time(), EscapeXmlAttribute(), testing::TestPartResult::failed(), testing::TestPartResult::file_name(), testing::internal::FormatCompilerIndependentFileLocation(), testing::internal::FormatTimeInMillisAsSeconds(), testing::TestResult::GetTestPartResult(), i, testing::TestPartResult::line_number(), testing::TestPartResult::message(), testing::TestInfo::name(), OutputXmlAttribute(), OutputXmlCDataSection(), RemoveInvalidXmlCharacters(), testing::TestInfo::result(), testing::TestInfo::should_run(), summary::summary, testing::TestPartResult::summary(), TestPropertiesAsXmlAttributes(), testing::TestResult::total_part_count(), testing::TestInfo::type_param(), and testing::TestInfo::value_param().
Referenced by PrintXmlTestCase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 3675 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3675 of file gtest.cc
References testing::TestCase::ad_hoc_test_result(), testing::TestCase::elapsed_time(), testing::TestCase::failed_test_count(), testing::internal::FormatTimeInMillisAsSeconds(), testing::TestCase::GetTestInfo(), i, testing::TestInfo::is_reportable(), testing::TestCase::name(), OutputXmlAttribute(), OutputXmlTestInfo(), testing::TestCase::reportable_disabled_test_count(), testing::TestCase::reportable_test_count(), testing::internal::StreamableToString(), TestPropertiesAsXmlAttributes(), and testing::TestCase::total_test_count().
Referenced by PrintXmlUnitTest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 3701 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3701 of file gtest.cc
References testing::UnitTest::ad_hoc_test_result(), testing::UnitTest::elapsed_time(), testing::UnitTest::failed_test_count(), testing::internal::FormatEpochTimeInMillisAsIso8601(), testing::internal::FormatTimeInMillisAsSeconds(), testing::UnitTest::GetTestCase(), GTEST_FLAG, i, OutputXmlAttribute(), PrintXmlTestCase(), testing::UnitTest::random_seed(), testing::UnitTest::reportable_disabled_test_count(), testing::TestCase::reportable_test_count(), testing::UnitTest::reportable_test_count(), testing::UnitTest::start_timestamp(), testing::internal::StreamableToString(), TestPropertiesAsXmlAttributes(), and testing::UnitTest::total_test_case_count().
Referenced by OnTestIterationEnd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 3522 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3522 of file gtest.cc
References IsValidXmlCharacter(), it, and check_smearing_config::output.
Referenced by OutputXmlTestInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 3741 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3741 of file gtest.cc
References EscapeXmlAttribute(), testing::Message::GetString(), testing::TestResult::GetTestProperty(), i, and testing::TestResult::test_property_count().
Referenced by OutputXmlTestInfo(), PrintXmlTestCase(), and PrintXmlUnitTest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3416 of file gtest.cc.
View newest version in sPHENIX GitHub at line 3416 of file gtest.cc
Referenced by OnTestIterationEnd(), and XmlUnitTestResultPrinter().