- applyOutputTransformations
void applyOutputTransformations(ref string testOutput, string transformOutput)
Applies custom transformations defined in transformOutput to testOutput.
- compareOutput
bool compareOutput(string output, string refoutput, const ref EnvData envData)
Compares the output string to the reference string by character
except parts marked with one of the following special sequences:
- generateDiff
string generateDiff(const string expected, string expectedFile, const string actual, const string name)
Creates a diff of the expected and actual test output.
- printCppSources
void printCppSources(in const(char)[][] compiled)
Print symbols in C++ objects
- processEnvironment
immutable(EnvData) processEnvironment()
Creates a new EnvData instance based on the current environment.
Other code should not read from the environment.
- quoteSpaces
string quoteSpaces(string str)
add quotes around the whole string if it contains spaces that are not in quotes
- runDShellTest
int runDShellTest(string input_dir, string test_name, const ref EnvData envData, string output_dir, string output_file)