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

Function TEST_F

CppCoverageTest/CoverageRateComputerTest.cpp:79–85  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

77
78 //-------------------------------------------------------------------------
79 TEST_F(CoverageRateComputerTest, FileCoverage)
80 {
81 const auto& rate = coverageRateComputer_->GetCoverageRate(*file2_);
82
83 ASSERT_EQ(1, rate.GetExecutedLinesCount());
84 ASSERT_EQ(2, rate.GetUnExecutedLinesCount());
85 }
86
87 //-------------------------------------------------------------------------
88 TEST_F(CoverageRateComputerTest, ModuleCoverage)

Callers

nothing calls this directly

Calls 4

GetExecutedLinesCountMethod · 0.80

Tested by

no test coverage detected