MCPcopy Create free account
hub / github.com/catchorg/Catch2 / writeCounts

Function writeCounts

extras/catch_amalgamated.cpp:10762–10767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10760 }
10761
10762 static void writeCounts( JsonObjectWriter&& writer, Counts const& counts ) {
10763 writer.write( "passed"_sr ).write( counts.passed );
10764 writer.write( "failed"_sr ).write( counts.failed );
10765 writer.write( "fail-but-ok"_sr ).write( counts.failedButOk );
10766 writer.write( "skipped"_sr ).write( counts.skipped );
10767 }
10768
10769 void JsonReporter::testRunEnded(TestRunStats const& runStats) {
10770 assert( isInside( Writer::Array ) );

Callers 3

testRunEndedMethod · 0.70
testCaseEndedMethod · 0.70
testCasePartialEndedMethod · 0.70

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected