MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / GetExpectedResult

Function GetExpectedResult

ExporterTest/CoberturaExporterTest.cpp:42–51  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

40 {
41 //-------------------------------------------------------------------------
42 std::wstring GetExpectedResult()
43 {
44 fs::path expectedResult = fs::path(PROJECT_DIR) / "Data" / "CoberturaExporterExpectedResult.xml";
45 std::wifstream ifs{ expectedResult.wstring().c_str() };
46 std::wostringstream ostr;
47
48 ostr << ifs.rdbuf();
49
50 return ostr.str();
51 }
52 }
53
54 //-------------------------------------------------------------------------

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected