Changeset 883
- Timestamp:
- Jun 4, 2004, 2:50:35 PM (22 years ago)
- Location:
- trunk/psLib/test/sysUtils
- Files:
-
- 5 edited
-
tst_psTrace00.c (modified) (1 diff)
-
tst_psTrace01.c (modified) (1 diff)
-
tst_psTrace02.c (modified) (3 diffs)
-
tst_psTrace03.c (modified) (1 diff)
-
tst_psTrace04.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psTrace00.c
r584 r883 1 1 /***************************************************************************** 2 This code testswhether trace levels can be set successfully.2 This code will test whether trace levels can be set successfully. 3 3 *****************************************************************************/ 4 4 #include <stdio.h> -
trunk/psLib/test/sysUtils/tst_psTrace01.c
r584 r883 1 1 /***************************************************************************** 2 This code testswhether trace levels can be reset successfully.2 This code will test whether trace levels can be reset successfully. 3 3 *****************************************************************************/ 4 4 #include <stdio.h> -
trunk/psLib/test/sysUtils/tst_psTrace02.c
r584 r883 1 1 /***************************************************************************** 2 This code testswhether trace messages can be successfully displayed2 This code will test whether trace messages can be successfully displayed 3 3 and not displayed. 4 5 NOTE: We must verify the output for the tst_psTrace02_OUT somewhere. 4 6 *****************************************************************************/ 5 7 #include <stdio.h> … … 9 11 int main() 10 12 { 13 FILE *fp; 14 11 15 printPositiveTestHeader(stdout, 12 16 "psTrace functions", … … 40 44 true); 41 45 46 47 fp = fopen("tst_psTrace02_OUT", "w"); 48 psTraceSetDestination(fp); 49 psTrace(".", 5, "(0) This message should be displayed (%x)\n", 50 0xbeefface); 51 fclose(fp); 52 42 53 return(0); 43 54 } -
trunk/psLib/test/sysUtils/tst_psTrace03.c
r584 r883 1 1 /***************************************************************************** 2 This code testswhether trace messages can be printed successfully2 This code will test whether trace messages can be printed successfully 3 3 with psPrintTraceLevels(). 4 4 *****************************************************************************/ -
trunk/psLib/test/sysUtils/tst_psTrace04.c
r584 r883 1 1 /***************************************************************************** 2 This code testswhether trace messages can be printed successfully2 This code will test whether trace messages can be printed successfully 3 3 with psPrintTraceLevels(). 4 4 *****************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
