|
xapian-core
2.0.0
|
test of the Xapian internals More...
#include <config.h>#include <xapian.h>#include <iostream>#include <string>#include "testsuite.h"#include "testutils.h"#include "pack.h"#include "str.h"
Include dependency graph for internaltest.cc:Go to the source code of this file.
Classes | |
| class | Test_Exception |
| class | test_refcnt |
| struct | TempDtorTest |
Functions | |
| static void | test_exception1 () |
| static void | test_refcnt1 () |
| static void | test_refcnt2 () |
| static void | test_stringcomp1 () |
| static void | test_temporarydtor1 () |
| static void | test_pack_uint_preserving_sort1 () |
| Test pack_uint_preserving_sort() More... | |
| static void | test_chartype1 () |
| Test C_isupper() etc. More... | |
| int | main (int argc, char **argv) |
Variables | |
| static const test_desc | tests [] |
| The lists of tests to perform. More... | |
test of the Xapian internals
Definition in file internaltest.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 455 of file internaltest.cc.
References test_driver::parse_command_line(), test_driver::run(), and tests.
|
static |
Test C_isupper() etc.
Definition at line 255 of file internaltest.cc.
References C_isalnum(), C_isalpha(), C_isdigit(), C_islower(), C_isnotalnum(), C_isnotalpha(), C_isnotdigit(), C_isnotlower(), C_isnotspace(), C_isnotupper(), C_isnotxdigit(), C_isspace(), C_isupper(), C_isxdigit(), hex_decode(), hex_digit(), p, TEST, and TEST_EQUAL.
|
static |
Definition at line 46 of file internaltest.cc.
References TEST_EQUAL, and Test_Exception::value.
|
static |
Test pack_uint_preserving_sort()
Definition at line 198 of file internaltest.cc.
References pack_uint_preserving_sort(), TEST, TEST_EQUAL, TEST_REL, and unpack_uint_preserving_sort().
|
static |
Definition at line 85 of file internaltest.cc.
References Xapian::Internal::intrusive_base::_refs, p, TEST_AND_EXPLAIN, and TEST_EQUAL.
|
static |
Definition at line 116 of file internaltest.cc.
References p, and TEST_AND_EXPLAIN.
|
static |
Definition at line 143 of file internaltest.cc.
References FAIL_TEST.
|
static |
Definition at line 190 of file internaltest.cc.
References TempDtorTest::count, TempDtorTest::factory(), and TEST_EQUAL.
|
static |
The lists of tests to perform.
Definition at line 444 of file internaltest.cc.
Referenced by DEFINE_TESTCASE(), if(), and main().