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

Function TEST

CppCoverageTest/HandleInformationTest.cpp:33–46  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

31{
32 //-------------------------------------------------------------------------
33 TEST(HandleInformationTest, ComputeFilename)
34 {
35 auto outputBinaryPath = TestCoverageConsole::GetOutputBinaryPath();
36 fs::path path;
37
38 TestTools::GetHandles(outputBinaryPath, [&](HANDLE hProcess, HANDLE hFile)
39 {
40 cov::HandleInformation handleInformation;
41
42 path = handleInformation.ComputeFilename(hFile);
43 });
44
45 ASSERT_EQ(outputBinaryPath, path);
46 }
47}

Callers

nothing calls this directly

Calls 3

GetHandlesFunction · 0.85
ComputeFilenameMethod · 0.80
GetOutputBinaryPathFunction · 0.50

Tested by

no test coverage detected