xapian-core
1.4.27
|
test common features of API classes More...
#include <config.h>
#include "api_generated.h"
#include <xapian.h>
#include "apitest.h"
#include "testutils.h"
Go to the source code of this file.
Macros | |
#define | XAPIAN_DEPRECATED(D) D |
Functions | |
DEFINE_TESTCASE (defaultctor1, !backend) | |
Check uncopyable API classes which should have a default ctor actually do. More... | |
DEFINE_TESTCASE (copyassign1, !backend) | |
Test that API classes have a copy ctor and assignment operator. More... | |
test common features of API classes
Definition in file api_generated.cc.
#define XAPIAN_DEPRECATED | ( | D | ) | D |
Definition at line 26 of file api_generated.cc.
DEFINE_TESTCASE | ( | defaultctor1 | , |
! | backend | ||
) |
Check uncopyable API classes which should have a default ctor actually do.
Definition at line 35 of file api_generated.cc.
References Xapian::SimpleStopper::get_description(), Xapian::ValueCountMatchSpy::get_description(), Xapian::DecreasingValueWeightPostingSource::get_description(), and TEST.
DEFINE_TESTCASE | ( | copyassign1 | , |
! | backend | ||
) |
Test that API classes have a copy ctor and assignment operator.
Definition at line 69 of file api_generated.cc.
References Xapian::DB_BACKEND_INMEMORY, Xapian::Stem::get_description(), Xapian::Database::get_description(), query(), and TEST.