NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | DbTestEntry |
Macros | |
#define | AB_FUNCT(x) |
#define | AB_PRINT(x) |
#define | AB_ERROR(x) do { printf("ERROR: "); printf x; printf("\n"); } while(0) |
Typedefs | |
typedef int | DbTestFn(void) |
Enumerations | |
enum | { FALSE , TRUE } |
Functions | |
static int | RunTests (void) |
Code to iterate through all tests to run. More... | |
static int | TestRawODBCPreparedQuery (void) |
static int | TestRawODBCDirectQuery (void) |
static int | TestRawODBCGuid (void) |
int | main (int argc, char *argv[]) |
Variables | |
static DbTestEntry | _dbTests [] |
Array of tests. More... | |
static DbTestEntry * | tests = _dbTests |
#define AB_ERROR | ( | x | ) | do { printf("ERROR: "); printf x; printf("\n"); } while(0) |
Definition at line 22 of file testodbc.c.
#define AB_FUNCT | ( | x | ) |
Definition at line 19 of file testodbc.c.
#define AB_PRINT | ( | x | ) |
Definition at line 20 of file testodbc.c.
typedef int DbTestFn(void) |
Definition at line 28 of file testodbc.c.
anonymous enum |
Enumerator | |
---|---|
FALSE | |
TRUE |
Definition at line 26 of file testodbc.c.
Definition at line 429 of file testodbc.c.
References odbc_use_version3, and RunTests().
Definition at line 114 of file testodbc.c.
References AB_ERROR, AB_FUNCT, AB_PRINT, CHKBindParameter, CHKExecDirect, FALSE, odbc_command, odbc_connect(), odbc_disconnect(), odbc_stmt, SQL_C_SSHORT, SQL_INTEGER, SQL_NTS, SQL_PARAM_INPUT, SQL_SUCCESS, SQLFetch(), SQLLEN, SQLMoreResults(), T, and TRUE.
Definition at line 182 of file testodbc.c.
References AB_ERROR, AB_FUNCT, AB_PRINT, CHKBindParameter, CHKExecDirect, CHKFetch, CHKFreeStmt, CHKGetData, tagSQLGUID::Data1, tagSQLGUID::Data2, tagSQLGUID::Data3, tagSQLGUID::Data4, odbc_command_with_result(), odbc_connect(), odbc_db_is_microsoft(), odbc_disconnect(), odbc_reset_statement, odbc_stmt, SQL_C_CHAR, SQL_C_GUID, SQL_C_SSHORT, SQL_CHAR, SQL_CLOSE, SQL_GUID, SQL_INTEGER, SQL_NTS, SQL_PARAM_INPUT, SQL_SUCCESS, SQLExecDirect(), SQLFetch(), SQLLEN, T, and TRUE.
Definition at line 42 of file testodbc.c.
References AB_ERROR, AB_FUNCT, AB_PRINT, CHKBindParameter, CHKExecute, CHKPrepare, FALSE, odbc_command, odbc_connect(), odbc_disconnect(), odbc_stmt, SQL_C_SSHORT, SQL_INTEGER, SQL_NTS, SQL_PARAM_INPUT, SQL_SUCCESS, SQLFetch(), SQLLEN, SQLMoreResults(), T, and TRUE.
|
static |
Array of tests.
Definition at line 381 of file testodbc.c.
|
static |
Definition at line 388 of file testodbc.c.
Referenced by AutofixCommand(), BOOST_AUTO_TEST_CASE(), CDiscrepancyGroup::Collect(), GetDiscrepancyNames(), main(), CDiscrepancyConf::OnOk(), CBlastDbCheckApplication::Run(), RunTests(), CDiscrepancyAutofixTreeItemData::x_AddParamPanel(), CDiscRepApp::x_Autofix(), x_CollectGroup(), CDiscRepApp::x_Output(), CDiscRepApp::x_ProcessFile(), and x_ReorderList().