Go to the documentation of this file. 1 #ifndef EPT_TEXTSEARCH_TEXTSEARCH_H
2 #define EPT_TEXTSEARCH_TEXTSEARCH_H
const Xapian::valueno VAL_ITERATING_RATING
Definition: axi.h:52
time_t timestamp()
Return the last update timestamp of the index.
Definition: axi.cc:48
~OverrideIndexDir()
Definition: axi.cc:60
RAII temporary override of the location of the index root directory, used for tests.
Definition: axi.h:78
void rmdir(const std::string &pathname)
Remove the directory using rmdir(2)
Definition: sys.cc:770
std::string path_db()
Return the path to the Apt Xapian index Xapian database.
Definition: axi.cc:43
void register_tests() override
Definition: axi-test.cc:2
const Xapian::valueno VAL_ITERATING_SECURITY
Definition: axi.h:55
std::string joinpath(const std::string &path1, const std::string &path2)
Definition: string.cc:97
String functions.
Definition: apt.cc:38
const Xapian::valueno VAL_APT_PACKAGE_SIZE
Definition: axi.h:50
const Xapian::valueno VAL_APT_INSTALLED_SIZE
Definition: axi.h:49
High-level front-end to libapt-pkg, as a data provider for the ept framework.
const Xapian::valueno VAL_ITERATING_SUPPORT
Definition: axi.h:58
const Xapian::valueno VAL_ITERATING_PERFORMANCE
Definition: axi.h:56
Actual< A > actual(const A &actual)
Definition: tests.h:320
void mkdir_ifmissing(const char *pathname, mode_t mode)
Create the given directory, if it does not already exists.
Definition: sys.cc:721
const Xapian::valueno VAL_ITERATING_USABILITY
Definition: axi.h:54
Test case collecting several test methods, and self-registering with the singleton instance of TestRe...
Definition: tests.h:615
const Xapian::valueno VAL_ITERATING_QUALITY
Definition: axi.h:57
Definition: packagerecord-test.cc:4
High-level access to the Apt cache, as a data provider for the ept framework.
Definition: apt.h:121
const Xapian::valueno VAL_ITERATING_FUNCTIONALITY
Definition: axi.h:53
TestCase(const std::string &name)
Definition: tests.h:622
#define wassert(...)
Run the given command, raising TestFailed with the appropriate backtrace information if it threw an e...
Definition: tests.h:343
const Xapian::valueno VAL_POPCON
Definition: axi.h:51
OverrideIndexDir(const std::string &path)
Definition: axi.cc:55
std::string path_dir()
Return the path to the Apt Xapian index root directory.
Definition: axi.cc:38
const Xapian::valueno VAL_ITERATING_ADOPTION
Definition: axi.h:59