From c1b59b7071430cb206326f0653f71d57111a88c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Fri, 18 Jun 2021 00:00:24 +0200 Subject: [PATCH] Mark JUnit reporter's internal members as private --- 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);