FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
run_tests.h
1
/*********************************************************************
2
Copyright (C) 2010-2011 Hewlett-Packard Development Company, L.P.
3
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
version 2 as published by the Free Software Foundation.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License along
14
with this program; if not, write to the Free Software Foundation, Inc.,
15
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
*********************************************************************/
17
#ifndef RUN_TESTS_H
18
#define RUN_TESTS_H
19
20
#include <stdio.h>
21
#include <stdlib.h>
22
#include <assert.h>
23
#include "CUnit/CUnit.h"
24
#include "CUnit/Automated.h"
25
26
#include "../agent/ununpack.h"
27
#include "libfocunit.h"
28
#include "libfodbreposysconf.h"
29
30
extern
char
*
Filename
;
31
extern
char
*
NewDir
;
32
extern
int
Recurse
;
33
extern
int
exists
;
34
extern
magic_t
MagicCookie
;
35
36
/* run_tests.c */
37
extern
int
file_dir_exists
(
char
*path_name);
38
39
/* TraverseStart */
40
extern
int
TraverseStartInit
();
41
extern
int
TraverseStartClean
();
42
43
/* Traverse */
44
extern
int
TraverseInit
();
45
extern
int
TraverseClean
();
46
47
/* TraverseChildInit */
48
extern
int
TraverseChildInit
();
49
50
/* CopyFile */
51
extern
int
CopyFileInit
();
52
extern
int
CopyFileClean
();
53
54
/* Prune */
55
extern
int
PruneInit
();
56
extern
int
PruneClean
();
57
58
/* for ununpack-ar.c, start */
59
/* for ununpack-ar.c, end */
60
61
/* for ununpack-iso.c, start */
62
/* for ununpack-iso.c, end */
63
64
/* for ununpack-disk.c, start */
65
extern
int
FatDiskNameInit
();
66
extern
int
FatDiskNameClean
();
67
/* for ununpack-disk.c, end */
68
69
/* InitCmd */
70
extern
int
InitCmdInit();
71
extern
int
InitCmdClean();
72
73
/* DBInsert */
74
extern
int
DBInsertInit
();
75
extern
int
DBInsertClean
();
76
#endif
file_dir_exists
int file_dir_exists(char *path_name)
test if a file or directory exists
Definition:
run_tests.c:136
FatDiskNameInit
int FatDiskNameInit()
initialize
Definition:
test_ununpack-disk.c:129
TraverseInit
int TraverseInit()
initialize
Definition:
test_Traverse.c:30
DBInsertClean
int DBInsertClean()
clean the database
Definition:
test_DBInsert.c:79
TraverseStartInit
int TraverseStartInit()
initialize
Definition:
test_TraverseStart.c:27
PruneClean
int PruneClean()
clean env and others
Definition:
test_Prune.c:41
PruneInit
int PruneInit()
initialize
Definition:
test_Prune.c:32
TraverseClean
int TraverseClean()
clean env and others
Definition:
test_Traverse.c:46
CopyFileClean
int CopyFileClean()
clean env and others
Definition:
test_CopyFile.c:43
TraverseStartClean
int TraverseStartClean()
clean env and others
Definition:
test_TraverseStart.c:43
NewDir
char * NewDir
Test result directory.
Definition:
run_tests.c:29
FatDiskNameClean
int FatDiskNameClean()
clean env and others
Definition:
test_ununpack-disk.c:138
MagicCookie
magic_t MagicCookie
for Magic
Definition:
finder.c:34
DBInsertInit
int DBInsertInit()
initialize
Definition:
test_DBInsert.c:32
Filename
char * Filename
Filename.
Definition:
run_tests.c:28
CopyFileInit
int CopyFileInit()
initialize
Definition:
test_CopyFile.c:34
exists
int exists
Default not exists.
Definition:
run_tests.c:31
TraverseChildInit
int TraverseChildInit()
initialize
Definition:
test_TraverseChild.c:30
Recurse
int Recurse
Level of unpack recursion. Default to infinite.
Definition:
run_tests.c:30
src
ununpack
agent_tests
Unit
run_tests.h
Generated on Mon Jun 29 2020 12:03:44 for FOSSology by
1.8.11