IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 3, 2004, 2:02:57 PM (22 years ago)
Author:
evanalst
Message:

Add additional test cases to cover invalid arguments for psHashAdd and
to test the replacement function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/verified/tst_psHash01.stdout

    r1421 r2620  
    11/***************************** TESTPOINT ******************************************\
    22*             TestFile: tst_psHash01.c                                             *
    3 *            TestPoint: psHash functions{psHashFree()}                             *
     3*            TestPoint: psHash functions{psHashAlloc}                              *
     4*             TestType: Positive                                                   *
     5\**********************************************************************************/
     6
     7
     8---> TESTPOINT PASSED (psHash functions{psHashAlloc} | tst_psHash01.c)
     9
     10/***************************** TESTPOINT ******************************************\
     11*             TestFile: tst_psHash01.c                                             *
     12*            TestPoint: psHash functions{psHashAdd}                                *
     13*             TestType: Positive                                                   *
     14\**********************************************************************************/
     15
     16
     17---> TESTPOINT PASSED (psHash functions{psHashAdd} | tst_psHash01.c)
     18
     19/***************************** TESTPOINT ******************************************\
     20*             TestFile: tst_psHash01.c                                             *
     21*            TestPoint: psHash replace item{psHashAdd}                             *
     22*             TestType: Positive                                                   *
     23\**********************************************************************************/
     24
     25
     26---> TESTPOINT PASSED (psHash replace item{psHashAdd} | tst_psHash01.c)
     27
     28/***************************** TESTPOINT ******************************************\
     29*             TestFile: tst_psHash01.c                                             *
     30*            TestPoint: psHashAdd{NULL hash table}                                 *
     31*             TestType: Negative                                                   *
     32*    ExpectedErrorText: Hash table can not be NULL.                                *
     33*  ExpectedStatusValue: 0                                                          *
     34\**********************************************************************************/
     35
     36
     37---> TESTPOINT PASSED (psHashAdd{NULL hash table} | tst_psHash01.c)
     38
     39/***************************** TESTPOINT ******************************************\
     40*             TestFile: tst_psHash01.c                                             *
     41*            TestPoint: psHashAdd{NULL key}                                        *
     42*             TestType: Negative                                                   *
     43*    ExpectedErrorText: Hash key can not be NULL.                                  *
     44*  ExpectedStatusValue: 0                                                          *
     45\**********************************************************************************/
     46
     47
     48---> TESTPOINT PASSED (psHashAdd{NULL hash key} | tst_psHash01.c)
     49
     50/***************************** TESTPOINT ******************************************\
     51*             TestFile: tst_psHash01.c                                             *
     52*            TestPoint: psHashAdd{NULL hash data}                                  *
     53*             TestType: Negative                                                   *
     54*    ExpectedErrorText: Hash data can not be NULL.                                 *
     55*  ExpectedStatusValue: 0                                                          *
     56\**********************************************************************************/
     57
     58
     59---> TESTPOINT PASSED (psHashAdd{NULL hash data} | tst_psHash01.c)
     60
     61/***************************** TESTPOINT ******************************************\
     62*             TestFile: tst_psHash01.c                                             *
     63*            TestPoint: psHash functions{psHashFree}                               *
    464*             TestType: Positive                                                   *
    565\**********************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.