diff options
| author | Martin Hořeňovský | 2020-08-24 22:52:59 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-08-29 19:09:54 +0200 |
| commit | 33ad1ee2ac7beaae8d6bfa661213d13cecbce196 (patch) | |
| tree | 38241cca7d27b67f4eccc6dc5284e1388cd24a91 /tests/SelfTest/TestRegistrations.cpp | |
| parent | f9fdc96cbfbd79397af202d9afdd3f8eb906b73b (diff) | |
| download | catch3-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.cpp | 6 |
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> |