FOSSology  4.4.0
Open Source License Compliance by Open Source Software
testSetEnv.c File Reference

testing for the function SetEnv() More...

#include <CUnit/CUnit.h>
#include "wget_agent.h"
#include "utility.h"
Include dependency graph for testSetEnv.c:

Go to the source code of this file.

Functions

int SetEnvInit ()
 initialize
 
int SetEnvClean ()
 clean the env
 
void testSetEnvNormal ()
 set the global variables More...
 

Variables

static char Source [MAX_LENGTH]
 
static char TempFileDir [MAX_LENGTH]
 
CU_TestInfo testcases_SetEnv []
 testcases for function SetEnv More...
 

Detailed Description

testing for the function SetEnv()

Definition in file testSetEnv.c.

Function Documentation

◆ testSetEnvNormal()

void testSetEnvNormal ( )

set the global variables

Test:
  1. Set parameters for wget_agent
  2. Call SetEnv()
  3. Check if the parameters get set

Definition at line 52 of file testSetEnv.c.

Variable Documentation

◆ testcases_SetEnv

CU_TestInfo testcases_SetEnv[]
Initial value:
=
{
{"SetEnv:Normal", testSetEnvNormal},
CU_TEST_INFO_NULL
}
void testSetEnvNormal()
set the global variables
Definition: testSetEnv.c:52

testcases for function SetEnv

Definition at line 67 of file testSetEnv.c.