Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:07

0001 
0002 //              Copyright Catch2 Authors
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //   (See accompanying file LICENSE.txt or copy at
0005 //        https://www.boost.org/LICENSE_1_0.txt)
0006 
0007 // SPDX-License-Identifier: BSL-1.0
0008 #ifndef CATCH_REPORTER_COMPACT_HPP_INCLUDED
0009 #define CATCH_REPORTER_COMPACT_HPP_INCLUDED
0010 
0011 
0012 #include <catch2/reporters/catch_reporter_streaming_base.hpp>
0013 
0014 
0015 namespace Catch {
0016 
0017     class CompactReporter final : public StreamingReporterBase {
0018     public:
0019         using StreamingReporterBase::StreamingReporterBase;
0020 
0021         ~CompactReporter() override;
0022 
0023         static std::string getDescription();
0024 
0025         void noMatchingTestCases( StringRef unmatchedSpec ) override;
0026 
0027         void testRunStarting( TestRunInfo const& _testInfo ) override;
0028 
0029         void assertionEnded(AssertionStats const& _assertionStats) override;
0030 
0031         void sectionEnded(SectionStats const& _sectionStats) override;
0032 
0033         void testRunEnded(TestRunStats const& _testRunStats) override;
0034 
0035     };
0036 
0037 } // end namespace Catch
0038 
0039 #endif // CATCH_REPORTER_COMPACT_HPP_INCLUDED