| 10083 | namespace Catch { |
| 10084 | namespace { |
| 10085 | void writeSourceInfo( JsonObjectWriter& writer, |
| 10086 | SourceLineInfo const& sourceInfo ) { |
| 10087 | auto source_location_writer = |
| 10088 | writer.write( "source-location"_sr ).writeObject(); |
| 10089 | source_location_writer.write( "filename"_sr ) |
| 10090 | .write( sourceInfo.file ); |
| 10091 | source_location_writer.write( "line"_sr ).write( sourceInfo.line ); |
| 10092 | } |
| 10093 | |
| 10094 | void writeTags( JsonArrayWriter writer, std::vector<Tag> const& tags ) { |
| 10095 | for ( auto const& tag : tags ) { |
no test coverage detected