File indexing completed on 2025-01-30 10:02:52
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef CATCH_REPORTER_AUTOMAKE_HPP_INCLUDED
0009 #define CATCH_REPORTER_AUTOMAKE_HPP_INCLUDED
0010
0011 #include <catch2/reporters/catch_reporter_streaming_base.hpp>
0012 #include <catch2/internal/catch_move_and_forward.hpp>
0013
0014 #include <string>
0015
0016 namespace Catch {
0017
0018 class AutomakeReporter final : public StreamingReporterBase {
0019 public:
0020
0021
0022 AutomakeReporter(ReporterConfig&& _config):
0023 StreamingReporterBase(CATCH_MOVE(_config))
0024 {}
0025 ~AutomakeReporter() override;
0026
0027 static std::string getDescription() {
0028 using namespace std::string_literals;
0029 return "Reports test results in the format of Automake .trs files"s;
0030 }
0031
0032 void testCaseEnded(TestCaseStats const& _testCaseStats) override;
0033 void skipTest(TestCaseInfo const& testInfo) override;
0034 };
0035
0036 }
0037
0038 #endif