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

main function for in this testing module More...

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include "CUnit/CUnit.h"
#include "CUnit/Automated.h"
#include "testRun.h"
Include dependency graph for testRun.c:

Go to the source code of this file.

Functions

char * getUser ()
 Helper function to get db owner. More...
 
int DelagentDBInit ()
 initialize db More...
 
int DelagentClean ()
 clean db
 
int DelagentInit ()
 init db and repo More...
 
int main (int argc, char *argv[])
 main test function
 

Variables

char * DBConfFile = NULL
 
CU_SuiteInfo suites []
 all test suites for delagent More...
 

Detailed Description

main function for in this testing module

Definition in file testRun.c.

Function Documentation

int DelagentDBInit ( )

initialize db

Returns
0 on success, -1 otherwise

Definition at line 68 of file testRun.c.

int DelagentInit ( )

init db and repo

Returns
0 on success, -1 otherwise

Definition at line 123 of file testRun.c.

char* getUser ( )

Helper function to get db owner.

Returns
Owner of the database

Definition at line 41 of file testRun.c.

Variable Documentation

CU_SuiteInfo suites[]

all test suites for delagent

array of every test suite. There should be at least one test suite for every library includes in libfossology.

Todo:
Fix fossscheduler_testcases

all test suites for delagent

Definition at line 54 of file testRun.h.