SOCI Logo Get SOCI at SourceForge.net. Fast, secure and Free Open Source software downloads
Classes | Functions | Variables

test-mysql.cpp File Reference

#include <soci.h>
#include <soci-mysql.h>
#include <test/common-tests.h>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cassert>
#include <cmath>
#include <ctime>
#include <ciso646>
#include <cstdlib>
#include <mysqld_error.h>
#include <errmsg.h>

Go to the source code of this file.

Classes

struct  longlong_table_creator
struct  table_creator_one
struct  table_creator_two
struct  table_creator_three
class  test_context

Functions

void test1 ()
void test2 ()
void test3 ()
template<typename T >
void test_num (const char *s, bool valid, T value)
void test4 ()
void test5 ()
void test6 ()
bool are_transactions_supported ()
int main (int argc, char **argv)

Variables

std::string connectString
backend_factory const & backEnd = mysql

Function Documentation

void test1 (  ) 

Definition at line 46 of file test-mysql.cpp.

References backEnd, and connectString.

void test2 (  ) 

Definition at line 102 of file test-mysql.cpp.

References backEnd, and connectString.

void test3 (  ) 

Definition at line 161 of file test-mysql.cpp.

References backEnd, and connectString.

template<typename T >
void test_num ( const char *  s,
bool  valid,
value 
)

Definition at line 209 of file test-mysql.cpp.

References backEnd, and connectString.

void test4 (  ) 

Definition at line 247 of file test-mysql.cpp.

void test5 (  ) 

Definition at line 304 of file test-mysql.cpp.

References backEnd, and connectString.

void test6 (  ) 

Definition at line 320 of file test-mysql.cpp.

References backEnd, and connectString.

bool are_transactions_supported (  ) 

Definition at line 499 of file test-mysql.cpp.

References backEnd, and connectString.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Variable Documentation

std::string connectString

Definition at line 41 of file test-mysql.cpp.

backend_factory const& backEnd = mysql

Definition at line 42 of file test-mysql.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
SourceForge Logo

Generated on Sun Oct 3 2010 17:42:17 for EXTRAS-SOCI by Doxygen 1.7.1