OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
SliceTestSuite.cpp File Reference
#include <sstream>
#include <fstream>
#include <string>
#include <list>
#include <boost/filesystem.hpp>
#include <boost/test/unit_test.hpp>
#include <opentrep/basic/OTransliterator.hpp>
#include <opentrep/bom/QuerySlices.hpp>
#include <opentrep/basic/BasConst_OPENTREP_Service.hpp>
#include <opentrep/OPENTREP_Service.hpp>
#include <opentrep/service/Logger.hpp>

Go to the source code of this file.

Classes

struct  UnitTestConfig
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_MODULE   SliceTestSuite
 

Functions

std::ofstream utfReportStream ("SliceTestSuite_utfresults.xml")
 
const std::string X_XAPIAN_DB_FP ("/tmp/opentrep/test_traveldb")
 
const std::string X_SQL_DB_STR ("")
 
const OPENTREP::DeploymentNumber_T X_DEPLOYMENT_NUMBER (0)
 
 BOOST_GLOBAL_FIXTURE (UnitTestConfig)
 
 BOOST_AUTO_TEST_CASE (slice_small_string)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 17 of file SliceTestSuite.cpp.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 18 of file SliceTestSuite.cpp.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   SliceTestSuite

Definition at line 19 of file SliceTestSuite.cpp.

Function Documentation

◆ utfReportStream()

std::ofstream utfReportStream ( "SliceTestSuite_utfresults.xml" )

◆ X_XAPIAN_DB_FP()

const std::string X_XAPIAN_DB_FP ( "/tmp/opentrep/test_traveldb" )

Xapian database/index file-path (directory containing the index).

Referenced by BOOST_AUTO_TEST_CASE().

◆ X_SQL_DB_STR()

const std::string X_SQL_DB_STR ( "" )

SQL database connection string.

Referenced by BOOST_AUTO_TEST_CASE().

◆ X_DEPLOYMENT_NUMBER()

const OPENTREP::DeploymentNumber_T X_DEPLOYMENT_NUMBER ( 0 )

Referenced by BOOST_AUTO_TEST_CASE().

◆ BOOST_GLOBAL_FIXTURE()

BOOST_GLOBAL_FIXTURE ( UnitTestConfig )

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( slice_small_string )