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

Unit test cases for TraverseStart() More...

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

Go to the source code of this file.

Functions

int TraverseStartInit ()
 initialize
 
int TraverseStartClean ()
 clean env and others
 
void testTraverseStartNormal ()
 Test TraverseStart() for normal file. More...
 
void testTraverseStartDir ()
 test TraverseStart() for directory More...
 

Variables

static char * Label = ""
 
CU_TestInfo TraverseStart_testcases []
 TraverseStart() test cases. More...
 

Detailed Description

Unit test cases for TraverseStart()

Definition in file test_TraverseStart.c.

Function Documentation

void testTraverseStartDir ( )

test TraverseStart() for directory

Test:
  1. Pass a directory's location to TraverseStart()
  2. Check if files are unpacked

Definition at line 72 of file test_TraverseStart.c.

void testTraverseStartNormal ( )

Test TraverseStart() for normal file.

Test:
  1. Pass a normal file location to TraverseStart()
  2. Check if files are unpacked

Definition at line 55 of file test_TraverseStart.c.

Variable Documentation

CU_TestInfo TraverseStart_testcases[]
Initial value:
=
{
{"TraverseStart normal:", testTraverseStartNormal},
{"TraverseStart dir:", testTraverseStartDir},
CU_TEST_INFO_NULL
}
void testTraverseStartNormal()
Test TraverseStart() for normal file.
void testTraverseStartDir()
test TraverseStart() for directory

TraverseStart() test cases.

Definition at line 88 of file test_TraverseStart.c.