catch_reporter_compact.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. #include "catch_reporter_bases.hpp"
  11. namespace Catch {
  12. struct CompactReporter : StreamingReporterBase<CompactReporter> {
  13. using StreamingReporterBase::StreamingReporterBase;
  14. ~CompactReporter() override;
  15. static std::string getDescription();
  16. void noMatchingTestCases(std::string const& spec) override;
  17. void assertionStarting(AssertionInfo const&) override;
  18. bool assertionEnded(AssertionStats const& _assertionStats) override;
  19. void sectionEnded(SectionStats const& _sectionStats) override;
  20. void testRunEnded(TestRunStats const& _testRunStats) override;
  21. };
  22. } // end namespace Catch
  23. #endif // TWOBLUECUBES_CATCH_REPORTER_COMPACT_H_INCLUDED