diff options
| author | Martin Hořeňovský | 2022-04-10 21:50:30 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-04-10 21:50:51 +0200 |
| commit | 4e006a93ffbce660c73f3bcd503513bac03050e5 (patch) | |
| tree | c075282d1f4523feb12c84dc32c67a4e43c295d0 /src/catch2/interfaces | |
| parent | 73d8fb5bca1e428764a0c49c3efb9455d77f9d4d (diff) | |
| download | catch3-4e006a93ffbce660c73f3bcd503513bac03050e5.tar.gz | |
Rename IStreamingReporterPtr => IEventListenerPtr
This reflects the renaming of the reporter/listener base class.
Diffstat (limited to 'src/catch2/interfaces')
3 files changed, 6 insertions, 6 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.hpp b/src/catch2/interfaces/catch_interfaces_reporter.hpp index 9c367fe9..7f6ed249 100644 --- a/src/catch2/interfaces/catch_interfaces_reporter.hpp +++ b/src/catch2/interfaces/catch_interfaces_reporter.hpp @@ -251,7 +251,7 @@ namespace Catch { virtual void listTags(std::vector<TagInfo> const& tags) = 0; }; - using IStreamingReporterPtr = Detail::unique_ptr<IEventListener>; + using IEventListenerPtr = Detail::unique_ptr<IEventListener>; } // end namespace Catch diff --git a/src/catch2/interfaces/catch_interfaces_reporter_factory.hpp b/src/catch2/interfaces/catch_interfaces_reporter_factory.hpp index 0f9b90cd..4300fdb2 100644 --- a/src/catch2/interfaces/catch_interfaces_reporter_factory.hpp +++ b/src/catch2/interfaces/catch_interfaces_reporter_factory.hpp @@ -17,13 +17,13 @@ namespace Catch { struct ReporterConfig; struct IConfig; class IEventListener; - using IStreamingReporterPtr = Detail::unique_ptr<IEventListener>; + using IEventListenerPtr = Detail::unique_ptr<IEventListener>; struct IReporterFactory { virtual ~IReporterFactory(); // = default - virtual IStreamingReporterPtr + virtual IEventListenerPtr create( ReporterConfig const& config ) const = 0; virtual std::string getDescription() const = 0; }; @@ -32,7 +32,7 @@ namespace Catch { class EventListenerFactory { public: virtual ~EventListenerFactory(); // = default - virtual IStreamingReporterPtr create( IConfig const* config ) const = 0; + virtual IEventListenerPtr create( IConfig const* config ) const = 0; virtual std::string getDescription() const = 0; }; } // namespace Catch diff --git a/src/catch2/interfaces/catch_interfaces_reporter_registry.hpp b/src/catch2/interfaces/catch_interfaces_reporter_registry.hpp index 7a7b275d..fcb42755 100644 --- a/src/catch2/interfaces/catch_interfaces_reporter_registry.hpp +++ b/src/catch2/interfaces/catch_interfaces_reporter_registry.hpp @@ -20,7 +20,7 @@ namespace Catch { struct IConfig; class IEventListener; - using IStreamingReporterPtr = Detail::unique_ptr<IEventListener>; + using IEventListenerPtr = Detail::unique_ptr<IEventListener>; struct IReporterFactory; using IReporterFactoryPtr = Detail::unique_ptr<IReporterFactory>; struct ReporterConfig; @@ -31,7 +31,7 @@ namespace Catch { using Listeners = std::vector<Detail::unique_ptr<EventListenerFactory>>; virtual ~IReporterRegistry(); // = default - virtual IStreamingReporterPtr create( std::string const& name, ReporterConfig const& config ) const = 0; + virtual IEventListenerPtr create( std::string const& name, ReporterConfig const& config ) const = 0; virtual FactoryMap const& getFactories() const = 0; virtual Listeners const& getListeners() const = 0; }; |