Changeset 526 for trunk/psLib/test/psTest.h
- Timestamp:
- Apr 26, 2004, 4:20:28 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/psTest.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/psTest.h
r509 r526 6 6 #include <stdbool.h> 7 7 8 #define printPositiveTestHeader( packageName, testPointName) \9 p_printPositiveTestHeader( __FILE__, packageName, testPointName)8 #define printPositiveTestHeader(filePtr, packageName, testPointName) \ 9 p_printPositiveTestHeader(filePtr, __FILE__, packageName, testPointName) 10 10 11 #define printNegativeTestHeader( packageName, testPointName, expectedError, exitValue) \12 p_printNegativeTestHeader( __FILE__, packageName, testPointName, expectedError, exitValue)11 #define printNegativeTestHeader(filePtr, packageName, testPointName, expectedError, exitValue) \ 12 p_printNegativeTestHeader(filePtr, __FILE__, packageName, testPointName, expectedError, exitValue) 13 13 14 #define printFooter( packageName, testPointName, success) \15 p_printFooter( __FILE__, packageName, testPointName, success)14 #define printFooter(filePtr, packageName, testPointName, success) \ 15 p_printFooter(filePtr, __FILE__, packageName, testPointName, success) 16 16 17 17 18 18 /////////////////////////// PRIVATE FUNCTIONS ////////////////////////////// 19 19 20 void p_printPositiveTestHeader( const char* testPointFile, const char* packageName, const char* testPointName);20 void p_printPositiveTestHeader(FILE *fp, const char* testPointFile, const char* packageName, const char* testPointName); 21 21 22 void p_printNegativeTestHeader( const char* testPointFile, const char* packageName,22 void p_printNegativeTestHeader(FILE *fp, const char* testPointFile, const char* packageName, 23 23 const char* testPointName,const char* expectedError, int exitValue); 24 24 25 void p_printFooter( const char* testPointFile, const char* packageName, const char* testPointName, bool25 void p_printFooter(FILE *fp, const char* testPointFile, const char* packageName, const char* testPointName, bool 26 26 success); 27 27 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
