![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSQLMgr.Tests.h>
Public Member Functions | |
| cSQLUnitTest (cStringA sTable, bool bCreate) | |
| HRESULT | TestInsert (cSQLDatabase *pDatabase) |
| HRESULT | TestCreate (cSQLDatabase *pDatabase) |
| HRESULT | TestSelect (cSQLDatabase *pDatabase, cSQLCmdSelect &oSelect, bool bDump) |
| HRESULT | TestSelect1 (cSQLDatabase *pDatabase) |
| bool | TestStart (cSQLDatabase *pDatabase) |
| bool | TestStart (cStringF sConnectionString, cStringF sDriverName) |
Public Attributes | |
| cStringA | m_sTable |
| bool | m_bCreate |
Static Public Attributes | |
| static const char * | k_TableDef = CATOM_STATIC(TestTable1) |
| static const char * | k_FieldName = CATOM_STATIC(FieldName) |
| static const char * | k_FieldInt = CATOM_STATIC(FieldInt) |
| static const char * | k_FieldFloat = CATOM_STATIC(FieldFloat) |
| static const char * | k_FieldDateTime = CATOM_STATIC(FieldDateTime) |
| static const char * | k_FieldBit = CATOM_STATIC(FieldBit) |
| static const char * | k_FieldInt64 = CATOM_STATIC(FieldInt64) |
| static const char * | k_FieldDouble = CATOM_STATIC(FieldDouble) |
| static const char * | k_FieldBlob = CATOM_STATIC(FieldBlob) |
define a table in the database for testing.
|
inline |
| HRESULT GrayLib::cSQLUnitTest::TestCreate | ( | cSQLDatabase * | pDatabase | ) |
| HRESULT GrayLib::cSQLUnitTest::TestInsert | ( | cSQLDatabase * | pDatabase | ) |
| HRESULT GrayLib::cSQLUnitTest::TestSelect | ( | cSQLDatabase * | pDatabase, |
| cSQLCmdSelect & | oSelect, | ||
| bool | bDump | ||
| ) |
| HRESULT GrayLib::cSQLUnitTest::TestSelect1 | ( | cSQLDatabase * | pDatabase | ) |
| bool GrayLib::cSQLUnitTest::TestStart | ( | cSQLDatabase * | pDatabase | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| bool GrayLib::cSQLUnitTest::m_bCreate |
| cStringA GrayLib::cSQLUnitTest::m_sTable |