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

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/TestRegistrations.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-08-24 22:52:59 +0200
committerMartin Hořeňovský2020-08-29 19:09:54 +0200
commit33ad1ee2ac7beaae8d6bfa661213d13cecbce196 (patch)
tree38241cca7d27b67f4eccc6dc5284e1388cd24a91 /tests/SelfTest/TestRegistrations.cpp
parentf9fdc96cbfbd79397af202d9afdd3f8eb906b73b (diff)
downloadcatch3-33ad1ee2ac7beaae8d6bfa661213d13cecbce196.tar.gz
Split EventListener base from streaming_base.hpp
The base was also renamed from `TestEventListenerBase` to `EventListenerBase`, and modified to derive directly from the reporter interface, rather than deriving from `StreamingReporterBase`.
Diffstat (limited to 'tests/SelfTest/TestRegistrations.cpp')
-rw-r--r--tests/SelfTest/TestRegistrations.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/SelfTest/TestRegistrations.cpp b/tests/SelfTest/TestRegistrations.cpp
index ee5d0a15..cb8376bd 100644
--- a/tests/SelfTest/TestRegistrations.cpp
+++ b/tests/SelfTest/TestRegistrations.cpp
@@ -4,6 +4,7 @@
*/
#include <catch2/catch_tag_alias_autoregistrar.hpp>
+#include <catch2/reporters/catch_reporter_event_listener.hpp>
// Some example tag aliases
CATCH_REGISTER_TAG_ALIAS( "[@nhf]", "[failing]~[.]" )
@@ -15,10 +16,9 @@ CATCH_REGISTER_TAG_ALIAS( "[@tricky]", "[tricky]~[.]" )
# pragma clang diagnostic ignored "-Wc++98-compat"
#endif
-#include <catch2/reporters/catch_reporter_streaming_base.hpp>
-struct TestListener : Catch::TestEventListenerBase {
- using TestEventListenerBase::TestEventListenerBase;
+struct TestListener : Catch::EventListenerBase {
+ using EventListenerBase::EventListenerBase;
};
#include <catch2/catch_reporter_registrars.hpp>