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

Function TEST

CppCoverageTest/ProcessTest.cpp:33–40  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

31{
32 //-------------------------------------------------------------------------
33 TEST(Process, StartWithArgument)
34 {
35 cov::StartInfo startInfo{ TestCoverageConsole::GetOutputBinaryPath() };
36 startInfo.AddArgument(TestCoverageConsole::TestThrowHandledException);
37
38 cov::Process process{ startInfo };
39 ASSERT_NO_THROW(process.Start(0));
40 }
41
42 //-------------------------------------------------------------------------
43 TEST(Process, InvalidProgram)

Callers

nothing calls this directly

Calls 4

ASSERT_NO_THROWFunction · 0.85
AddArgumentMethod · 0.80
StartMethod · 0.80
GetOutputBinaryPathFunction · 0.50

Tested by

no test coverage detected