IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2004, 9:40:15 AM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/test/sysUtils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psHash02.c

    r892 r1022  
    33    and retrieved correctly.
    44 
    5     GUS: Add code to test whether duplicates are handled correctly (use a
     5    NOTE: Add code to test whether duplicates are handled correctly (use a
    66    small hash table and lots of keys).
    77 *****************************************************************************/
  • trunk/psLib/test/sysUtils/tst_psHash03.c

    r892 r1022  
    22    This code will test whether hash tables entries can be removed correctly.
    33 
    4     GUS: Add code to test whether duplicates are handled correctly.
     4    NOTE: Add code to test whether duplicates are handled correctly.
    55 *****************************************************************************/
    66#include <stdio.h>
     
    102102    while (myKeys[i] != NULL) {
    103103        id = psHashRemove(myHashTable, myKeys[i], (void (*)(void *))IdFree);
    104         // GUS: The psHashRemove() procedure removes the entry from the hash
     104        // The psHashRemove() procedure removes the entry from the hash
    105105        // table, but does not delete the data.  The following is necessary
    106106        // to delete the data as well (which is returned from the call).
  • trunk/psLib/test/sysUtils/tst_psLogMsg02.c

    r963 r1022  
    6767                testStatus);
    6868
     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
    6989    if (psMemCheckLeaks(currentId,NULL,NULL) != 0) {
    7090        psAbort(__func__,"Memory Leaks!");
Note: See TracChangeset for help on using the changeset viewer.