| 356 | }; |
| 357 | |
| 358 | TEST(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 | |
| 368 | TEST(JUnitOutputTest, withReservedCharactersInPackageOrTestGroupUsesUnderscoresForFileName) |
| 369 | { |
nothing calls this directly
no test coverage detected