Wire Sysio Wire Sysion 1.0.0
|
#include <catch_reporter_junit.h>
Public Member Functions | |
JunitReporter (ReporterConfig const &_config) | |
~JunitReporter () override | |
void | noMatchingTestCases (std::string const &) override |
void | testRunStarting (TestRunInfo const &runInfo) override |
void | testGroupStarting (GroupInfo const &groupInfo) override |
void | testCaseStarting (TestCaseInfo const &testCaseInfo) override |
bool | assertionEnded (AssertionStats const &assertionStats) override |
void | testCaseEnded (TestCaseStats const &testCaseStats) override |
void | testGroupEnded (TestGroupStats const &testGroupStats) override |
void | testRunEndedCumulative () override |
void | writeGroup (TestGroupNode const &groupNode, double suiteTime) |
void | writeTestCase (TestCaseNode const &testCaseNode) |
void | writeSection (std::string const &className, std::string const &rootName, SectionNode const §ionNode) |
void | writeAssertions (SectionNode const §ionNode) |
void | writeAssertion (AssertionStats const &stats) |
Public Member Functions inherited from Catch::CumulativeReporterBase< JunitReporter > | |
CumulativeReporterBase (ReporterConfig const &_config) | |
~CumulativeReporterBase () override=default | |
ReporterPreferences | getPreferences () const override |
void | sectionStarting (SectionInfo const §ionInfo) override |
void | assertionStarting (AssertionInfo const &) override |
void | sectionEnded (SectionStats const §ionStats) override |
void | testRunEnded (TestRunStats const &testRunStats) override |
void | skipTest (TestCaseInfo const &) override |
Public Member Functions inherited from Catch::IStreamingReporter | |
virtual | ~IStreamingReporter ()=default |
virtual void | benchmarkStarting (BenchmarkInfo const &) |
virtual void | benchmarkEnded (BenchmarkStats const &) |
virtual void | fatalErrorEncountered (StringRef name) |
virtual bool | isMulti () const |
Static Public Member Functions | |
static std::string | getDescription () |
Static Public Member Functions inherited from Catch::CumulativeReporterBase< JunitReporter > | |
static std::set< Verbosity > | getSupportedVerbosities () |
Public Attributes | |
XmlWriter | xml |
Timer | suiteTimer |
std::string | stdOutForSuite |
std::string | stdErrForSuite |
unsigned int | unexpectedExceptions = 0 |
bool | m_okToFail = false |
Public Attributes inherited from Catch::CumulativeReporterBase< JunitReporter > | |
IConfigPtr | m_config |
std::ostream & | stream |
std::vector< AssertionStats > | m_assertions |
std::vector< std::vector< std::shared_ptr< SectionNode > > > | m_sections |
std::vector< std::shared_ptr< TestCaseNode > > | m_testCases |
std::vector< std::shared_ptr< TestGroupNode > > | m_testGroups |
std::vector< std::shared_ptr< TestRunNode > > | m_testRuns |
std::shared_ptr< SectionNode > | m_rootSection |
std::shared_ptr< SectionNode > | m_deepestSection |
std::vector< std::shared_ptr< SectionNode > > | m_sectionStack |
ReporterPreferences | m_reporterPrefs |
Additional Inherited Members | |
Public Types inherited from Catch::CumulativeReporterBase< JunitReporter > | |
using | TestCaseNode |
using | TestGroupNode |
using | TestRunNode |
Definition at line 17 of file catch_reporter_junit.h.
Catch::JunitReporter::JunitReporter | ( | ReporterConfig const & | _config | ) |
Definition at line 60 of file catch_reporter_junit.cpp.
|
override |
Definition at line 68 of file catch_reporter_junit.cpp.
|
overridevirtual |
Reimplemented from Catch::CumulativeReporterBase< JunitReporter >.
Definition at line 93 of file catch_reporter_junit.cpp.
|
static |
Definition at line 70 of file catch_reporter_junit.cpp.
|
overridevirtual |
|
overridevirtual |
Reimplemented from Catch::CumulativeReporterBase< JunitReporter >.
Definition at line 99 of file catch_reporter_junit.cpp.
|
overridevirtual |
Reimplemented from Catch::CumulativeReporterBase< JunitReporter >.
Definition at line 89 of file catch_reporter_junit.cpp.
|
overridevirtual |
Reimplemented from Catch::CumulativeReporterBase< JunitReporter >.
Definition at line 105 of file catch_reporter_junit.cpp.
|
overridevirtual |
Reimplemented from Catch::CumulativeReporterBase< JunitReporter >.
Definition at line 81 of file catch_reporter_junit.cpp.
|
overridevirtual |
Implements Catch::CumulativeReporterBase< JunitReporter >.
Definition at line 111 of file catch_reporter_junit.cpp.
|
overridevirtual |
Reimplemented from Catch::CumulativeReporterBase< JunitReporter >.
Definition at line 76 of file catch_reporter_junit.cpp.
void Catch::JunitReporter::writeAssertion | ( | AssertionStats const & | stats | ) |
Definition at line 215 of file catch_reporter_junit.cpp.
void Catch::JunitReporter::writeAssertions | ( | SectionNode const & | sectionNode | ) |
Definition at line 210 of file catch_reporter_junit.cpp.
void Catch::JunitReporter::writeGroup | ( | TestGroupNode const & | groupNode, |
double | suiteTime ) |
Definition at line 115 of file catch_reporter_junit.cpp.
void Catch::JunitReporter::writeSection | ( | std::string const & | className, |
std::string const & | rootName, | ||
SectionNode const & | sectionNode ) |
Definition at line 175 of file catch_reporter_junit.cpp.
void Catch::JunitReporter::writeTestCase | ( | TestCaseNode const & | testCaseNode | ) |
Definition at line 153 of file catch_reporter_junit.cpp.
bool Catch::JunitReporter::m_okToFail = false |
Definition at line 56 of file catch_reporter_junit.h.
std::string Catch::JunitReporter::stdErrForSuite |
Definition at line 54 of file catch_reporter_junit.h.
std::string Catch::JunitReporter::stdOutForSuite |
Definition at line 53 of file catch_reporter_junit.h.
Timer Catch::JunitReporter::suiteTimer |
Definition at line 52 of file catch_reporter_junit.h.
unsigned int Catch::JunitReporter::unexpectedExceptions = 0 |
Definition at line 55 of file catch_reporter_junit.h.
XmlWriter Catch::JunitReporter::xml |
Definition at line 51 of file catch_reporter_junit.h.