Changeset 3127 for trunk/psLib/test/collections
- Timestamp:
- Feb 4, 2005, 12:49:39 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 14 edited
-
. (modified) (1 prop)
-
test/collections/Makefile.am (modified) (3 diffs)
-
test/collections/verified/tst_psArray.stderr (modified) (1 diff)
-
test/collections/verified/tst_psBitSet.stderr (modified) (4 diffs)
-
test/collections/verified/tst_psHash01.stderr (modified) (1 diff)
-
test/collections/verified/tst_psHash02.stderr (modified) (1 diff)
-
test/collections/verified/tst_psHash03.stderr (modified) (1 diff)
-
test/collections/verified/tst_psHash05.stderr (modified) (1 diff)
-
test/collections/verified/tst_psList.stderr (modified) (5 diffs)
-
test/collections/verified/tst_psScalar.stderr (modified) (2 diffs)
-
test/collections/verified/tst_psVector.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_01.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_02.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_04.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib
- Property svn:ignore
-
old new 1 DoxygenLog 1 2 bin 2 3 lib
-
- Property svn:ignore
-
trunk/psLib/test/collections/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for collections functions of psLib 2 2 # 3 EXTRA_DIST = verified 4 3 5 INCLUDES = \ 4 6 -I$(top_srcdir)/src \ … … 11 13 $(all_includes) 12 14 13 AM_LDFLAGS = -L$(top_ srcdir)/src `sh $(top_srcdir)/pslib-config --libs`15 AM_LDFLAGS = -L$(top_builddir)/src $(PSLIB_LIBS) 14 16 15 17 check_PROGRAMS = \ … … 32 34 tst_psScalar 33 35 34 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 36 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 35 37 TESTS = \ 36 38 tst_psVector \ -
trunk/psLib/test/collections/verified/tst_psArray.stderr
r2855 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psArrayRealloc ( psArray.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psArrayRealloc (FILE:LINENO) 4 4 psArrayRealloc must be given a non-NULL psArray to resize. 5 <DATE><TIME>|<HOST>|E|psArrayRemove ( psArray.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psArrayRemove (FILE:LINENO) 6 6 Specified psArray can not be NULL. -
trunk/psLib/test/collections/verified/tst_psBitSet.stderr
r2281 r3127 9 9 <DATE><TIME>|<HOST>|I|testBitSet01a 10 10 Following is an error. 11 <DATE><TIME>|<HOST>|E|psBitSetAlloc ( psBitSet.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psBitSetAlloc (FILE:LINENO) 12 12 The number of bit in a psBitSet (-4) must be greater than zero. 13 13 … … 32 32 <DATE><TIME>|<HOST>|I|testBitSet01b 33 33 Following should be an error 34 <DATE><TIME>|<HOST>|E|psBitSetSet ( psBitSet.c:<LINENO>)34 <DATE><TIME>|<HOST>|E|psBitSetSet (FILE:LINENO) 35 35 The specified bit position (-4) is invalid. Position must be between 0 and 23. 36 36 <DATE><TIME>|<HOST>|I|testBitSet01b 37 37 Following should be an error 38 <DATE><TIME>|<HOST>|E|psBitSetSet ( psBitSet.c:<LINENO>)38 <DATE><TIME>|<HOST>|E|psBitSetSet (FILE:LINENO) 39 39 The specified bit position (200) is invalid. Position must be between 0 and 23. 40 40 <DATE><TIME>|<HOST>|I|testBitSet01b 41 41 Following should be an error 42 <DATE><TIME>|<HOST>|E|psBitSetSet ( psBitSet.c:<LINENO>)42 <DATE><TIME>|<HOST>|E|psBitSetSet (FILE:LINENO) 43 43 Can not operate on a NULL psBitSet. 44 44 … … 56 56 <DATE><TIME>|<HOST>|I|testBitSet01c 57 57 Following should be an error 58 <DATE><TIME>|<HOST>|E|psBitSetTest ( psBitSet.c:<LINENO>)58 <DATE><TIME>|<HOST>|E|psBitSetTest (FILE:LINENO) 59 59 The specified bit position (-4) is invalid. Position must be between 0 and 23. 60 60 <DATE><TIME>|<HOST>|I|testBitSet01c 61 61 Following should be an error 62 <DATE><TIME>|<HOST>|E|psBitSetTest ( psBitSet.c:<LINENO>)62 <DATE><TIME>|<HOST>|E|psBitSetTest (FILE:LINENO) 63 63 The specified bit position (200) is invalid. Position must be between 0 and 23. 64 64 <DATE><TIME>|<HOST>|I|testBitSet01c 65 65 Following should be an error 66 <DATE><TIME>|<HOST>|E|psBitSetTest ( psBitSet.c:<LINENO>)66 <DATE><TIME>|<HOST>|E|psBitSetTest (FILE:LINENO) 67 67 Can not operate on a NULL psBitSet. 68 68 … … 77 77 <DATE><TIME>|<HOST>|I|testBitSet06 78 78 Following should be an error 79 <DATE><TIME>|<HOST>|E|psBitSetOp ( psBitSet.c:<LINENO>)79 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 80 80 The psBitSet operand must be the same size. 81 81 <DATE><TIME>|<HOST>|I|testBitSet06 82 82 Following is an error. 83 <DATE><TIME>|<HOST>|E|psBitSetOp ( psBitSet.c:<LINENO>)83 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 84 84 Specified operator, FOO, is invalid. Valid operators are AND, OR, and XOR. 85 85 <DATE><TIME>|<HOST>|I|testBitSet06 86 86 Following is an error. 87 <DATE><TIME>|<HOST>|E|psBitSetOp ( psBitSet.c:<LINENO>)87 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 88 88 Specified operator, FOO, is invalid. Valid operators are AND, OR, and XOR. 89 89 -
trunk/psLib/test/collections/verified/tst_psHash01.stderr
r2620 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message: psHashAdd with null table 3 <DATE><TIME>|<HOST>|E|psHashAdd ( psHash.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHashAdd (FILE:LINENO) 4 4 Input psHash can not be NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message: psHashAdd with null key 7 <DATE><TIME>|<HOST>|E|psHashAdd ( psHash.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psHashAdd (FILE:LINENO) 8 8 Input key can not be NULL. 9 9 <DATE><TIME>|<HOST>|I|main 10 10 Following should generate an error message: psHashAdd with null data 11 <DATE><TIME>|<HOST>|E|psHashAdd ( psHash.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psHashAdd (FILE:LINENO) 12 12 Input data can not be NULL. -
trunk/psLib/test/collections/verified/tst_psHash02.stderr
r2622 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message: psHashLookup with null table 3 <DATE><TIME>|<HOST>|E|psHashLookup ( psHash.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHashLookup (FILE:LINENO) 4 4 Input psHash can not be NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message: psHashLookup with null key 7 <DATE><TIME>|<HOST>|E|psHashLookup ( psHash.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psHashLookup (FILE:LINENO) 8 8 Input key can not be NULL. -
trunk/psLib/test/collections/verified/tst_psHash03.stderr
r2624 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message: psHashRemove with null table 3 <DATE><TIME>|<HOST>|E|psHashRemove ( psHash.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHashRemove (FILE:LINENO) 4 4 Input psHash can not be NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message: psHashRemove with null key 7 <DATE><TIME>|<HOST>|E|psHashRemove ( psHash.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psHashRemove (FILE:LINENO) 8 8 Input key can not be NULL. -
trunk/psLib/test/collections/verified/tst_psHash05.stderr
r2969 r3127 7 7 <DATE><TIME>|<HOST>|I|hashToArray 8 8 Following should be an error. 9 <DATE><TIME>|<HOST>|E|psHashToArray ( psHash.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psHashToArray (FILE:LINENO) 10 10 Input psHash can not be NULL. 11 11 -
trunk/psLib/test/collections/verified/tst_psList.stderr
r3112 r3127 20 20 <DATE><TIME>|<HOST>|I|testListAdd 21 21 Following should generate an error for using NULL list. 22 <DATE><TIME>|<HOST>|E|psListAdd ( psList.c:<LINENO>)22 <DATE><TIME>|<HOST>|E|psListAdd (FILE:LINENO) 23 23 Specified psList reference is NULL. 24 24 <DATE><TIME>|<HOST>|I|testListAdd 25 25 Following should generate an error msg to add NULL data 26 <DATE><TIME>|<HOST>|E|psListAdd ( psList.c:<LINENO>)26 <DATE><TIME>|<HOST>|E|psListAdd (FILE:LINENO) 27 27 Specified data item is NULL. 28 28 <DATE><TIME>|<HOST>|I|testListAdd 29 29 Following should error with invalid insert location 30 <DATE><TIME>|<HOST>|E|psListIteratorSet ( psList.c:<LINENO>)30 <DATE><TIME>|<HOST>|E|psListIteratorSet (FILE:LINENO) 31 31 Specified location, -7, is invalid. 32 32 <DATE><TIME>|<HOST>|I|testListAdd … … 45 45 <DATE><TIME>|<HOST>|I|testListGet 46 46 Following should be an error 47 <DATE><TIME>|<HOST>|E|psListGet ( psList.c:<LINENO>)47 <DATE><TIME>|<HOST>|E|psListGet (FILE:LINENO) 48 48 Specified psList reference is NULL. 49 <DATE><TIME>|<HOST>|E|psListIteratorSet ( psList.c:<LINENO>)49 <DATE><TIME>|<HOST>|E|psListIteratorSet (FILE:LINENO) 50 50 Specified location, 5, is invalid. 51 <DATE><TIME>|<HOST>|E|psListGet ( psList.c:<LINENO>)51 <DATE><TIME>|<HOST>|E|psListGet (FILE:LINENO) 52 52 Specified location, 5, is invalid. 53 <DATE><TIME>|<HOST>|E|psListIteratorSet ( psList.c:<LINENO>)53 <DATE><TIME>|<HOST>|E|psListIteratorSet (FILE:LINENO) 54 54 Specified location, 4, is invalid. 55 <DATE><TIME>|<HOST>|E|psListGet ( psList.c:<LINENO>)55 <DATE><TIME>|<HOST>|E|psListGet (FILE:LINENO) 56 56 Specified location, 4, is invalid. 57 57 … … 66 66 <DATE><TIME>|<HOST>|I|testListRemove 67 67 Following should be an error 68 <DATE><TIME>|<HOST>|E|psListRemove ( psList.c:<LINENO>)68 <DATE><TIME>|<HOST>|E|psListRemove (FILE:LINENO) 69 69 Specified psList reference is NULL. 70 70 <DATE><TIME>|<HOST>|I|testListRemove 71 71 Next message should be an error 72 <DATE><TIME>|<HOST>|E|psListRemoveData ( psList.c:<LINENO>)72 <DATE><TIME>|<HOST>|E|psListRemoveData (FILE:LINENO) 73 73 Specified data item is NULL. 74 74 <DATE><TIME>|<HOST>|I|testListRemove 75 75 Next message should be an error 76 <DATE><TIME>|<HOST>|E|psListRemoveData ( psList.c:<LINENO>)76 <DATE><TIME>|<HOST>|E|psListRemoveData (FILE:LINENO) 77 77 Specified data item is not found in the psList. 78 78 <DATE><TIME>|<HOST>|I|testListRemove 79 79 NULL list in psListRemoveData should generate error message. 80 <DATE><TIME>|<HOST>|E|psListRemoveData ( psList.c:<LINENO>)80 <DATE><TIME>|<HOST>|E|psListRemoveData (FILE:LINENO) 81 81 Specified psList reference is NULL. 82 82 … … 131 131 <DATE><TIME>|<HOST>|I|testListAddAfter 132 132 NULL data pointer should generate error message 133 <DATE><TIME>|<HOST>|E|psListAddAfter ( psList.c:<LINENO>)133 <DATE><TIME>|<HOST>|E|psListAddAfter (FILE:LINENO) 134 134 Specified data item is NULL. 135 135 <DATE><TIME>|<HOST>|I|testListAddAfter 136 136 NULL iterator should generate error message 137 <DATE><TIME>|<HOST>|E|psListAddAfter ( psList.c:<LINENO>)137 <DATE><TIME>|<HOST>|E|psListAddAfter (FILE:LINENO) 138 138 Specified iterator is NULL. 139 139 <DATE><TIME>|<HOST>|I|testListAddAfter 140 140 Non-mutable list should generate error message 141 <DATE><TIME>|<HOST>|E|psListAddAfter ( psList.c:<LINENO>)141 <DATE><TIME>|<HOST>|E|psListAddAfter (FILE:LINENO) 142 142 Specified iterator indicates list is non-mutable. 143 143 … … 152 152 <DATE><TIME>|<HOST>|I|testListAddBefore 153 153 NULL data pointer should generate error message 154 <DATE><TIME>|<HOST>|E|psListAddBefore ( psList.c:<LINENO>)154 <DATE><TIME>|<HOST>|E|psListAddBefore (FILE:LINENO) 155 155 Specified data item is NULL. 156 156 <DATE><TIME>|<HOST>|I|testListAddBefore 157 157 NULL iterator should generate error message 158 <DATE><TIME>|<HOST>|E|psListAddBefore ( psList.c:<LINENO>)158 <DATE><TIME>|<HOST>|E|psListAddBefore (FILE:LINENO) 159 159 Specified iterator is NULL. 160 160 <DATE><TIME>|<HOST>|I|testListAddBefore 161 161 Non-mutable list should generate error message 162 <DATE><TIME>|<HOST>|E|psListAddBefore ( psList.c:<LINENO>)162 <DATE><TIME>|<HOST>|E|psListAddBefore (FILE:LINENO) 163 163 Specified iterator indicates list is non-mutable. 164 164 -
trunk/psLib/test/collections/verified/tst_psScalar.stderr
r2668 r3127 9 9 <DATE><TIME>|<HOST>|I|testScalarAlloc 10 10 Following should generate an error message 11 <DATE><TIME>|<HOST>|E|psScalarAlloc ( psScalar.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psScalarAlloc (FILE:LINENO) 12 12 Specified datatype (4865) is unsupported by psScalar. 13 13 … … 24 24 <DATE><TIME>|<HOST>|I|testScalarCopy 25 25 Following should generate an error message 26 <DATE><TIME>|<HOST>|E|psScalarCopy ( psScalar.c:<LINENO>)26 <DATE><TIME>|<HOST>|E|psScalarCopy (FILE:LINENO) 27 27 Specified datatype (4865) is unsupported by psScalar. 28 28 <DATE><TIME>|<HOST>|I|testScalarCopy 29 29 Following should generate an error message 30 <DATE><TIME>|<HOST>|E|psScalarCopy ( psScalar.c:<LINENO>)30 <DATE><TIME>|<HOST>|E|psScalarCopy (FILE:LINENO) 31 31 Can not copy a NULL psScalar. 32 32 -
trunk/psLib/test/collections/verified/tst_psVector.stderr
r2281 r3127 3 3 <DATE><TIME>|<HOST>|I|main 4 4 Following should be an error message. 5 <DATE><TIME>|<HOST>|E|psVectorRealloc ( psVector.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psVectorRealloc (FILE:LINENO) 6 6 psVectorRealloc must a given a non-NULL psVector to resize. Desired datatype unknown. -
trunk/psLib/test/collections/verified/tst_psVectorSort_01.stderr
r2669 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error messgae 3 <DATE><TIME>|<HOST>|E|psVectorSort ( psVector.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 4 4 Input psVector is an unsupported type (4865). -
trunk/psLib/test/collections/verified/tst_psVectorSort_02.stderr
r2677 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message 3 <DATE><TIME>|<HOST>|E|psVectorSortIndex ( psVector.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorSortIndex (FILE:LINENO) 4 4 psVectorSort can not sort a NULL psVector. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate two error messages(psVectorSort,psVectorSortIndex) 7 <DATE><TIME>|<HOST>|E|psVectorSort ( psVector.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 8 8 Input psVector is an unsupported type (4865). 9 <DATE><TIME>|<HOST>|E|psVectorSortIndex ( psVector.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psVectorSortIndex (FILE:LINENO) 10 10 Input psVector is an unsupported type (4865). -
trunk/psLib/test/collections/verified/tst_psVectorSort_04.stderr
r2281 r3127 1 <DATE><TIME>|<HOST>|E|psVectorSort ( psVector.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 2 2 psVectorSort can not sort a NULL psVector.
Note:
See TracChangeset
for help on using the changeset viewer.
