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

Function TEST

ExporterTest/HtmlFileCoverageExporterTest.cpp:94–98  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

92
93 //---------------------------------------------------------------------
94 TEST(HtmlFileCoverageExporterTest, ExecutedLine)
95 {
96 auto exportedLines = GetExportedLines({ {Line, CoverageType::Cover} });
97 ASSERT_EQ(StyleExecuted + Line + EndStyle, exportedLines.at(0));
98 }
99
100 //---------------------------------------------------------------------
101 TEST(HtmlFileCoverageExporterTest, NotExecutedLine)

Callers

nothing calls this directly

Calls 2

GetExportedLinesFunction · 0.85

Tested by

no test coverage detected