forked from catchorg/Catch2
Rename IStreamingReporterPtr => IEventListenerPtr
This reflects the renaming of the reporter/listener base class.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user