19 #include <CUnit/CUnit.h> 45 CU_ASSERT_EQUAL(rc, 0);
46 CU_PASS(
"ListFolders PASS!");
65 CU_ASSERT_EQUAL(rc, 0);
66 CU_PASS(
"ListUploads PASS!");
PGconn * pgConn
Database connection.
void testListFolders()
for function ListFolders
char * DBConfFile
DB conf file location.
void testListUploads()
for function ListUploads
CU_TestInfo testcases_ListFolders[]
testcases for function ListFolders
int listFolders(int userId, int userPerm)
List every folder.
int listUploads(int userId, int userPerm)
List every upload ID.
PGconn * fo_dbconnect(char *DBConfFile, char **ErrorBuf)
Connect to a database. The default is Db.conf.