|
Rapicorn - Experimental UI Toolkit - Source Code 10.08.1
|
#include <rcore/rcore.hh>Go to the source code of this file.
Classes | |
| class | Rapicorn::Test::Timer |
| class | Rapicorn::Test::RegisterTest |
Namespaces | |
| namespace | Rapicorn |
Defines | |
| #define | TTITLE(...) |
| #define | TSTART(...) |
| #define | TDONE() |
| #define | TOUT(...) |
| #define | TMSG(...) |
| #define | TINFO(...) |
| #define | TWARN(...) |
| #define | TRUN(name, func) |
| #define | TCMP(a, cmp, b) |
| #define | TCMPHEX(a, cmp, b) |
| #define | TCMPSIGNED(a, cmp, b) |
| #define | TCHECK(code) |
| #define | TASSERT(code) |
| #define | TOK() |
| #define | TCHECK_impl(code) |
| #define | TCMP_implf(a, cmp, b) |
| #define | TCMP_implx(a, cmp, b) |
| #define | TCMP_impls(a, cmp, b) |
| #define | REGISTER_TEST(name,...) |
| Register a standard test function for execution as unit test. | |
| #define | REGISTER_SLOWTEST(name,...) |
| Register a slow test function for execution as during slow unit testing. | |
| #define | REGISTER_LOGTEST(name,...) |
| Register a logging test function for output recording and verification. | |
Functions | |
| void | Rapicorn::init_core_test (const String &app_ident, int *argcp, char **argv, const StringVector &args) |
| int | Rapicorn::Test::run (void) |
| Run all registered tests. | |
| bool | Rapicorn::Test::verbose (void) |
| Indicates whether tests should run verbosely. | |
| bool | Rapicorn::Test::logging (void) |
| Indicates whether only logging tests should be run. | |
| bool | Rapicorn::Test::slow (void) |
| Indicates whether only slow tests should be run. | |
| bool | Rapicorn::Test::ui_test (void) |
| Indicates execution of ui-thread tests. | |
| void | Rapicorn::Test::test_output (int kind, const char *format,...) |
| void | Rapicorn::Test::add_internal (const String &testname, void(*test_func)(void *), void *data) |
| void | Rapicorn::Test::add (const String &testname, void(*test_func)(void)) |
| template<typename D > | |
| void | Rapicorn::Test::add (const String &testname, void(*test_func)(D *), D *data) |
| char | Rapicorn::Test::rand_bit (void) |
| Return a random bit. | |
| int32 | Rapicorn::Test::rand_int (void) |
| Return random int. | |
| int32 | Rapicorn::Test::rand_int_range (int32 begin, int32 end) |
| Return random int within range. | |
| double | Rapicorn::Test::test_rand_double (void) |
| Return random double. | |
| double | Rapicorn::Test::test_rand_double_range (double range_start, double range_end) |
| Return random double within range. | |
1.7.4