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

◆ testTraverseStartDir()

void testTraverseStartDir ( )

test TraverseStart() for directory

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

Definition at line 61 of file test_TraverseStart.c.

◆ testTraverseStartNormal()

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 44 of file test_TraverseStart.c.

Variable Documentation

◆ TraverseStart_testcases

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

TraverseStart() test cases.

Definition at line 77 of file test_TraverseStart.c.