Gromacs
2024.4
|
Private implementation class for TestFileManager.
Public Types | |
typedef std::set < std::filesystem::path > | FileNameList |
Container type for names of temporary files. | |
Public Member Functions | |
Impl (const std::filesystem::path &path) | |
Constructor. More... | |
void | removeFiles () |
Try to remove all temporary files. More... | |
Public Attributes | |
FileNameList | files_ |
List of unique paths returned by getTemporaryFilePath(). | |
std::filesystem::path | outputTempDirectory_ |
Temporary output directory local to the current test, set by a test with setOutputTempDirectory() if the global default is inappropriate. | |
Static Public Attributes | |
static std::filesystem::path | s_inputDirectory |
Global test input data path set with setInputDataDirectory(). | |
static std::filesystem::path | s_simulationDatabaseDirectory |
Global path to simulation input database set with setTestSimulationDataBaseDirectory(). | |
static std::filesystem::path | s_globalOutputTempDirectory |
Global temporary output directory for tests, set with setGlobalOutputTempDirectory(). | |
|
inlineexplicit |
Constructor.
path | Value for the outputTempDirectory, typically set by default from s_globalOutputTempDirectory |
void gmx::test::TestFileManager::Impl::removeFiles | ( | ) |
Try to remove all temporary files.
Does not throw; errors (e.g., missing files) are silently ignored.