OGS
TestDefinition.cpp File Reference
#include "TestDefinition.h"
#include <spdlog/fmt/fmt.h>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <filesystem>
#include <iomanip>
#include <regex>
#include <sstream>
#include <string>
#include <vector>
#include "BaseLib/ConfigTree.h"
#include "BaseLib/Error.h"
#include "BaseLib/FileTools.h"
#include "BaseLib/MPI.h"
#include "MeshLib/IO/VtkIO/VtuInterface.h"
Include dependency graph for TestDefinition.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{TestDefinition.cpp}
namespace  ApplicationsLib

Typedefs

using anonymous_namespace{TestDefinition.cpp}::FilePairs = std::vector<std::pair<std::string, std::string>>
 Pairs of reference and output file names to be compared.

Functions

bool anonymous_namespace{TestDefinition.cpp}::isConvertibleToDouble (std::string const &s)
 Test if the given string is convertible to a valid double value, not a NaN.
std::string anonymous_namespace{TestDefinition.cpp}::safeString (std::string const &s)
 Wraps a string into double ticks.
std::string anonymous_namespace{TestDefinition.cpp}::findDiffTool (std::string const &executable_name, std::string const &environment_variable_name)
std::string anonymous_namespace{TestDefinition.cpp}::formatPathForDiffTool (std::string const &filename)
void anonymous_namespace{TestDefinition.cpp}::checkTolerance (std::string const &tolerance_name, std::string const &tolerance)
FilePairs anonymous_namespace{TestDefinition.cpp}::findFilesMatchingRegex (std::string const &regex_string, std::string const &reference_path)
 Collects all file names in reference_path matching the regex.