MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / SetUp

Method SetUp

tests/src/Base/FileInfo.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17
18 void SetUp() override
19 {
20 Base::ofstream str(file, std::ios::out);
21 str << "Test\n";
22 str.close();
23 dir.createDirectory();
24 }
25
26 void TearDown() override
27 {

Callers

nothing calls this directly

Calls 2

createDirectoryMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected