Data Structures | Functions
/home/martin/workspace/OpenStreetNav/src/test/sqlite.cpp File Reference
#include <cstdio>
#include "../sqlite/sqlitewrap.h"
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <iostream>
#include <vector>
#include <exception>
#include <algorithm>

Go to the source code of this file.

Data Structures

class  SimpleFixture

Functions

void cleanup ()
sqlite::Database get_test_db ()
void prepare_test_db (sqlite::Database &db)
void insert_data (sqlite::Database &db)
 BOOST_AUTO_TEST_CASE (fixture)
 BOOST_AUTO_TEST_CASE (basic_usage)
 BOOST_AUTO_TEST_CASE (sqlite_exception)
 BOOST_AUTO_TEST_CASE (invalid_use_exception)
 BOOST_AUTO_TEST_CASE (step_failure)
 BOOST_AUTO_TEST_CASE (bind)
 BOOST_AUTO_TEST_CASE (exec)
 BOOST_AUTO_TEST_CASE (int64)
 BOOST_AUTO_TEST_CASE (db_new)

Function Documentation

BOOST_AUTO_TEST_CASE ( fixture  )

Definition at line 70 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( basic_usage  )

Definition at line 74 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( sqlite_exception  )

Definition at line 103 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( invalid_use_exception  )

Definition at line 108 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( step_failure  )

Definition at line 116 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( bind  )

Definition at line 135 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( exec  )

Definition at line 152 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( int64  )

Definition at line 168 of file sqlite.cpp.

BOOST_AUTO_TEST_CASE ( db_new  )

Definition at line 178 of file sqlite.cpp.

void cleanup ( )

Definition at line 10 of file sqlite.cpp.

sqlite::Database get_test_db ( )

Definition at line 15 of file sqlite.cpp.

void insert_data ( sqlite::Database db)

Definition at line 34 of file sqlite.cpp.

void prepare_test_db ( sqlite::Database db)

Definition at line 21 of file sqlite.cpp.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines