MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / FileTest

Method FileTest

Tests/Libraries/File/FileTest.cpp:38–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36struct 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();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected