botan.test

Unit test helper

Public Imports

std.stdio
public import std.stdio : File, writeln;
std.algorithm
public import std.algorithm : sort, canFind;
std.range
public import std.range : walkLength;
std.string
public import std.string : indexOf, lastIndexOf;
botan.utils.types
public import botan.utils.types;

Members

Functions

CHECK
string CHECK(string expr)
Undocumented in source. Be warned that the author may not have intended to support it.
CHECK_MESSAGE
string CHECK_MESSAGE(string expr, string print)
Undocumented in source. Be warned that the author may not have intended to support it.
listDir
string[] listDir(string dir_path)
Undocumented in source. Be warned that the author may not have intended to support it.
runTests
size_t runTests(string filename, string name_key, string output_key, bool clear_between_cb, string delegate(ref HashMap!(string, string)) cb)
Undocumented in source. Be warned that the author may not have intended to support it.
runTests
size_t runTests(File src, string name_key, string output_key, bool clear_between_cb, string delegate(ref HashMap!(string, string)) cb)
Undocumented in source. Be warned that the author may not have intended to support it.
runTestsBb
size_t runTestsBb(File src, string name_key, string output_key, bool clear_between_cb, size_t delegate(ref HashMap!(string, string)) cb)
Undocumented in source. Be warned that the author may not have intended to support it.
runTestsInDir
size_t runTestsInDir(string dir, size_t delegate(string) fn)
Undocumented in source. Be warned that the author may not have intended to support it.
testReport
void testReport(string name, size_t ran, size_t failed)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

ok
bool ok [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

g_sw
StopWatch g_sw;
Undocumented in source.

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)