|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <gestfich.h>#include <wx/ffile.h>#include <wx/filename.h>#include <wx/log.h>#include <wx/scopeguard.h>#include <sys/stat.h>#include <unistd.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (RemovesWhatItCreated) | |
| BOOST_AUTO_TEST_CASE (DirectoriesAreUniqueAndCanBePrivate) | |
| BOOST_AUTO_TEST_CASE (FailedDirectoryCreationLeavesExistingFileAlone) | |
| BOOST_AUTO_TEST_CASE (DirectoryCleanupLeavesSymlinkTargetAlone) | |
| BOOST_AUTO_TEST_CASE | ( | DirectoriesAreUniqueAndCanBePrivate | ) |
Definition at line 64 of file test_scoped_temp_path.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCOPED_TEMP_PATH::MakeDirectory(), SCOPED_TEMP_PATH::Path(), and path.
| BOOST_AUTO_TEST_CASE | ( | DirectoryCleanupLeavesSymlinkTargetAlone | ) |
Definition at line 117 of file test_scoped_temp_path.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), link, SCOPED_TEMP_PATH::MakeDirectory(), SCOPED_TEMP_PATH::Path(), and text.
| BOOST_AUTO_TEST_CASE | ( | FailedDirectoryCreationLeavesExistingFileAlone | ) |
Definition at line 90 of file test_scoped_temp_path.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SCOPED_TEMP_PATH::MakeDirectory(), SCOPED_TEMP_PATH::MakeFile(), SCOPED_TEMP_PATH::Path(), and text.
| BOOST_AUTO_TEST_CASE | ( | RemovesWhatItCreated | ) |
Definition at line 38 of file test_scoped_temp_path.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_REQUIRE(), directory, SCOPED_TEMP_PATH::MakeDirectory(), SCOPED_TEMP_PATH::MakeFile(), and SCOPED_TEMP_PATH::Path().