FOSSology  4.4.0
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

◆ testPathCheck()

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 17 of file test_PathCheck.c.

◆ testUsage()

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 40 of file test_PathCheck.c.

Variable Documentation

◆ PathCheck_testcases

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 49 of file test_PathCheck.c.