xapian-core  1.4.27
Functions
api_replacedoc.cc File Reference

tests of document replacing. More...

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

Go to the source code of this file.

Functions

 DEFINE_TESTCASE (poslistupdate1, positional &&writable)
 
static Xapian::Document basic_doc ()
 
static string basic_docterms ()
 
 DEFINE_TESTCASE (modtermwdf1, writable)
 Check that changing the wdf of a term in a document works. More...
 

Detailed Description

tests of document replacing.

Definition in file api_replacedoc.cc.

Function Documentation

◆ basic_doc()

static Xapian::Document basic_doc ( )
static

Definition at line 103 of file api_replacedoc.cc.

References Xapian::Document::add_term().

Referenced by DEFINE_TESTCASE().

◆ basic_docterms()

static string basic_docterms ( )
static

Definition at line 111 of file api_replacedoc.cc.

Referenced by DEFINE_TESTCASE().

◆ DEFINE_TESTCASE() [1/2]

DEFINE_TESTCASE ( poslistupdate1  ,
positional &&  writable 
)

◆ DEFINE_TESTCASE() [2/2]

DEFINE_TESTCASE ( modtermwdf1  ,
writable   
)