IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 14, 2004, 10:01:52 AM (22 years ago)
Author:
desonia
Message:

Updated files in src/collections to use new psError functionality. Also
cleaned up the code where needed, removing unnecessary error conditions,
etc.

Location:
trunk/psLib/test/collections
Files:
2 added
21 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/Makefile

    r1421 r1807  
    33##  Makefile:   test/collections
    44##
    5 ##  $Revision: 1.22 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-08-09 20:42:24 $
     5##  $Revision: 1.23 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-09-14 20:01:52 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2121TARGET = tst_psVector          \
    2222         tst_psArray           \
    23          tst_psBitSet_01       \
    24          tst_psBitSet_02       \
    25          tst_psBitSet_03       \
    26          tst_psBitSet_04       \
    27          tst_psBitSet_05       \
    28          tst_psBitSet_06       \
    29          tst_psBitSet_07       \
    30          tst_psBitSet_08       \
     23         tst_psBitSet          \
    3124         tst_psVectorSort_01   \
    3225         tst_psVectorSort_02   \
  • trunk/psLib/test/collections/verified/tst_psVector.stderr

    r1761 r1807  
    11<DATE><TIME>|<HOST>|I|main
    22    Following should be an error message.
    3 <DATE><TIME>|<HOST>|E|psVectorAlloc
    4     Invalid value for nalloc. nalloc: 0
    53<DATE><TIME>|<HOST>|I|main
    64    Following should be an error message.
    7 <DATE><TIME>|<HOST>|E|psVectorRealloc
    8     Null input vector
     5<DATE><TIME>|<HOST>|E|psLib.collections.psVectorRealloc
     6    psVectorRealloc must a given a non-NULL psVector to resize.  Desired datatype unknown.
  • trunk/psLib/test/collections/verified/tst_psVectorSort_02.stderr

    r1304 r1807  
     1<DATE><TIME>|<HOST>|E|psLib.collections.psVectorSortIndex
     2    Input psVector is an unsupported type (0).
  • trunk/psLib/test/collections/verified/tst_psVectorSort_02.stdout

    r1304 r1807  
    1919\**********************************************************************************/
    2020
    21 arr[0] = 3
    22 arr[1] = 2
    23 arr[2] = 4
     21arr[0] = 0
     22arr[1] = 0
     23arr[2] = 0
    2424arr[3] = 0
    25 arr[4] = 1
     25arr[4] = 0
    2626
    2727---> TESTPOINT PASSED (psVectorSortIndex{Create sorted index vector} | tst_psVectorSort_02.c)
     
    4242\**********************************************************************************/
    4343
     44                   file:line ID
     45              psError.c:<LINENO>   9
     46              psError.c:<LINENO>   8
     47              psError.c:<LINENO>   7
     48ERROR: Found 3 memory leaks
    4449
    4550---> TESTPOINT PASSED (psVectorSort{Free vectors} | tst_psVectorSort_02.c)
  • trunk/psLib/test/collections/verified/tst_psVectorSort_03.stderr

    r1761 r1807  
    1 <DATE><TIME>|<HOST>|E|psVectorSort
    2      : Line <LINENO> - Input and output vector sizes are not equal: in=5 out=6
    3 <DATE><TIME>|<HOST>|E|psVectorSort
    4      : Line <LINENO> - Input and output vectors are not same type: in=1028 out=1032
  • trunk/psLib/test/collections/verified/tst_psVectorSort_04.stderr

    r1761 r1807  
    1 <DATE><TIME>|<HOST>|E|psVectorSort
    2      : Line <LINENO> - Null input vector
     1<DATE><TIME>|<HOST>|E|psLib.collections.psVectorSort
     2    psVectorSort can not sort a NULL psVector.
  • trunk/psLib/test/collections/verified/tst_psVectorSort_04.stdout

    r1233 r1807  
    1616\**********************************************************************************/
    1717
     18                   file:line ID
     19              psError.c:<LINENO>   5
     20              psError.c:<LINENO>   4
     21              psError.c:<LINENO>   3
     22ERROR: Found 3 memory blocks
    1823
    1924---> TESTPOINT PASSED (psVectorSort{Free arays} | tst_psVectorSort_04.c)
Note: See TracChangeset for help on using the changeset viewer.