#include <config.h>
#include "api_spelling.h"
#include <xapian.h>
#include "apitest.h"
#include "testsuite.h"
#include "testutils.h"
#include <string>
Include dependency graph for api_spelling.cc:
Go to the source code of this file.
Functions | |
DEFINE_TESTCASE (spell1, spelling) | |
DEFINE_TESTCASE (spell2, spelling) | |
DEFINE_TESTCASE (spell3, spelling) | |
DEFINE_TESTCASE (spell4, spelling) | |
DEFINE_TESTCASE (spell5, spelling) | |
DEFINE_TESTCASE (spell6, spelling) |
Definition in file api_spelling.cc.
DEFINE_TESTCASE | ( | spell1 | , | |
spelling | ||||
) |
Definition at line 37 of file api_spelling.cc.
References Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::flush(), Xapian::Database::get_spelling_suggestion(), get_writable_database(), get_writable_database_as_database(), and TEST_EQUAL.
DEFINE_TESTCASE | ( | spell2 | , | |
spelling | ||||
) |
Definition at line 109 of file api_spelling.cc.
References Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::flush(), Xapian::Database::get_spelling_suggestion(), get_writable_database(), get_writable_database_as_database(), and TEST_EQUAL.
DEFINE_TESTCASE | ( | spell3 | , | |
spelling | ||||
) |
Definition at line 134 of file api_spelling.cc.
References Xapian::Database::add_database(), Xapian::WritableDatabase::add_spelling(), get_named_writable_database(), Xapian::Database::get_spelling_suggestion(), get_writable_database(), Xapian::Database::spellings_begin(), Xapian::Database::spellings_end(), TEST, and TEST_EQUAL.
DEFINE_TESTCASE | ( | spell4 | , | |
spelling | ||||
) |
Definition at line 191 of file api_spelling.cc.
References Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::flush(), Xapian::Database::get_spelling_suggestion(), get_writable_database(), and TEST_EQUAL.
DEFINE_TESTCASE | ( | spell5 | , | |
spelling | ||||
) |
Definition at line 206 of file api_spelling.cc.
References Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::flush(), Xapian::Database::get_spelling_suggestion(), get_writable_database(), and TEST_EQUAL.
DEFINE_TESTCASE | ( | spell6 | , | |
spelling | ||||
) |
Definition at line 220 of file api_spelling.cc.
References Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::flush(), Xapian::Database::get_spelling_suggestion(), get_writable_database(), get_writable_database_as_database(), and TEST_EQUAL.