Home | History | Annotate | Download | only in reporters
      1 /*
      2  *  Created by Martin Moene on 2013-12-05.
      3  *  Copyright 2012 Martin Moene. All rights reserved.
      4  *
      5  *  Distributed under the Boost Software License, Version 1.0. (See accompanying
      6  *  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      7  */
      8 #ifndef TWOBLUECUBES_CATCH_REPORTER_COMPACT_H_INCLUDED
      9 #define TWOBLUECUBES_CATCH_REPORTER_COMPACT_H_INCLUDED
     10 
     11 
     12 #include "catch_reporter_bases.hpp"
     13 
     14 
     15 namespace Catch {
     16 
     17     struct CompactReporter : StreamingReporterBase<CompactReporter> {
     18 
     19         using StreamingReporterBase::StreamingReporterBase;
     20 
     21         ~CompactReporter() override;
     22 
     23         static std::string getDescription();
     24 
     25         ReporterPreferences getPreferences() const override;
     26 
     27         void noMatchingTestCases(std::string const& spec) override;
     28 
     29         void assertionStarting(AssertionInfo const&) override;
     30 
     31         bool assertionEnded(AssertionStats const& _assertionStats) override;
     32 
     33         void sectionEnded(SectionStats const& _sectionStats) override;
     34 
     35         void testRunEnded(TestRunStats const& _testRunStats) override;
     36 
     37     };
     38 
     39 } // end namespace Catch
     40 
     41 #endif // TWOBLUECUBES_CATCH_REPORTER_COMPACT_H_INCLUDED
     42