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

Main function for in this testing module. More...

#include "testRun.h"
#include "finder.h"
#include <unistd.h>
Include dependency graph for testRun.c:

Go to the source code of this file.

Functions

void createTables ()
 
int main (int argc, char *argv[])
 

Variables

char * DBConfFile = NULL
 
fo_dbManagerdbManager = NULL
 fo_dbManager object
 
CU_SuiteInfo suites []
 all test suites for mimetype More...
 

Detailed Description

Main function for in this testing module.

Definition in file testRun.c.

Variable Documentation

◆ suites

CU_SuiteInfo suites[]
Initial value:
= {
{"DBCheckMime", NULL, NULL, (CU_SetUpFunc)DBCheckMimeInit, (CU_TearDownFunc)DBCheckMimeClean, testcases_DBCheckMime},
{"DBLoadMime", NULL, NULL, (CU_SetUpFunc)DBLoadMimeInit, (CU_TearDownFunc)DBLoadMimeClean, testcases_DBLoadMime},
{"DBFindMime", NULL, NULL, (CU_SetUpFunc)DBFindMimeInit, (CU_TearDownFunc)DBFindMimeClean, testcases_DBFindMime},
{"CheckMimeType", NULL, NULL, (CU_SetUpFunc)DBInit, (CU_TearDownFunc)DBClean, testcases_CheckMimeTypes},
{"DBCheckFileExtention", NULL, NULL, (CU_SetUpFunc)DBInit, (CU_TearDownFunc)DBClean, testcases_DBCheckFileExtention},
{"Utilities", NULL, NULL, NULL, NULL, testcases_Utilities},
CU_SUITE_INFO_NULL
}
int DBCheckMimeClean()
Clean the env.
int DBCheckMimeInit()
Initialize DB.
CU_TestInfo testcases_DBCheckMime[]
testcases for function DBCheckMime
CU_TestInfo testcases_DBFindMime[]
testcases for function DBFindMime
int DBFindMimeInit()
initialize
int DBFindMimeClean()
clean the env
int DBLoadMimeClean()
clean the env
int DBLoadMimeInit()
initialize DB
CU_TestInfo testcases_DBLoadMime[]
testcases for function DBLoadGold
int DBInit()
initialize DB
CU_TestInfo testcases_DBCheckFileExtention[]
testcases for function DBCheckFileExtention
CU_TestInfo testcases_Utilities[]
testcases for function GetFieldValue
int DBClean()
clean the env
CU_TestInfo testcases_CheckMimeTypes[]
testcases for function CheckMimeTypes

all test suites for mimetype

all test suites for delagent

Definition at line 28 of file testRun.c.