File Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/libcatch.x/i/catch2/interfaces/catch_interfaces_reporter_factory.hpp
Criterion Covered Total %
statement 1 1 100.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 1 1 100.0


line stmt bran cond sub pod time code
1              
2             // Copyright Catch2 Authors
3             // Distributed under the Boost Software License, Version 1.0.
4             // (See accompanying file LICENSE_1_0.txt or copy at
5             // https://www.boost.org/LICENSE_1_0.txt)
6              
7             // SPDX-License-Identifier: BSL-1.0
8             #ifndef CATCH_INTERFACES_REPORTER_FACTORY_HPP_INCLUDED
9             #define CATCH_INTERFACES_REPORTER_FACTORY_HPP_INCLUDED
10              
11             #include
12              
13             #include
14              
15             namespace Catch {
16              
17             struct ReporterConfig;
18             struct IStreamingReporter;
19             using IStreamingReporterPtr = Detail::unique_ptr;
20              
21              
22 2           struct IReporterFactory {
23             virtual ~IReporterFactory(); // = default
24              
25             virtual IStreamingReporterPtr
26             create( ReporterConfig const& config ) const = 0;
27             virtual std::string getDescription() const = 0;
28             };
29             using IReporterFactoryPtr = Detail::unique_ptr;
30             } // namespace Catch
31              
32             #endif // CATCH_INTERFACES_REPORTER_FACTORY_HPP_INCLUDED