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

Unit test cases for PathCheck() and Usage() More...

#include "run_tests.h"
Include dependency graph for test_PathCheck.c:

Go to the source code of this file.

Functions

void testPathCheck ()
 function PathCheck More...
 
void testUsage ()
 function Usage More...
 

Variables

CU_TestInfo PathCheck_testcases []
 Pacth check test cases. More...
 

Detailed Description

Unit test cases for PathCheck() and Usage()

Definition in file test_PathCheck.c.

Function Documentation

void testPathCheck ( )

function PathCheck

Test:
  1. Create a string with H, R and U
  2. Call PathCheck() and check if place holders are replaced

Definition at line 28 of file test_PathCheck.c.

void testUsage ( )

function Usage

Test:
  1. Call Usage()
  2. Check the results
Todo:
Need added output check of Usage, how to do it?

Definition at line 51 of file test_PathCheck.c.

Variable Documentation

CU_TestInfo PathCheck_testcases[]
Initial value:
=
{
{"PathCheck:", testPathCheck},
{"Usage:", testUsage},
CU_TEST_INFO_NULL
}
void testPathCheck()
function PathCheck
void testUsage()
function Usage

Pacth check test cases.

Definition at line 60 of file test_PathCheck.c.