Changeset 1022 for trunk/psLib/test/sysUtils
- Timestamp:
- Jun 14, 2004, 9:40:15 AM (22 years ago)
- Location:
- trunk/psLib/test/sysUtils
- Files:
-
- 3 edited
-
tst_psHash02.c (modified) (1 diff)
-
tst_psHash03.c (modified) (2 diffs)
-
tst_psLogMsg02.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psHash02.c
r892 r1022 3 3 and retrieved correctly. 4 4 5 GUS: Add code to test whether duplicates are handled correctly (use a5 NOTE: Add code to test whether duplicates are handled correctly (use a 6 6 small hash table and lots of keys). 7 7 *****************************************************************************/ -
trunk/psLib/test/sysUtils/tst_psHash03.c
r892 r1022 2 2 This code will test whether hash tables entries can be removed correctly. 3 3 4 GUS: Add code to test whether duplicates are handled correctly.4 NOTE: Add code to test whether duplicates are handled correctly. 5 5 *****************************************************************************/ 6 6 #include <stdio.h> … … 102 102 while (myKeys[i] != NULL) { 103 103 id = psHashRemove(myHashTable, myKeys[i], (void (*)(void *))IdFree); 104 // GUS:The psHashRemove() procedure removes the entry from the hash104 // The psHashRemove() procedure removes the entry from the hash 105 105 // table, but does not delete the data. The following is necessary 106 106 // to delete the data as well (which is returned from the call). -
trunk/psLib/test/sysUtils/tst_psLogMsg02.c
r963 r1022 67 67 testStatus); 68 68 69 70 71 72 printPositiveTestHeader(stdout, 73 "psLogMsg functions", 74 "Output Format"); 75 76 psLogMsg("Under 15 chars", 0, "Hello World!\n"); 77 psLogMsg("This string is more than 15 chars", 0, "Hello World!\n"); 78 psLogMsg(__func__, 0, "Line #1\n"); 79 psLogMsg(__func__, 0, "Line #2\n"); 80 psLogMsg(__func__, 0, "Line #3"); 81 psLogMsg(__func__, 0, "Line #4"); 82 83 printFooter(stdout, 84 "psLogMsg functions", 85 "Output Format", 86 testStatus); 87 88 69 89 if (psMemCheckLeaks(currentId,NULL,NULL) != 0) { 70 90 psAbort(__func__,"Memory Leaks!");
Note:
See TracChangeset
for help on using the changeset viewer.
