- compare
void compare(in Path gold, in Path result, Flag!"sortLines" sortLines, Flag!"skipComments" skipComments = Yes.skipComments)
Sorted compare of gold and result.
- makeCommand
auto makeCommand(string command)
Construct an execution of a command.
- makeCommand
auto makeCommand(const ref TestEnv testEnv, string command)
Construct an execution of a command.
- makeDextool
auto makeDextool(const ref TestEnv testEnv)
Construct an execution of dextool with needed arguments.
- recursiveFilesWithExtension
auto recursiveFilesWithExtension(Path dir, string ext)
- runDextool
auto runDextool(in T input, const ref TestEnv testEnv, in string[] pre_args, in string[] flags)
- sliceContains
bool sliceContains(const string[] log, const string txt)
Check if a log contains the fragment txt.
- sliceContains
bool sliceContains(const string[] log, const T gold_lines)
Check if the log contains the input range.
- stdoutContains
bool stdoutContains(const T gold_lines)
Check if the logged stdout data contains the input range.
- stdoutContains
bool stdoutContains(in Path gold)
Check if the logged stdout contains the golden block.
TODO refactor function. It is unnecessarily complex.