diff options
| author | Martin Hořeňovský | 2022-01-04 21:48:20 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-01-05 00:00:28 +0100 |
| commit | 103cb16696b7972e4f53aacea87f522ba63d2d31 (patch) | |
| tree | 001882916ab6e7ecb4461174ce733b75a37d65dc /tests/SelfTest/IntrospectiveTests | |
| parent | 244680d5126396db5bf2708e185a43c2671edb28 (diff) | |
| download | catch3-103cb16696b7972e4f53aacea87f522ba63d2d31.tar.gz | |
Rename listening reporter to multi reporter
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests')
| -rw-r--r-- | tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp b/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp index 16fd17dd..8bb04352 100644 --- a/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp @@ -18,7 +18,7 @@ #include <catch2/reporters/catch_reporter_helpers.hpp> #include <catch2/reporters/catch_reporter_event_listener.hpp> #include <catch2/reporters/catch_reporter_streaming_base.hpp> -#include <catch2/reporters/catch_reporter_listening.hpp> +#include <catch2/reporters/catch_reporter_multi.hpp> #include <sstream> @@ -165,7 +165,7 @@ TEST_CASE("Multireporter calls reporters and listeners in correct order", // We add reporters before listeners, to check that internally they // get sorted properly, and listeners are called first anyway. - Catch::ListeningReporter multiReporter( &config ); + Catch::MultiReporter multiReporter( &config ); std::vector<std::string> records; multiReporter.addReporter( Catch::Detail::make_unique<MockReporter>( "Goodbye", records, rep_config ) ); @@ -215,7 +215,7 @@ TEST_CASE("Multireporter updates ReporterPreferences properly", Catch::Config config( config_data ); std::stringstream sstream; Catch::ReporterConfig rep_config( &config, sstream ); - Catch::ListeningReporter multiReporter( &config ); + Catch::MultiReporter multiReporter( &config ); // Post init defaults REQUIRE( multiReporter.getPreferences().shouldRedirectStdOut == false ); |