mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
fileUtils_test.cpp File Reference

Tests filesystem utilities. More...

Tests filesystem utilities.

Definition in file fileUtils_test.cpp.

#include "../../catch2/catch.hpp"
#include <fstream>
#include "../../../include/ioutils/fileUtils.hpp"

Go to the source code of this file.

Functions

 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("Checking existence and whether or not a path is a directory", "[ioutils::fileUtils]")
 Checking existence and whether or not a path is a directory.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("creating sequential filenames", "[ioutils::fileUtils]")
 Verify creation of sequential file names.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("decomposing and transforming file paths", "[ioutils::fileUtils]")
 Verifies path decomposition and basename transformations used by file-list consumers.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("creating HCI output directories", "[ioutils::fileUtils][hciReduce]")
 Verifies nested output-directory creation used before HCI preprocessed-image writes.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("selecting sequential HCI final-image filenames", "[ioutils::fileUtils][hciReduce]")
 Verifies HCI final-image filename selection skips existing numbered outputs.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("Getting a list of files", "[ioutils::fileUtils]")
 Getting a list of files.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("Filtering short filenames", "[ioutils::fileUtils]")
 Verifies that filename filters safely reject names shorter than their search term.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("Handling path conversion exceptions", "[ioutils::fileUtils]")
 Verifies path conversion translates or propagates each documented exception category.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("Propagating path conversion failures through existence helpers", "[ioutils::fileUtils]")
 Verifies existence helpers preserve path-conversion failures.
 unitTest::ioutilsTest::fileUtilsTest::TEST_CASE ("Handling file discovery exceptions", "[ioutils::fileUtils]")
 Verifies file discovery translates or propagates each documented exception category.