Home
last modified time | relevance | path

Searched refs:sectionNode (Results 1 – 8 of 8) sorted by relevance

/external/catch2/single_include/catch2/
Dcatch_reporter_sonarqube.hpp83 … void writeSection(std::string const& rootName, SectionNode const& sectionNode, bool okToFail) { in writeSection()
84 std::string name = trim(sectionNode.stats.sectionInfo.name); in writeSection()
88 …if(!sectionNode.assertions.empty() || !sectionNode.stdOut.empty() || !sectionNode.stdErr.empty()) { in writeSection()
91 … xml.writeAttribute("duration", static_cast<long>(sectionNode.stats.durationInSeconds * 1000)); in writeSection()
93 writeAssertions(sectionNode, okToFail); in writeSection()
96 for(auto const& childNode : sectionNode.childSections) in writeSection()
100 void writeAssertions(SectionNode const& sectionNode, bool okToFail) { in writeAssertions()
101 for(auto const& assertion : sectionNode.assertions) in writeAssertions()
Dcatch.hpp5866 SectionNode& sectionNode = *m_sectionStack.back(); in assertionEnded() local
5867 sectionNode.assertions.push_back(assertionStats); in assertionEnded()
6311 SectionNode const& sectionNode);
6313 void writeAssertions(SectionNode const& sectionNode);
16645 SectionNode const& sectionNode ) { in writeSection() argument
16646 std::string name = trim( sectionNode.stats.sectionInfo.name ); in writeSection()
16650 if( !sectionNode.assertions.empty() || in writeSection()
16651 !sectionNode.stdOut.empty() || in writeSection()
16652 !sectionNode.stdErr.empty() ) { in writeSection()
16662 … xml.writeAttribute( "time", ::Catch::Detail::stringify( sectionNode.stats.durationInSeconds ) ); in writeSection()
[all …]
/external/catch2/include/reporters/
Dcatch_reporter_sonarqube.hpp83 … void writeSection(std::string const& rootName, SectionNode const& sectionNode, bool okToFail) { in writeSection()
84 std::string name = trim(sectionNode.stats.sectionInfo.name); in writeSection()
88 …if(!sectionNode.assertions.empty() || !sectionNode.stdOut.empty() || !sectionNode.stdErr.empty()) { in writeSection()
91 … xml.writeAttribute("duration", static_cast<long>(sectionNode.stats.durationInSeconds * 1000)); in writeSection()
93 writeAssertions(sectionNode, okToFail); in writeSection()
96 for(auto const& childNode : sectionNode.childSections) in writeSection()
100 void writeAssertions(SectionNode const& sectionNode, bool okToFail) { in writeAssertions()
101 for(auto const& assertion : sectionNode.assertions) in writeAssertions()
Dcatch_reporter_junit.cpp178 SectionNode const& sectionNode ) { in writeSection() argument
179 std::string name = trim( sectionNode.stats.sectionInfo.name ); in writeSection()
183 if( !sectionNode.assertions.empty() || in writeSection()
184 !sectionNode.stdOut.empty() || in writeSection()
185 !sectionNode.stdErr.empty() ) { in writeSection()
195 … xml.writeAttribute( "time", ::Catch::Detail::stringify( sectionNode.stats.durationInSeconds ) ); in writeSection()
197 writeAssertions( sectionNode ); in writeSection()
199 if( !sectionNode.stdOut.empty() ) in writeSection()
200 … xml.scopedElement( "system-out" ).writeText( trim( sectionNode.stdOut ), XmlFormatting::Newline ); in writeSection()
201 if( !sectionNode.stdErr.empty() ) in writeSection()
[all …]
Dcatch_reporter_junit.h46 SectionNode const& sectionNode);
48 void writeAssertions(SectionNode const& sectionNode);
Dcatch_reporter_bases.hpp209 SectionNode& sectionNode = *m_sectionStack.back(); in assertionEnded() local
210 sectionNode.assertions.push_back(assertionStats); in assertionEnded()
/external/bcc/tests/cc/
Dcatch.hpp8682 SectionNode& sectionNode = *m_sectionStack.back(); in assertionEnded() local
8683 sectionNode.assertions.push_back( assertionStats ); in assertionEnded()
9366 SectionNode const& sectionNode ) { in writeSection() argument
9367 std::string name = trim( sectionNode.stats.sectionInfo.name ); in writeSection()
9371 if( !sectionNode.assertions.empty() || in writeSection()
9372 !sectionNode.stdOut.empty() || in writeSection()
9373 !sectionNode.stdErr.empty() ) { in writeSection()
9383 … xml.writeAttribute( "time", Catch::toString( sectionNode.stats.durationInSeconds ) ); in writeSection()
9385 writeAssertions( sectionNode ); in writeSection()
9387 if( !sectionNode.stdOut.empty() ) in writeSection()
[all …]
/external/libabigail/tests/lib/
Dcatch.hpp5902 SectionNode& sectionNode = *m_sectionStack.back(); in assertionEnded() local
5903 sectionNode.assertions.push_back(assertionStats); in assertionEnded()
6345 SectionNode const& sectionNode);
6347 void writeAssertions(SectionNode const& sectionNode);
16898 SectionNode const& sectionNode ) { in writeSection() argument
16899 std::string name = trim( sectionNode.stats.sectionInfo.name ); in writeSection()
16903 if( !sectionNode.assertions.empty() || in writeSection()
16904 !sectionNode.stdOut.empty() || in writeSection()
16905 !sectionNode.stdErr.empty() ) { in writeSection()
16915 … xml.writeAttribute( "time", ::Catch::Detail::stringify( sectionNode.stats.durationInSeconds ) ); in writeSection()
[all …]