#include <catch_reporter_listening.h>
Definition at line 14 of file catch_reporter_listening.h.
◆ ListeningReporter()
Catch::ListeningReporter::ListeningReporter |
( |
| ) |
|
◆ addListener()
◆ addReporter()
Definition at line 23 of file catch_reporter_listening.cpp.
23 {
24 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
25 m_reporter = std::move( reporter );
27 }
bool shouldRedirectStdOut
◆ assertionEnded()
bool Catch::ListeningReporter::assertionEnded |
( |
AssertionStats const & | assertionStats | ) |
|
|
overridevirtual |
Implements Catch::IStreamingReporter.
Definition at line 95 of file catch_reporter_listening.cpp.
95 {
96 for( auto const& listener : m_listeners ) {
97 static_cast<void>( listener->assertionEnded( assertionStats ) );
98 }
99 return m_reporter->assertionEnded( assertionStats );
100 }
◆ assertionStarting()
void Catch::ListeningReporter::assertionStarting |
( |
AssertionInfo const & | assertionInfo | ) |
|
|
overridevirtual |
◆ benchmarkEnded()
void Catch::ListeningReporter::benchmarkEnded |
( |
BenchmarkStats const & | benchmarkStats | ) |
|
|
overridevirtual |
◆ benchmarkStarting()
void Catch::ListeningReporter::benchmarkStarting |
( |
BenchmarkInfo const & | benchmarkInfo | ) |
|
|
overridevirtual |
◆ getPreferences()
◆ getSupportedVerbosities()
std::set< Verbosity > Catch::ListeningReporter::getSupportedVerbosities |
( |
| ) |
|
|
static |
◆ isMulti()
bool Catch::ListeningReporter::isMulti |
( |
| ) |
const |
|
overridevirtual |
◆ noMatchingTestCases()
void Catch::ListeningReporter::noMatchingTestCases |
( |
std::string const & | spec | ) |
|
|
overridevirtual |
◆ sectionEnded()
void Catch::ListeningReporter::sectionEnded |
( |
SectionStats const & | sectionStats | ) |
|
|
overridevirtual |
◆ sectionStarting()
void Catch::ListeningReporter::sectionStarting |
( |
SectionInfo const & | sectionInfo | ) |
|
|
overridevirtual |
◆ skipTest()
void Catch::ListeningReporter::skipTest |
( |
TestCaseInfo const & | testInfo | ) |
|
|
overridevirtual |
◆ testCaseEnded()
void Catch::ListeningReporter::testCaseEnded |
( |
TestCaseStats const & | testCaseStats | ) |
|
|
overridevirtual |
◆ testCaseStarting()
void Catch::ListeningReporter::testCaseStarting |
( |
TestCaseInfo const & | testInfo | ) |
|
|
overridevirtual |
◆ testGroupEnded()
void Catch::ListeningReporter::testGroupEnded |
( |
TestGroupStats const & | testGroupStats | ) |
|
|
overridevirtual |
◆ testGroupStarting()
void Catch::ListeningReporter::testGroupStarting |
( |
GroupInfo const & | groupInfo | ) |
|
|
overridevirtual |
◆ testRunEnded()
void Catch::ListeningReporter::testRunEnded |
( |
TestRunStats const & | testRunStats | ) |
|
|
overridevirtual |
◆ testRunStarting()
void Catch::ListeningReporter::testRunStarting |
( |
TestRunInfo const & | testRunInfo | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: