cmake_test/asserts/file_exists
- cmake_test/asserts/file_exists.ct_assert_file_exists(path)
Assert that the file at the provided path exists. If it does not exist or is a directory, an
ASSERTION_FAILED
exception is raised.- Parameters:
path (path) – The path to check
- cmake_test/asserts/file_exists.ct_assert_file_does_not_exist(path)
Assert that a file does not exist at the provided path. If the path exists and is not a directory, an
ASSERTION_FAILED
exception is raised.- Parameters:
path (path) – The path to check