Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Mark JUnit reporter's internal members as private

Commit
c1b59b7071430cb206326f0653f71d57111a88c8
Author
Martin Hořeňovský ·
Parents
c77ba5314a82

Files · Download .tar.gz

Changes

 src/catch2/reporters/catch_reporter_junit.hpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/catch2/reporters/catch_reporter_junit.hpp b/src/catch2/reporters/catch_reporter_junit.hpp
index c76dddde..4f8cdbf2 100644
--- a/src/catch2/reporters/catch_reporter_junit.hpp
+++ b/src/catch2/reporters/catch_reporter_junit.hpp
@@ -38,13 +38,14 @@ namespace Catch {
 
         void testRunEndedCumulative() override;
 
+    private:
         void writeGroup(TestGroupNode const& groupNode, double suiteTime);
 
         void writeTestCase(TestCaseNode const& testCaseNode);
 
-        void writeSection(std::string const& className,
-                          std::string const& rootName,
-                          SectionNode const& sectionNode);
+        void writeSection( std::string const& className,
+                           std::string const& rootName,
+                           SectionNode const& sectionNode );
 
         void writeAssertions(SectionNode const& sectionNode);
         void writeAssertion(AssertionStats const& stats);