xapian-core  1.4.26
Functions
api_transdb.cc File Reference

tests requiring a database backend supporting transactions More...

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

Go to the source code of this file.

Functions

 DEFINE_TESTCASE (badtransaction1, transactions)
 Test incorrect uses of the transaction API lead to errors. More...
 
 DEFINE_TESTCASE (committransaction1, transactions)
 Test committing a simple transaction. More...
 
 DEFINE_TESTCASE (canceltransaction1, transactions)
 Test cancelling a simple transaction. More...
 
 DEFINE_TESTCASE (canceltransaction2, transactions)
 Test that begin_transaction() commits any changes pending before the. More...
 
 DEFINE_TESTCASE (canceltransaction3, transactions &&path)
 Regression test for glass bug fixed in 1.4.6 and 1.5.0. More...
 

Detailed Description

tests requiring a database backend supporting transactions

Definition in file api_transdb.cc.

Function Documentation

◆ DEFINE_TESTCASE() [1/5]

DEFINE_TESTCASE ( badtransaction1  ,
transactions   
)

◆ DEFINE_TESTCASE() [2/5]

DEFINE_TESTCASE ( committransaction1  ,
transactions   
)

◆ DEFINE_TESTCASE() [3/5]

DEFINE_TESTCASE ( canceltransaction1  ,
transactions   
)

◆ DEFINE_TESTCASE() [4/5]

DEFINE_TESTCASE ( canceltransaction2  ,
transactions   
)

◆ DEFINE_TESTCASE() [5/5]

DEFINE_TESTCASE ( canceltransaction3  ,
transactions &&  path 
)