![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Test cases for CPP DB Manager. More...
Public Member Functions | |
void | setUp () |
void | tearDown () |
void | test_runCommandQueryCheckIfSuccess () |
void | test_tableExists () |
void | test_runSimpleQuery () |
void | test_runPreparedStatement () |
void | test_transactions () |
void | test_runBadCommandQueryCheckIfError () |
void | test_runSchedulerConnectConstructor () |
Private Member Functions | |
CPPUNIT_TEST_SUITE (FoLibCPPTest) | |
CPPUNIT_TEST (test_runSimpleQuery) | |
CPPUNIT_TEST (test_runCommandQueryCheckIfSuccess) | |
CPPUNIT_TEST (test_tableExists) | |
CPPUNIT_TEST (test_runPreparedStatement) | |
CPPUNIT_TEST (test_transactions) | |
CPPUNIT_TEST (test_runBadCommandQueryCheckIfError) | |
CPPUNIT_TEST (test_runSchedulerConnectConstructor) | |
CPPUNIT_TEST_SUITE_END () | |
Private Attributes | |
fo::DbManager * | dbManager |
Object for DbManager. | |
Test cases for CPP DB Manager.
Definition at line 42 of file test_fossdbmanagerclass.cc.
|
inline |
One time setup to create test environment and get new DbManager
Definition at line 59 of file test_fossdbmanagerclass.cc.
|
inline |
Tear down to destroy DbManager object and test environment
Definition at line 66 of file test_fossdbmanagerclass.cc.
|
inline |
Test to check bad query
Definition at line 241 of file test_fossdbmanagerclass.cc.
|
inline |
Test to check if simple query executes successfully
Definition at line 79 of file test_fossdbmanagerclass.cc.
|
inline |
Test to check fo::DbManager::execPrepared() function
Definition at line 148 of file test_fossdbmanagerclass.cc.
|
inline |
Test to check if DbManager can create connection with scheduler connect
argv
argv
.Definition at line 263 of file test_fossdbmanagerclass.cc.
|
inline |
Test to check fo::QueryResult::getSimpleResults() function
Definition at line 114 of file test_fossdbmanagerclass.cc.
|
inline |
Test to check fo::DbManager::tableExists() function
Definition at line 96 of file test_fossdbmanagerclass.cc.
|
inline |
Test to check transaction functions
Definition at line 191 of file test_fossdbmanagerclass.cc.