Definition at line 25 of file fileutils.test.cpp.
◆ FileUtilsTest()
FileUtilsTest::FileUtilsTest |
( |
| ) |
|
|
inline |
◆ ~FileUtilsTest()
FileUtilsTest::~FileUtilsTest |
( |
| ) |
|
|
default |
◆ createEmptyDir()
std::string FolderBasedTest::createEmptyDir |
( |
const std::string & |
subdir | ) |
const |
|
inherited |
Creates an empty directory in main test folder.
Remove recursively previous one with the same name, if exist.
Definition at line 39 of file folderbasedtest.cpp.
std::string testPath() const
Return full path to the test folder. Located in CMAKE_BINARY_DIR/test_output/<m_test_dir>.
MVVM_MODEL_EXPORT void remove_all(const std::string &path)
Removes directory with all its content.
MVVM_MODEL_EXPORT std::string join(const std::string &part1, const std::string &part2)
Joins two path elements into the path.
MVVM_MODEL_EXPORT bool create_directory(const std::string &path)
Create directory, parent directory must exist.
References ModelView::Utils::create_directory(), ModelView::Utils::join(), ModelView::Utils::remove_all(), and FolderBasedTest::testPath().
◆ testDir()
std::string FolderBasedTest::testDir |
( |
| ) |
const |
|
inherited |
◆ testPath()
std::string FolderBasedTest::testPath |
( |
| ) |
const |
|
inherited |
◆ m_test_dir
std::string FolderBasedTest::m_test_dir |
|
protectedinherited |
The documentation for this class was generated from the following file: