![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
testing for the function DBLoadGold More...
#include <CUnit/CUnit.h>#include "wget_agent.h"#include "../utility.h"#include <string.h>#include <ctype.h>#include "libfodbreposysconf.h"
Go to the source code of this file.
Macros | |
| #define | AGENT_DIR "../../" |
Functions | |
| int | DBLoadGoldInit () |
| initialize More... | |
| int | DBLoadGoldClean () |
| Clean the env. | |
| void | string_tolower (char *string) |
| Convert a string to lower case. More... | |
| void | testDBLoadGold () |
| Function to test DBLoadGold. More... | |
Variables | |
| static PGresult * | result = NULL |
| fo_conf * | sysconfig |
| static fo_dbManager * | dbManager |
| CU_TestInfo | testcases_DBLoadGold [] |
| testcases for function DBLoadGold More... | |
testing for the function DBLoadGold
Definition in file testDBLoadGold.c.
| int DBLoadGoldInit | ( | ) |
initialize
At first download one file(dir), save as one tar file
Definition at line 43 of file testDBLoadGold.c.
| void string_tolower | ( | char * | string | ) |
Convert a string to lower case.
| [in,out] | string | The string will be converted to lower case |
Definition at line 154 of file testDBLoadGold.c.
| void testDBLoadGold | ( | ) |
Function to test DBLoadGold.
Definition at line 173 of file testDBLoadGold.c.
| fo_conf* sysconfig |
System configuration settings
Definition at line 61 of file libfossscheduler.c.
| CU_TestInfo testcases_DBLoadGold[] |
testcases for function DBLoadGold
Definition at line 230 of file testDBLoadGold.c.