xapian-core
1.4.27
|
test of the Xapian internals More...
#include <config.h>
#include <xapian.h>
#include <iostream>
#include <string>
#include "autoptr.h"
#include "testsuite.h"
#include "testutils.h"
#include "pack.h"
#include "str.h"
Go to the source code of this file.
Classes | |
class | Test_Exception |
class | test_refcnt |
class | test_autoptr |
struct | TempDtorTest |
Functions | |
static void | test_exception1 () |
static void | test_refcnt1 () |
static void | test_refcnt2 () |
static void | test_autoptr1 () |
static void | test_stringcomp1 () |
static void | test_temporarydtor1 () |
static void | test_pack_uint_preserving_sort1 () |
Test pack_uint_preserving_sort() More... | |
static void | test_pack_uint_preserving_sort2 () |
Test C_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 580 of file internaltest.cc.
References test_driver::parse_command_line(), and test_driver::run().
|
static |
Definition at line 158 of file internaltest.cc.
References TEST, and TEST_EQUAL.
|
static |
Test C_isupper() etc.
Definition at line 378 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(), TEST, and TEST_EQUAL.
|
static |
Definition at line 48 of file internaltest.cc.
References TEST_EQUAL, and Test_Exception::value.
|
static |
Test pack_uint_preserving_sort()
Definition at line 264 of file internaltest.cc.
References pack_uint_preserving_sort(), TEST, TEST_EQUAL, TEST_REL, and unpack_uint_preserving_sort().
|
static |
Test C_pack_uint_preserving_sort()
Definition at line 321 of file internaltest.cc.
References C_pack_uint_preserving_sort(), C_unpack_uint_preserving_sort(), TEST, TEST_EQUAL, and TEST_REL.
|
static |
Definition at line 87 of file internaltest.cc.
References Xapian::Internal::intrusive_base::_refs, TEST_AND_EXPLAIN, and TEST_EQUAL.
|
static |
Definition at line 118 of file internaltest.cc.
References TEST_AND_EXPLAIN.
|
static |
Definition at line 209 of file internaltest.cc.
References FAIL_TEST.
|
static |
Definition at line 256 of file internaltest.cc.
References TempDtorTest::count, TempDtorTest::factory(), and TEST_EQUAL.
|
static |
The lists of tests to perform.
Definition at line 567 of file internaltest.cc.
Referenced by DEFINE_TESTCASE(), if(), and test_driver::result::reset().