| 36 | struct SC::FileTest : public SC::TestCase |
| 37 | { |
| 38 | FileTest(SC::TestReport& report) : TestCase(report, "FileTest") |
| 39 | { |
| 40 | using namespace SC; |
| 41 | if (test_section("open")) |
| 42 | { |
| 43 | testOpen(); |
| 44 | } |
| 45 | if (test_section("open stdhandles")) |
| 46 | { |
| 47 | testOpenStdHandles(); |
| 48 | } |
| 49 | if (test_section("named pipe create/connect/accept")) |
| 50 | { |
| 51 | testNamedPipeCreateConnectAccept(); |
| 52 | } |
| 53 | if (test_section("descriptor operations")) |
| 54 | { |
| 55 | testDescriptorOperations(); |
| 56 | } |
| 57 | if (test_section("descriptor invalid handle")) |
| 58 | { |
| 59 | testDescriptorInvalidHandle(); |
| 60 | } |
| 61 | } |
| 62 | inline void testOpen(); |
| 63 | inline void testOpenStdHandles(); |
| 64 | inline void testNamedPipeCreateConnectAccept(); |
nothing calls this directly
no outgoing calls
no test coverage detected