xapian-core  1.4.27
Functions
api_opvalue.cc File Reference

Tests of the OP_VALUE_* query operators. More...

#include <config.h>
#include "api_opvalue.h"
#include <xapian.h>
#include "apitest.h"
#include "testsuite.h"
#include "testutils.h"
#include <string>
+ Include dependency graph for api_opvalue.cc:

Go to the source code of this file.

Functions

 DEFINE_TESTCASE (valuerange1, backend)
 
 DEFINE_TESTCASE (valuerange2, backend)
 
static void make_valuerange5 (Xapian::WritableDatabase &db, const string &)
 
 DEFINE_TESTCASE (valuerange5, backend)
 
static void make_singularvalue_db (Xapian::WritableDatabase &db, const string &)
 
 DEFINE_TESTCASE (valuerange6, backend)
 
static void make_valprefixbounds_db (Xapian::WritableDatabase &db, const string &)
 
 DEFINE_TESTCASE (valuerange7, backend)
 
 DEFINE_TESTCASE (valuege1, backend)
 
 DEFINE_TESTCASE (valuege2, backend)
 
 DEFINE_TESTCASE (valuele1, backend)
 
 DEFINE_TESTCASE (valuege3, !backend)
 
 DEFINE_TESTCASE (valuege4, backend)
 
 DEFINE_TESTCASE (valuerange3, backend)
 
 DEFINE_TESTCASE (valuerange4, backend)
 
 DEFINE_TESTCASE (valuerangematchesub1, backend)
 Test improved upper bound and estimate in 1.4.3. More...
 

Detailed Description

Tests of the OP_VALUE_* query operators.

Definition in file api_opvalue.cc.

Function Documentation

◆ DEFINE_TESTCASE() [1/13]

DEFINE_TESTCASE ( valuerange1  ,
backend   
)

◆ DEFINE_TESTCASE() [2/13]

DEFINE_TESTCASE ( valuerange2  ,
backend   
)

◆ DEFINE_TESTCASE() [3/13]

DEFINE_TESTCASE ( valuerange5  ,
backend   
)

◆ DEFINE_TESTCASE() [4/13]

DEFINE_TESTCASE ( valuerange6  ,
backend   
)

◆ DEFINE_TESTCASE() [5/13]

DEFINE_TESTCASE ( valuerange7  ,
backend   
)

◆ DEFINE_TESTCASE() [6/13]

DEFINE_TESTCASE ( valuege1  ,
backend   
)

◆ DEFINE_TESTCASE() [7/13]

DEFINE_TESTCASE ( valuege2  ,
backend   
)

◆ DEFINE_TESTCASE() [8/13]

DEFINE_TESTCASE ( valuele1  ,
backend   
)

◆ DEFINE_TESTCASE() [9/13]

DEFINE_TESTCASE ( valuege3  ,
backend 
)

◆ DEFINE_TESTCASE() [10/13]

DEFINE_TESTCASE ( valuege4  ,
backend   
)

◆ DEFINE_TESTCASE() [11/13]

DEFINE_TESTCASE ( valuerange3  ,
backend   
)

◆ DEFINE_TESTCASE() [12/13]

DEFINE_TESTCASE ( valuerange4  ,
backend   
)

◆ DEFINE_TESTCASE() [13/13]

DEFINE_TESTCASE ( valuerangematchesub1  ,
backend   
)

◆ make_singularvalue_db()

static void make_singularvalue_db ( Xapian::WritableDatabase db,
const string &   
)
static

◆ make_valprefixbounds_db()

static void make_valprefixbounds_db ( Xapian::WritableDatabase db,
const string &   
)
static

◆ make_valuerange5()

static void make_valuerange5 ( Xapian::WritableDatabase db,
const string &   
)
static