botan.test

Unit test helper

Public Imports

botan.utils.types
public import botan.utils.types;
Undocumented in source.

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.

Imports

File (from std.stdio)
public import std.stdio : File, writeln;
Undocumented in source.
canFind (from std.algorithm)
public import std.algorithm : sort, canFind;
Undocumented in source.
indexOf (from std.string)
public import std.string : indexOf, lastIndexOf;
Undocumented in source.
lastIndexOf (from std.string)
public import std.string : indexOf, lastIndexOf;
Undocumented in source.
sort (from std.algorithm)
public import std.algorithm : sort, canFind;
Undocumented in source.
walkLength (from std.range)
public import std.range : walkLength;
Undocumented in source.
writeln (from std.stdio)
public import std.stdio : File, writeln;
Undocumented in source.

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)