FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Tests for ununpack DB access function. More...
#include "run_tests.h"
#include "../agent/externs.h"
Go to the source code of this file.
Functions | |
int | DBInsertInit () |
initialize | |
int | DBInsertClean () |
clean the database | |
void | testDBInsertPfile () |
test DBInsertPfile function More... | |
void | testDBInsertUploadTree () |
test DBInsertUploadTree function More... | |
Variables | |
static PGresult * | result = NULL |
static long | upload_pk = -1 |
static long | pfile_pk = -1 |
char * | DBConfFile |
DB conf file location. | |
CU_TestInfo | DBInsertPfile_testcases [] |
DB insertion test cases (pfile) More... | |
CU_TestInfo | DBInsertUploadTree_testcases [] |
DB insertion test cases (uploadtree) More... | |
Tests for ununpack DB access function.
Definition in file test_DBInsert.c.
void testDBInsertPfile | ( | ) |
test DBInsertPfile function
Definition at line 134 of file test_DBInsert.c.
void testDBInsertUploadTree | ( | ) |
test DBInsertUploadTree function
Definition at line 153 of file test_DBInsert.c.
CU_TestInfo DBInsertPfile_testcases[] |
DB insertion test cases (pfile)
Definition at line 169 of file test_DBInsert.c.
CU_TestInfo DBInsertUploadTree_testcases[] |
DB insertion test cases (uploadtree)
Definition at line 174 of file test_DBInsert.c.