MCPcopy Create free account
hub / github.com/Icinga/icinga2 / CTestFileGenerator

Method CTestFileGenerator

test/test-ctest.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15CTestFileGenerator::CTestFileGenerator(const boost::filesystem::path& testexe, const boost::filesystem::path& outfile)
16 : m_Fp(outfile.string(), std::iostream::trunc), m_WorkDir(outfile.parent_path().string()),
17 m_TestExe(testexe.string())
18{
19 m_Fp.exceptions(std::iostream::badbit | std::iostream::failbit);
20}
21
22void CTestFileGenerator::visit(const boost::unit_test::test_case& test)
23{

Callers

nothing calls this directly

Calls 1

stringMethod · 0.45

Tested by

no test coverage detected