29#include "AutoDatabaseConnection.h"
30#include "DatabaseConnectionString.h"
165 std::map<String, DatabaseConnectionString> m_connectionStrings;
173 static size_t countRowsInTable(
const DatabaseConnection& db,
const String& table);
180 static void testTransaction(DatabaseConnection db,
bool commit);
188 static void createTestTable(DatabaseConnection db,
bool autoPrepare =
true,
bool withBlob =
false);
194 static void createTestTableWithSerial(DatabaseConnection db);
202 static void createOracleAutoIncrement(
const DatabaseConnection& db,
const String& tableName,
const String& columnName);
Definition: DatabaseConnectionPool.h:96
Definition: DatabaseConnectionString.h:56
Definition: DatabaseTests.h:38
static void testInsertQuery(const DatabaseConnectionString &connectionString)
static void testSelect(const DatabaseConnectionString &connectionString)
static void testQueryInsertDate(const DatabaseConnectionString &connectionString)
static void testBLOB(const DatabaseConnectionString &connectionString)
static void testQueryInsertDateTime(const DatabaseConnectionString &connectionString)
static void testBulkInsert(const DatabaseConnectionString &connectionString)
void addDatabaseConnection(const DatabaseConnectionString &connectionString)
static void testBatchSQL(const DatabaseConnectionString &connectionString)
static void testTransaction(const DatabaseConnectionString &connectionString)
static DatabaseTests & tests()
std::vector< DatabaseConnectionString > connectionStrings() const
static void testDDL(const DatabaseConnectionString &connectionString)
DatabaseConnectionString connectionString(const String &driverName) const
static void testBulkInsertPerformance(const DatabaseConnectionString &connectionString, size_t recordCount)
static void testQueryParameters(const DatabaseConnectionString &connectionString)
static void testInsertQueryDirect(const DatabaseConnectionString &connectionString)
static void testSelect(DatabaseConnectionPool &connectionPool)
static void testConnect(const DatabaseConnectionString &connectionString)