21 #include <libfocunit.h> 22 #include <libfodbreposysconf.h> 32 extern CU_TestInfo fossconfig_testcases[];
33 extern CU_TestInfo fossscheduler_testcases[];
34 extern CU_TestInfo libfossdb_testcases[];
35 extern CU_TestInfo libfossdbmanager_testcases[];
43 #if CU_VERSION_P == 213 46 {
"Testing libfossdb", NULL, NULL, NULL, NULL, libfossdb_testcases},
47 {
"Testing fossconfig", NULL, NULL, NULL, NULL, fossconfig_testcases},
48 {
"Testing libfossdbmanger", NULL, NULL, NULL, NULL, libfossdbmanager_testcases},
55 {
"Testing libfossdb", NULL, NULL, libfossdb_testcases},
56 {
"Testing fossconfig", NULL, NULL, fossconfig_testcases},
57 {
"Testing libfossdbmanger", NULL, NULL, libfossdbmanager_testcases},
67 int main(
int argc,
char** argv) {
73 dbManager = createTestEnvironment(
"..", NULL, 0);
77 const int returnValue = focunit_main(argc, argv,
"lib c Tests",
suites);
80 dropTestEnvironment(dbManager,
"..", NULL);
CU_SuiteInfo suites[]
all test suites for delagent
char * get_dbconf()
get Db.conf path just created by create_db_repo_sysconf()
fo_dbManager * dbManager
fo_dbManager object