xapian-core  1.4.25
Classes | Macros | Functions | Variables
api_opsynonym.cc File Reference

tests of OP_SYNONYM and OP_MAX. More...

#include <config.h>
#include "api_opsynonym.h"
#include <map>
#include <set>
#include <vector>
#include <xapian.h>
#include "backendmanager.h"
#include "testsuite.h"
#include "testutils.h"
#include "apitest.h"
+ Include dependency graph for api_opsynonym.cc:

Go to the source code of this file.

Classes

struct  synonym1_data_type
 

Macros

#define NOQ   Xapian::Query::MatchNothing
 

Functions

 DEFINE_TESTCASE (synonym1, backend)
 
 DEFINE_TESTCASE (synonym2, backend)
 
static void check_msets_contain_same_docs (const Xapian::MSet &mset1, const Xapian::MSet &mset2)
 
 DEFINE_TESTCASE (synonym3, backend)
 
 DEFINE_TESTCASE (synonym4, backend)
 
 DEFINE_TESTCASE (opmax1, backend)
 

Variables

static const synonym1_data_type synonym1_data []
 

Detailed Description

tests of OP_SYNONYM and OP_MAX.

Definition in file api_opsynonym.cc.

Macro Definition Documentation

◆ NOQ

#define NOQ   Xapian::Query::MatchNothing

Definition at line 57 of file api_opsynonym.cc.

Function Documentation

◆ check_msets_contain_same_docs()

static void check_msets_contain_same_docs ( const Xapian::MSet mset1,
const Xapian::MSet mset2 
)
static

Definition at line 329 of file api_opsynonym.cc.

References Xapian::MSet::size(), TEST, and TEST_EQUAL.

Referenced by DEFINE_TESTCASE().

◆ DEFINE_TESTCASE() [1/5]

DEFINE_TESTCASE ( synonym1  ,
backend   
)

◆ DEFINE_TESTCASE() [2/5]

DEFINE_TESTCASE ( synonym2  ,
backend   
)

◆ DEFINE_TESTCASE() [3/5]

DEFINE_TESTCASE ( synonym3  ,
backend   
)

◆ DEFINE_TESTCASE() [4/5]

DEFINE_TESTCASE ( synonym4  ,
backend   
)

◆ DEFINE_TESTCASE() [5/5]

DEFINE_TESTCASE ( opmax1  ,
backend   
)

Variable Documentation

◆ synonym1_data

const synonym1_data_type synonym1_data[]
static

Definition at line 58 of file api_opsynonym.cc.

Referenced by DEFINE_TESTCASE().