FOSSology  4.4.0
Open Source License Compliance by Open Source Software
testRun.c
Go to the documentation of this file.
1 /*
2  SPDX-FileCopyrightText: © 2011 Hewlett-Packard Development Company, L.P.
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #include "testRun.h"
8 
18 CU_SuiteInfo suites[] = {
19  // for wget_agent.c
20 #if 0
21 #endif
22  {"GetURL", NULL, NULL, (CU_SetUpFunc)GetURLInit, (CU_TearDownFunc)GetURLClean, testcases_GetURL},
23  {"SetEnv", NULL, NULL, (CU_SetUpFunc)SetEnvInit, (CU_TearDownFunc)SetEnvClean, testcases_SetEnv},
24  {"Utiliies", NULL, NULL, NULL, NULL, testcases_Utiliies},
25  {"DBLoadGold", NULL, NULL, (CU_SetUpFunc)DBLoadGoldInit, (CU_TearDownFunc)DBLoadGoldClean, testcases_DBLoadGold},
26  CU_SUITE_INFO_NULL
27 };
28 
29 /*
30  * \brief main test function
31  */
32 int main( int argc, char *argv[] )
33 {
34  return focunit_main(argc, argv, "wget_agent_Tests", suites) ;
35 }
36 
int main(int argc, char *argv[])
main test function
Definition: testRun.c:134
CU_SuiteInfo suites[]
all test suites for delagent
Definition: testRun.h:36
CU_TestInfo testcases_DBLoadGold[]
testcases for function DBLoadGold
int DBLoadGoldInit()
initialize
int DBLoadGoldClean()
Clean the env.
CU_TestInfo testcases_GetURL[]
testcases for function GetURL
Definition: testGetURL.c:100
int GetURLClean()
clean the env
Definition: testGetURL.c:42
int GetURLInit()
initialize
Definition: testGetURL.c:35
int SetEnvInit()
initialize
Definition: testSetEnv.c:25
int SetEnvClean()
clean the env
Definition: testSetEnv.c:37
CU_TestInfo testcases_SetEnv[]
testcases for function SetEnv
Definition: testSetEnv.c:67
CU_TestInfo testcases_Utiliies[]
testcases for function SetEnv