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

Method formatError

Tests/Libraries/FileSystem/FileSystemTest.cpp:144–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142};
143
144void SC::FileSystemTest::formatError()
145{
146 FileSystem fs;
147 SC_TEST_EXPECT(fs.init(report.applicationRootDirectory.view()));
148 fs.preciseErrorMessages = true;
149
150 Result res = fs.removeEmptyDirectory("randomNonExistingDirectory");
151 SC_TEST_EXPECT(not res);
152 fs.preciseErrorMessages = false;
153
154 res = fs.removeEmptyDirectory("randomNonExistingDirectory");
155 SC_TEST_EXPECT(not res);
156}
157
158void SC::FileSystemTest::makeRemoveIsDirectory()
159{

Callers

nothing calls this directly

Calls 3

initMethod · 0.45
viewMethod · 0.45
removeEmptyDirectoryMethod · 0.45

Tested by

no test coverage detected