![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Unit test cases related to file handling. More...
#include "run_tests.h"
Go to the source code of this file.
Functions | |
| int | CopyFileInit () |
| initialize | |
| int | CopyFileClean () |
| clean env and others | |
| void | testCopyFileNormalFile () |
| copy directory More... | |
| void | testCopyFileNormalDir () |
| copy directory More... | |
| void | testCopyFileAbnormal () |
| parameters are null More... | |
Variables | |
| static char * | Src = "" |
| Souce location. | |
| static char * | Dst = NULL |
| Destination location. | |
| static struct stat | statSrc |
| Stat of source. | |
| static struct stat | statDst |
| Stat of destination. | |
| static int | Result = 0 |
| Result of calls. | |
| CU_TestInfo | CopyFile_testcases [] |
| Copy test cases. More... | |
Unit test cases related to file handling.
Definition in file test_CopyFile.c.
| void testCopyFileAbnormal | ( | ) |
parameters are null
Definition at line 96 of file test_CopyFile.c.
| void testCopyFileNormalDir | ( | ) |
copy directory
Definition at line 78 of file test_CopyFile.c.
| void testCopyFileNormalFile | ( | ) |
copy directory
Definition at line 59 of file test_CopyFile.c.
| CU_TestInfo CopyFile_testcases[] |
Copy test cases.
Definition at line 112 of file test_CopyFile.c.