Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_session.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-04-10 21:50:30 +0200
committerMartin Hořeňovský2022-04-10 21:50:51 +0200
commit4e006a93ffbce660c73f3bcd503513bac03050e5 (patch)
treec075282d1f4523feb12c84dc32c67a4e43c295d0 /src/catch2/catch_session.cpp
parent73d8fb5bca1e428764a0c49c3efb9455d77f9d4d (diff)
downloadcatch3-4e006a93ffbce660c73f3bcd503513bac03050e5.tar.gz
Rename IStreamingReporterPtr => IEventListenerPtr
This reflects the renaming of the reporter/listener base class.
Diffstat (limited to 'src/catch2/catch_session.cpp')
-rw-r--r--src/catch2/catch_session.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp
index 86295844..5af8f454 100644
--- a/src/catch2/catch_session.cpp
+++ b/src/catch2/catch_session.cpp
@@ -34,14 +34,14 @@ namespace Catch {
namespace {
const int MaxExitCode = 255;
- IStreamingReporterPtr createReporter(std::string const& reporterName, ReporterConfig const& config) {
+ IEventListenerPtr createReporter(std::string const& reporterName, ReporterConfig const& config) {
auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << '\'');
return reporter;
}
- IStreamingReporterPtr prepareReporters(Config const* config) {
+ IEventListenerPtr prepareReporters(Config const* config) {
if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()
&& config->getReporterSpecs().size() == 1) {
auto const& spec = config->getReporterSpecs()[0];
@@ -80,7 +80,7 @@ namespace Catch {
class TestGroup {
public:
- explicit TestGroup(IStreamingReporterPtr&& reporter, Config const* config):
+ explicit TestGroup(IEventListenerPtr&& reporter, Config const* config):
m_reporter(reporter.get()),
m_config{config},
m_context{config, CATCH_MOVE(reporter)} {