#include <QApplication>
#include <QtSql>
#include <time.h>
#include <iostream>
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 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.
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 | ) |
bool test_connect | ( | QSqlDatabase & | db | ) |
bool test_create_table | ( | QSqlDatabase & | db | ) |
bool test_foward_only | ( | QSqlDatabase & | db | ) |
bool test_high_volume | ( | QSqlDatabase & | db | ) |
bool test_named_placeholders | ( | QSqlDatabase & | db | ) |
bool test_out_binds | ( | QSqlDatabase & | db | ) |
bool test_prepare | ( | QSqlDatabase & | db | ) |
bool test_rowid | ( | QSqlDatabase & | db | ) |
bool test_varchar_boundry | ( | QSqlDatabase & | db | ) |
void test_wrapper | ( | char * | msg, | |
bool(*)(QSqlDatabase &) | func, | |||
QSqlDatabase & | db | |||
) |