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

Function TEST_F

tests/src/Base/FileInfo.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39TEST_F(FileInfoTest, TestDirectoryPath)
40{
41 Base::FileInfo relfile("nofile.txt");
42 relfile.setFile(relfile.dirPath());
43 EXPECT_TRUE(relfile.exists());
44}
45
46TEST_F(FileInfoTest, TestExistsDirectory)
47{

Callers

nothing calls this directly

Calls 15

dirPathMethod · 0.80
createDirectoryMethod · 0.80
getDirectoryContentMethod · 0.80
isReadableMethod · 0.80
setPermissionsMethod · 0.80
isFileMethod · 0.80
isDirMethod · 0.80
lastModifiedMethod · 0.80
renameFileMethod · 0.80
setFileMethod · 0.45
existsMethod · 0.45
filePathMethod · 0.45

Tested by

no test coverage detected