-------------------------------------------------------------------------
| 179 | |
| 180 | //------------------------------------------------------------------------- |
| 181 | void CoberturaExporter::Export( |
| 182 | const Plugin::CoverageData& coverageData, |
| 183 | const std::filesystem::path& output) |
| 184 | { |
| 185 | Tools::CreateParentFolderIfNeeded(output); |
| 186 | std::wofstream ofs{ output.string().c_str() }; |
| 187 | |
| 188 | if (!ofs) |
| 189 | throw InvalidOutputFileException(output, "cobertura"); |
| 190 | Export(coverageData, ofs); |
| 191 | Tools::ShowOutputMessage(L"Cobertura report generated: ", output); |
| 192 | } |
| 193 | |
| 194 | //------------------------------------------------------------------------- |
| 195 | void CoberturaExporter::Export( |