MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / CreateAsciiTestFile

Function CreateAsciiTestFile

DebugView++Test/DebugView++Test.cpp:643–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641}
642
643std::string CreateAsciiTestFile()
644{
645 auto filename = GetTestFileName();
646 std::ofstream fs;
647 fs.open(filename, std::ofstream::trunc);
648 fs << "This is the first line\n";
649 fs << "\n"; // empty line
650 fs << "This is the last line\n";
651 return filename;
652}
653
654BOOST_AUTO_TEST_CASE(LogSourceDBLogReaderEmptyLines)
655{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

GetTestFileNameFunction · 0.85

Tested by

no test coverage detected