mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Move some impls of StreamingReporterBase members to .cpp file
This commit is contained in:
		@@ -99,6 +99,18 @@ namespace Catch {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    StreamingReporterBase::~StreamingReporterBase() = default;
 | 
			
		||||
 | 
			
		||||
    void StreamingReporterBase::testGroupEnded( TestGroupStats const& ) {
 | 
			
		||||
        currentGroupInfo.reset();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void StreamingReporterBase::testRunEnded( TestRunStats const& ) {
 | 
			
		||||
        currentTestCaseInfo = nullptr;
 | 
			
		||||
        currentGroupInfo.reset();
 | 
			
		||||
        currentTestRunInfo.reset();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    CumulativeReporterBase::~CumulativeReporterBase() = default;
 | 
			
		||||
 | 
			
		||||
    void
 | 
			
		||||
 
 | 
			
		||||
@@ -67,14 +67,8 @@ namespace Catch {
 | 
			
		||||
        void testCaseEnded(TestCaseStats const& /* _testCaseStats */) override {
 | 
			
		||||
            currentTestCaseInfo = nullptr;
 | 
			
		||||
        }
 | 
			
		||||
        void testGroupEnded(TestGroupStats const& /* _testGroupStats */) override {
 | 
			
		||||
            currentGroupInfo.reset();
 | 
			
		||||
        }
 | 
			
		||||
        void testRunEnded(TestRunStats const& /* _testRunStats */) override {
 | 
			
		||||
            currentTestCaseInfo = nullptr;
 | 
			
		||||
            currentGroupInfo.reset();
 | 
			
		||||
            currentTestRunInfo.reset();
 | 
			
		||||
        }
 | 
			
		||||
        void testGroupEnded( TestGroupStats const& ) override;
 | 
			
		||||
        void testRunEnded( TestRunStats const& /* _testRunStats */ ) override;
 | 
			
		||||
 | 
			
		||||
        void skipTest(TestCaseInfo const&) override {
 | 
			
		||||
            // Don't do anything with this by default.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user