#include <config.h>#include <stdlib.h>#include <string>#include <fstream>#include <iostream>#include <xapian/stem.h>#include "testsuite.h"Include dependency graph for stemtest.cc:

Go to the source code of this file.
Functions | |
| static bool | test_stemrandom () |
| static bool | test_stemjunk () |
| static bool | 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 |
| test_desc | tests [] |
| The lists of tests to perform. | |
| static bool test_stemrandom | ( | ) | [static] |
| static bool test_stemjunk | ( | ) | [static] |
| static bool test_stemdict | ( | ) | [static] |
Definition at line 124 of file stemtest.cc.
References language, SKIP_TEST, srcdir, stemmer, TEST_EQUAL, and tout.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 171 of file stemtest.cc.
References test_driver::add_command_line_option(), atoi(), Xapian::Stem::get_available_languages(), test_driver::get_srcdir(), language, test_driver::parse_command_line(), test_driver::run(), seed, srcdir, stemmer, and tests.
const int JUNKSIZE = 2 * 1048576 [static] |
string language [static] |
Definition at line 38 of file stemtest.cc.
Referenced by DEFINE_TESTCASE(), main(), and test_stemdict().
Xapian::Stem stemmer [static] |
Definition at line 40 of file stemtest.cc.
string srcdir [static] |
Definition at line 42 of file stemtest.cc.
Referenced by test_driver::get_srcdir(), main(), and test_stemdict().
int seed [static] |
Definition at line 44 of file stemtest.cc.
Referenced by main(), test_stemjunk(), and test_stemrandom().
Initial value:
{
{"stemrandom", test_stemrandom},
{"stemjunk", test_stemjunk},
{"stemdict", test_stemdict},
{0, 0}
}
Definition at line 164 of file stemtest.cc.