IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2005, 12:17:20 PM (21 years ago)
Author:
desonia
Message:

* empty log message *

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
     22ts[0].x = 0 ts[0].y = 0.00
     23ts[1].x = 10 ts[1].y = 10.10
     24ts[2].x = 20 ts[2].y = 20.20
     25ts[3].x = 30 ts[3].y = 30.30
     26ts[4].x = 40 ts[4].y = 40.40
     27array size = 5
     28array 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
     38Adding more elements to void pointer array...
     39ts[0].x = 0 ts[0].y = 0.00
     40ts[1].x = 10 ts[1].y = 10.10
     41ts[2].x = 20 ts[2].y = 20.20
     42ts[3].x = 30 ts[3].y = 30.30
     43ts[4].x = 40 ts[4].y = 40.40
     44ts[5].x = 50 ts[5].y = 50.50
     45ts[6].x = 60 ts[6].y = 60.60
     46ts[7].x = 70 ts[7].y = 70.70
     47ts[8].x = 80 ts[8].y = 80.80
     48ts[9].x = 90 ts[9].y = 90.90
     49array size = 10
     50array 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
     60ts[0].x = 0 ts[0].y = 0.00
     61ts[1].x = 10 ts[1].y = 10.10
     62ts[2].x = 20 ts[2].y = 20.20
     63array size = 3
     64array 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
    277    Following should generate an error message.
    378<DATE><TIME>|<HOST>|E|psArrayRealloc (FILE:LINENO)
    479    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
     89Array size after removal = 2
     90ts[0].x = 10 ts[0].y = 10.10
     91ts[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
    5110<DATE><TIME>|<HOST>|E|psArrayRemove (FILE:LINENO)
    6111    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
     157ts[0].x = 100 ts[0].y = 101.00
     158ts[1].x = 90 ts[1].y = 90.90
     159ts[2].x = 80 ts[2].y = 80.80
     160ts[3].x = 70 ts[3].y = 70.70
     161ts[4].x = 60 ts[4].y = 60.60
     162ts[5].x = 50 ts[5].y = 50.50
     163ts[6].x = 40 ts[6].y = 40.40
     164ts[7].x = 30 ts[7].y = 30.30
     165ts[8].x = 20 ts[8].y = 20.20
     166ts[9].x = 10 ts[9].y = 10.10
     167array size = 10
     168array 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
     178ts[0].x = 10 ts[0].y = 10.10
     179ts[1].x = 20 ts[1].y = 20.20
     180ts[2].x = 30 ts[2].y = 30.30
     181ts[3].x = 40 ts[3].y = 40.40
     182ts[4].x = 50 ts[4].y = 50.50
     183ts[5].x = 60 ts[5].y = 60.60
     184ts[6].x = 70 ts[6].y = 70.70
     185ts[7].x = 80 ts[7].y = 80.80
     186ts[8].x = 90 ts[8].y = 90.90
     187ts[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.