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

Function TEST

tests/CppUTest/JUnitOutputTest.cpp:358–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356};
357
358TEST(JUnitOutputTest, withOneTestGroupAndOneTestOnlyWriteToOneFile)
359{
360 testCaseRunner->start()
361 .withGroup("groupname").withTest("testname")
362 .end();
363
364 LONGS_EQUAL(1, fileSystem.amountOfFiles());
365 CHECK(fileSystem.fileExists("cpputest_groupname.xml"));
366}
367
368TEST(JUnitOutputTest, withReservedCharactersInPackageOrTestGroupUsesUnderscoresForFileName)
369{

Callers

nothing calls this directly

Calls 9

amountOfFilesMethod · 0.80
fileExistsMethod · 0.80
fileMethod · 0.80
lineMethod · 0.80
lineFromTheBackMethod · 0.80
asCharStringMethod · 0.80
createFileNameMethod · 0.80
startMethod · 0.45
setPackageNameMethod · 0.45

Tested by

no test coverage detected