| 10632 | namespace Catch { |
| 10633 | namespace { |
| 10634 | void writeSourceInfo( JsonObjectWriter& writer, |
| 10635 | SourceLineInfo const& sourceInfo ) { |
| 10636 | auto source_location_writer = |
| 10637 | writer.write( "source-location"_sr ).writeObject(); |
| 10638 | source_location_writer.write( "filename"_sr ) |
| 10639 | .write( sourceInfo.file ); |
| 10640 | source_location_writer.write( "line"_sr ).write( sourceInfo.line ); |
| 10641 | } |
| 10642 | |
| 10643 | void writeTags( JsonArrayWriter writer, std::vector<Tag> const& tags ) { |
| 10644 | for ( auto const& tag : tags ) { |
no test coverage detected