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