xapian-core  1.4.27
Functions
api_geospatial.cc File Reference

Tests of geospatial functionality. More...

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

Go to the source code of this file.

Functions

static void builddb_coords1 (Xapian::WritableDatabase &db, const string &)
 
 DEFINE_TESTCASE (latlongpostingsource1, backend &&!remote &&!inmemory)
 Test behaviour of the LatLongDistancePostingSource. More...
 
 DEFINE_TESTCASE (latlongcoords1, !backend)
 
 DEFINE_TESTCASE (latlongmetric1, !backend)
 
 DEFINE_TESTCASE (latlongmetric2, !backend)
 
 DEFINE_TESTCASE (latlongkeymaker1, !backend)
 

Detailed Description

Tests of geospatial functionality.

Definition in file api_geospatial.cc.

Function Documentation

◆ builddb_coords1()

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

◆ DEFINE_TESTCASE() [1/5]

DEFINE_TESTCASE ( latlongpostingsource1  ,
backend &&!remote &&!  inmemory 
)

◆ DEFINE_TESTCASE() [2/5]

DEFINE_TESTCASE ( latlongcoords1  ,
backend 
)

◆ DEFINE_TESTCASE() [3/5]

DEFINE_TESTCASE ( latlongmetric1  ,
backend 
)

◆ DEFINE_TESTCASE() [4/5]

DEFINE_TESTCASE ( latlongmetric2  ,
backend 
)

◆ DEFINE_TESTCASE() [5/5]

DEFINE_TESTCASE ( latlongkeymaker1  ,
backend 
)