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

Function writeProperties

extras/catch_amalgamated.cpp:10649–10657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10647 }
10648
10649 void writeProperties( JsonArrayWriter writer,
10650 TestCaseInfo const& info ) {
10651 if ( info.isHidden() ) { writer.write( "is-hidden"_sr ); }
10652 if ( info.okToFail() ) { writer.write( "ok-to-fail"_sr ); }
10653 if ( info.expectedToFail() ) {
10654 writer.write( "expected-to-fail"_sr );
10655 }
10656 if ( info.throws() ) { writer.write( "throws"_sr ); }
10657 }
10658
10659 } // namespace
10660

Callers 1

testCaseStartingMethod · 0.70

Calls 5

isHiddenMethod · 0.45
writeMethod · 0.45
okToFailMethod · 0.45
expectedToFailMethod · 0.45
throwsMethod · 0.45

Tested by

no test coverage detected