xapian-core
1.4.27
|
Macros for testing conditions hold. More...
Go to the source code of this file.
Macros | |
#define | DEFINE_TESTCASE_(T) static void test_##T() |
#define | TESTCASE(T) { #T, test_##T } |
#define | END_OF_TESTCASES { 0, 0 } |
#define | TEST_REL(A, REL, B) |
Test a relation holds,e.g. TEST_REL(a,>,b);. More... | |
Macros for testing conditions hold.
Definition in file testmacros.h.
#define DEFINE_TESTCASE_ | ( | T | ) | static void test_##T() |
Definition at line 27 of file testmacros.h.
#define END_OF_TESTCASES { 0, 0 } |
Definition at line 29 of file testmacros.h.
Test a relation holds,e.g. TEST_REL(a,>,b);.
Definition at line 32 of file testmacros.h.
Referenced by check_vals(), dbcheck(), DEFINE_TESTCASE(), CheckStatsWeight::get_sumpart(), qp_scale1_helper(), test_ioblock1(), test_pack_uint_preserving_sort1(), test_pack_uint_preserving_sort2(), test_scalability(), and test_uuid1().
#define TESTCASE | ( | T | ) | { #T, test_##T } |
Definition at line 28 of file testmacros.h.