Changeset 3286 for trunk/psLib/test/collections/verified/tst_psArray.stderr
- Timestamp:
- Feb 18, 2005, 12:17:20 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/verified/tst_psArray.stderr
r3127 r3286 1 <DATE><TIME>|<HOST>|I|main 1 /***************************** TESTPOINT ******************************************\ 2 * TestFile: tst_psArray.c * 3 * TestPoint: psArray{psArray} * 4 * TestType: Positive * 5 \**********************************************************************************/ 6 7 /***************************** TESTPOINT ******************************************\ 8 * TestFile: tst_psArray.c * 9 * TestPoint: psArray{Create void pointer array} * 10 * TestType: Positive * 11 \**********************************************************************************/ 12 13 14 ---> TESTPOINT PASSED (psArray{Create void pointer array} | tst_psArray.c) 15 16 /***************************** TESTPOINT ******************************************\ 17 * TestFile: tst_psArray.c * 18 * TestPoint: psArray{Add data to void pointer array} * 19 * TestType: Positive * 20 \**********************************************************************************/ 21 22 ts[0].x = 0 ts[0].y = 0.00 23 ts[1].x = 10 ts[1].y = 10.10 24 ts[2].x = 20 ts[2].y = 20.20 25 ts[3].x = 30 ts[3].y = 30.30 26 ts[4].x = 40 ts[4].y = 40.40 27 array size = 5 28 array population = 5 29 30 ---> TESTPOINT PASSED (psArray{Add data to void pointer array} | tst_psArray.c) 31 32 /***************************** TESTPOINT ******************************************\ 33 * TestFile: tst_psArray.c * 34 * TestPoint: psArray{Reallocate void pointer array bigger} * 35 * TestType: Positive * 36 \**********************************************************************************/ 37 38 Adding more elements to void pointer array... 39 ts[0].x = 0 ts[0].y = 0.00 40 ts[1].x = 10 ts[1].y = 10.10 41 ts[2].x = 20 ts[2].y = 20.20 42 ts[3].x = 30 ts[3].y = 30.30 43 ts[4].x = 40 ts[4].y = 40.40 44 ts[5].x = 50 ts[5].y = 50.50 45 ts[6].x = 60 ts[6].y = 60.60 46 ts[7].x = 70 ts[7].y = 70.70 47 ts[8].x = 80 ts[8].y = 80.80 48 ts[9].x = 90 ts[9].y = 90.90 49 array size = 10 50 array population = 10 51 52 ---> TESTPOINT PASSED (psArray{Reallocate void pointer array bigger} | tst_psArray.c) 53 54 /***************************** TESTPOINT ******************************************\ 55 * TestFile: tst_psArray.c * 56 * TestPoint: psArray{Reallocate void pointer array smaller} * 57 * TestType: Positive * 58 \**********************************************************************************/ 59 60 ts[0].x = 0 ts[0].y = 0.00 61 ts[1].x = 10 ts[1].y = 10.10 62 ts[2].x = 20 ts[2].y = 20.20 63 array size = 3 64 array population = 3 65 66 ---> TESTPOINT PASSED (psArray{Reallocate integer void pointer smaller} | tst_psArray.c) 67 68 /***************************** TESTPOINT ******************************************\ 69 * TestFile: tst_psArray.c * 70 * TestPoint: psArray{Reallocate with a null array} * 71 * TestType: Negative * 72 * ExpectedErrorText: Error message generator * 73 * ExpectedStatusValue: 0 * 74 \**********************************************************************************/ 75 76 <DATE><TIME>|<HOST>|I|testArray 2 77 Following should generate an error message. 3 78 <DATE><TIME>|<HOST>|E|psArrayRealloc (FILE:LINENO) 4 79 psArrayRealloc must be given a non-NULL psArray to resize. 80 81 ---> TESTPOINT PASSED (psArray{Reallocate with a null array} | tst_psArray.c) 82 83 /***************************** TESTPOINT ******************************************\ 84 * TestFile: tst_psArray.c * 85 * TestPoint: psArray{Remove valid item} * 86 * TestType: Positive * 87 \**********************************************************************************/ 88 89 Array size after removal = 2 90 ts[0].x = 10 ts[0].y = 10.10 91 ts[1].x = 20 ts[1].y = 20.20 92 93 ---> TESTPOINT PASSED (psArray{Remove valid item} | tst_psArray.c) 94 95 /***************************** TESTPOINT ******************************************\ 96 * TestFile: tst_psArray.c * 97 * TestPoint: psArray{Remove invalid item from array} * 98 * TestType: Positive * 99 \**********************************************************************************/ 100 101 102 ---> TESTPOINT PASSED (psArray{Remove invalid item from array} | tst_psArray.c) 103 104 /***************************** TESTPOINT ******************************************\ 105 * TestFile: tst_psArray.c * 106 * TestPoint: psArray{Remove item from null array} * 107 * TestType: Positive * 108 \**********************************************************************************/ 109 5 110 <DATE><TIME>|<HOST>|E|psArrayRemove (FILE:LINENO) 6 111 Specified psArray can not be NULL. 112 113 ---> TESTPOINT PASSED (psArray{Remove item from null array} | tst_psArray.c) 114 115 /***************************** TESTPOINT ******************************************\ 116 * TestFile: tst_psArray.c * 117 * TestPoint: psArray{Remove null item from array} * 118 * TestType: Positive * 119 \**********************************************************************************/ 120 121 122 ---> TESTPOINT PASSED (psArray{Remove null item from array} | tst_psArray.c) 123 124 /***************************** TESTPOINT ******************************************\ 125 * TestFile: tst_psArray.c * 126 * TestPoint: psArray{Free void pointer array} * 127 * TestType: Positive * 128 \**********************************************************************************/ 129 130 131 ---> TESTPOINT PASSED (psArray{Free void pointer array} | tst_psArray.c) 132 133 134 ---> TESTPOINT PASSED (psArray{psArray} | tst_psArray.c) 135 136 /***************************** TESTPOINT ******************************************\ 137 * TestFile: tst_psArray.c * 138 * TestPoint: psArray{psArray} * 139 * TestType: Positive * 140 \**********************************************************************************/ 141 142 /***************************** TESTPOINT ******************************************\ 143 * TestFile: tst_psArray.c * 144 * TestPoint: psArray{Create void pointer array} * 145 * TestType: Positive * 146 \**********************************************************************************/ 147 148 149 ---> TESTPOINT PASSED (psArray{Create void pointer array} | tst_psArray.c) 150 151 /***************************** TESTPOINT ******************************************\ 152 * TestFile: tst_psArray.c * 153 * TestPoint: psArray{Add data to void pointer array} * 154 * TestType: Positive * 155 \**********************************************************************************/ 156 157 ts[0].x = 100 ts[0].y = 101.00 158 ts[1].x = 90 ts[1].y = 90.90 159 ts[2].x = 80 ts[2].y = 80.80 160 ts[3].x = 70 ts[3].y = 70.70 161 ts[4].x = 60 ts[4].y = 60.60 162 ts[5].x = 50 ts[5].y = 50.50 163 ts[6].x = 40 ts[6].y = 40.40 164 ts[7].x = 30 ts[7].y = 30.30 165 ts[8].x = 20 ts[8].y = 20.20 166 ts[9].x = 10 ts[9].y = 10.10 167 array size = 10 168 array population = 10 169 170 ---> TESTPOINT PASSED (psArray{Add data to void pointer array} | tst_psArray.c) 171 172 /***************************** TESTPOINT ******************************************\ 173 * TestFile: tst_psArray.c * 174 * TestPoint: psArray{Sort data in array} * 175 * TestType: Positive * 176 \**********************************************************************************/ 177 178 ts[0].x = 10 ts[0].y = 10.10 179 ts[1].x = 20 ts[1].y = 20.20 180 ts[2].x = 30 ts[2].y = 30.30 181 ts[3].x = 40 ts[3].y = 40.40 182 ts[4].x = 50 ts[4].y = 50.50 183 ts[5].x = 60 ts[5].y = 60.60 184 ts[6].x = 70 ts[6].y = 70.70 185 ts[7].x = 80 ts[7].y = 80.80 186 ts[8].x = 90 ts[8].y = 90.90 187 ts[9].x = 100 ts[9].y = 101.00 188 189 ---> TESTPOINT PASSED (psArray{Sort data in array} | tst_psArray.c) 190 191 /***************************** TESTPOINT ******************************************\ 192 * TestFile: tst_psArray.c * 193 * TestPoint: psArray{Attempt to sort array} * 194 * TestType: Positive * 195 \**********************************************************************************/ 196 197 198 ---> TESTPOINT PASSED (psArray{Attempt to sort array} | tst_psArray.c) 199 200 /***************************** TESTPOINT ******************************************\ 201 * TestFile: tst_psArray.c * 202 * TestPoint: psArray{Free void pointer array} * 203 * TestType: Positive * 204 \**********************************************************************************/ 205 206 207 ---> TESTPOINT PASSED (psArray{Free void pointer array} | tst_psArray.c) 208 209 210 ---> TESTPOINT PASSED (psArray{psArray} | tst_psArray.c) 211 212 /***************************** TESTPOINT ******************************************\ 213 * TestFile: tst_psArray.c * 214 * TestPoint: psArray{psArrayAdd} * 215 * TestType: Positive * 216 \**********************************************************************************/ 217 218 219 ---> TESTPOINT PASSED (psArray{psArrayAdd} | tst_psArray.c) 220
Note:
See TracChangeset
for help on using the changeset viewer.
