src/tests/run_tests.cpp File Reference

#include <QApplication>
#include <QtSql>
#include <time.h>
#include <iostream>

Include dependency graph for run_tests.cpp:

Go to the source code of this file.

Defines

#define HOST   "127.0.0.1"
#define DB   "xe"
#define PORT   1521
#define USER   "testbed"
#define PASSWD   "secret"

Functions

QString clean_error_msg (QString msg)
bool test_connect (QSqlDatabase &db)
bool test_create_table (QSqlDatabase &db)
bool test_prepare (QSqlDatabase &db)
bool test_blobs (QSqlDatabase &db)
bool test_foward_only (QSqlDatabase &db)
bool test_high_volume (QSqlDatabase &db)
bool test_rowid (QSqlDatabase &db)
bool test_varchar_boundry (QSqlDatabase &db)
bool test_out_binds (QSqlDatabase &db)
bool test_named_placeholders (QSqlDatabase &db)
void test_wrapper (char *msg, bool(*func)(QSqlDatabase &), QSqlDatabase &db)
int main (int argc, char *argv[])


Define Documentation

#define DB   "xe"

Definition at line 9 of file run_tests.cpp.

#define HOST   "127.0.0.1"

Definition at line 8 of file run_tests.cpp.

#define PASSWD   "secret"

Definition at line 12 of file run_tests.cpp.

#define PORT   1521

Definition at line 10 of file run_tests.cpp.

#define USER   "testbed"

Definition at line 11 of file run_tests.cpp.


Function Documentation

QString clean_error_msg ( QString  msg  ) 

Definition at line 14 of file run_tests.cpp.

Referenced by test_blobs(), test_connect(), test_create_table(), test_foward_only(), test_high_volume(), test_named_placeholders(), test_out_binds(), test_prepare(), test_rowid(), and test_varchar_boundry().

int main ( int  argc,
char *  argv[] 
)

Definition at line 311 of file run_tests.cpp.

bool test_blobs ( QSqlDatabase &  db  ) 

Definition at line 66 of file run_tests.cpp.

Referenced by main().

bool test_connect ( QSqlDatabase &  db  ) 

Definition at line 18 of file run_tests.cpp.

Referenced by main().

bool test_create_table ( QSqlDatabase &  db  ) 

Definition at line 27 of file run_tests.cpp.

Referenced by main().

bool test_foward_only ( QSqlDatabase &  db  ) 

Definition at line 137 of file run_tests.cpp.

Referenced by main().

bool test_high_volume ( QSqlDatabase &  db  ) 

Definition at line 156 of file run_tests.cpp.

Referenced by main().

bool test_named_placeholders ( QSqlDatabase &  db  ) 

Definition at line 271 of file run_tests.cpp.

Referenced by main().

bool test_out_binds ( QSqlDatabase &  db  ) 

Definition at line 241 of file run_tests.cpp.

Referenced by main().

bool test_prepare ( QSqlDatabase &  db  ) 

Definition at line 48 of file run_tests.cpp.

Referenced by main().

bool test_rowid ( QSqlDatabase &  db  ) 

Definition at line 179 of file run_tests.cpp.

Referenced by main().

bool test_varchar_boundry ( QSqlDatabase &  db  ) 

Definition at line 190 of file run_tests.cpp.

Referenced by main().

void test_wrapper ( char *  msg,
bool(*)(QSqlDatabase &)  func,
QSqlDatabase &  db 
)

Definition at line 302 of file run_tests.cpp.

Referenced by main().


Generated on Tue Mar 18 22:47:11 2008 for QOpenOCCI by  doxygen 1.5.3