xapian-core
1.4.26
|
Test stemming algorithms. More...
#include <config.h>
#include <cstdlib>
#include <string>
#include <fstream>
#include <iostream>
#include <xapian.h>
#include "testsuite.h"
Go to the source code of this file.
Functions | |
static void | test_stemrandom () |
static void | test_stemjunk () |
static void | test_stemdict () |
int | main (int argc, char **argv) |
Variables | |
static const int | JUNKSIZE = 2 * 1048576 |
static string | language |
static Xapian::Stem | stemmer |
static string | srcdir |
static int | seed |
static const test_desc | tests [] |
The lists of tests to perform. More... | |
Test stemming algorithms.
Definition in file stemtest.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 173 of file stemtest.cc.
References test_driver::add_command_line_option(), Xapian::Stem::get_available_languages(), test_driver::get_srcdir(), language, test_driver::parse_command_line(), test_driver::run(), seed, and srcdir.
|
static |
Definition at line 115 of file stemtest.cc.
References FAIL_TEST, language, SKIP_TEST, srcdir, stemmer, TEST_EQUAL, and tout.
|
static |
|
static |
|
static |
Definition at line 37 of file stemtest.cc.
Referenced by test_stemjunk(), and test_stemrandom().
|
static |
Definition at line 39 of file stemtest.cc.
Referenced by DEFINE_TESTCASE(), main(), and test_stemdict().
|
static |
Definition at line 45 of file stemtest.cc.
Referenced by DEFINE_TESTCASE(), main(), test_stemjunk(), and test_stemrandom().
|
static |
Definition at line 43 of file stemtest.cc.
Referenced by Xapian::Compactor::compact(), Xapian::Database::compact_(), test_driver::get_srcdir(), main(), TestRunner::run_tests(), Xapian::Compactor::set_compaction_level(), and test_stemdict().
|
static |
Definition at line 41 of file stemtest.cc.
Referenced by DEFINE_TESTCASE(), gen_qp_flag_partial1_db(), Xapian::TermGenerator::Internal::index_text(), FileIndexer::index_to(), main(), Xapian::QueryParser::Internal::parse_query(), query(), Xapian::TermGenerator::set_stemmer(), Xapian::QueryParser::set_stemmer(), Xapian::MSet::Internal::snippet(), test_stemdict(), test_stemjunk(), test_stemrandom(), and Xapian::MSet::Internal::~Internal().
|
static |
The lists of tests to perform.
Definition at line 166 of file stemtest.cc.