| 13 | struct SC::PathTest : public SC::TestCase |
| 14 | { |
| 15 | PathTest(SC::TestReport& report) : TestCase(report, "PathTest") |
| 16 | { |
| 17 | if (test_section("Path::isAbsolute")) |
| 18 | { |
| 19 | testIsAbsolute(report); |
| 20 | } |
| 21 | if (test_section("Path::dirname")) |
| 22 | { |
| 23 | testDirname(report); |
| 24 | } |
| 25 | if (test_section("Path::basename")) |
| 26 | { |
| 27 | testBasename(report); |
| 28 | } |
| 29 | if (test_section("Path::ParsedView::parsePosix")) |
| 30 | { |
| 31 | testParsePosix(report); |
| 32 | } |
| 33 | |
| 34 | if (test_section("Path::ParsedView::parseWindows")) |
| 35 | { |
| 36 | testParseWindows(report); |
| 37 | } |
| 38 | |
| 39 | if (test_section("Path::parseNameExtension")) |
| 40 | { |
| 41 | testParseNameExtension(report); |
| 42 | } |
| 43 | |
| 44 | if (test_section("Path::parse")) |
| 45 | { |
| 46 | testParse(report); |
| 47 | } |
| 48 | |
| 49 | if (test_section("Path::normalize")) |
| 50 | { |
| 51 | testNormalize(report); |
| 52 | } |
| 53 | |
| 54 | if (test_section("Path::relativeFromTo")) |
| 55 | { |
| 56 | testRelativeFromTo(report); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | inline void testIsAbsolute(TestReport& report); |
| 61 | inline void testDirname(TestReport& report); |
nothing calls this directly
no outgoing calls
no test coverage detected