FOSSology  4.4.0
Open Source License Compliance by Open Source Software
testListFolders.c File Reference

testing for the function ListFolders and ListUploads More...

#include <CUnit/CUnit.h>
#include "delagent.h"
#include <string.h>
Include dependency graph for testListFolders.c:

Go to the source code of this file.

Functions

void testListFolders ()
 for function ListFolders More...
 
void testListUploads ()
 for function ListUploads More...
 

Variables

char * DBConfFile
 DB conf file location.
 
CU_TestInfo testcases_ListFolders []
 testcases for function ListFolders More...
 

Detailed Description

testing for the function ListFolders and ListUploads

Definition in file testListFolders.c.

Function Documentation

◆ testListFolders()

void testListFolders ( )

for function ListFolders

Test:
  1. List folders using listFolders()
  2. Check for the return code

exectue the tested function

Definition at line 24 of file testListFolders.c.

◆ testListUploads()

void testListUploads ( )

for function ListUploads

Test:
  1. List uploads using listUploads()
  2. Check for the return code

exectue the tested function

Definition at line 43 of file testListFolders.c.

Variable Documentation

◆ testcases_ListFolders

CU_TestInfo testcases_ListFolders[]
Initial value:
=
{
{"Testing the function ListFolders:", testListFolders},
{"Testing the function ListUploads:", testListUploads},
CU_TEST_INFO_NULL
}
void testListUploads()
for function ListUploads
void testListFolders()
for function ListFolders

testcases for function ListFolders

Definition at line 61 of file testListFolders.c.