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