xapian-core
1.4.26
|
QueryParser tests which need a backend. More...
#include <config.h>
#include "api_qpbackend.h"
#include <xapian.h>
#include "backendmanager.h"
#include "testsuite.h"
#include "testutils.h"
#include "apitest.h"
Go to the source code of this file.
Functions | |
DEFINE_TESTCASE (qpsynonympartial1, synonyms) | |
Regression test for bug#407 fixed in 1.0.17 and 1.1.3. More... | |
QueryParser tests which need a backend.
Definition in file api_qpbackend.cc.
DEFINE_TESTCASE | ( | qpsynonympartial1 | , |
synonyms | |||
) |
Regression test for bug#407 fixed in 1.0.17 and 1.1.3.
Definition at line 44 of file api_qpbackend.cc.
References Xapian::QueryParser::add_prefix(), Xapian::WritableDatabase::add_synonym(), Xapian::QueryParser::FLAG_AUTO_SYNONYMS, Xapian::QueryParser::FLAG_DEFAULT, Xapian::QueryParser::FLAG_PARTIAL, Xapian::QueryParser::FLAG_SYNONYM, get_database(), Xapian::Error::get_description(), Xapian::Query::get_description(), Xapian::Error::get_msg(), Xapian::QueryParser::parse_query(), Xapian::QueryParser::set_database(), TEST_STRINGS_EQUAL, and tout.