IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 925


Ignore:
Timestamp:
Jun 8, 2004, 9:42:56 AM (22 years ago)
Author:
desonia
Message:

added more tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/verified/tst_psList.stderr

    r921 r925  
    11/----------------------------- TESTPOINT ------------------------------------------\
    2 |             TestFile: tst_psDlist.c                                              |
    3 |            TestPoint: psDlist{487-testDlistAlloc}                                |
     2|             TestFile: tst_psList.c                                               |
     3|            TestPoint: psList{487-testListAlloc}                                  |
    44|             TestType: Positive                                                   |
    55\----------------------------------------------------------------------------------/
    66
    7  <DATE> <TIME> <HOST> |I|testDlistAlloc |psDlistAlloc shall create a psDlist with either 0 or 1 element.
     7 <DATE> <TIME> <HOST> |I|testListAlloc  |psListAlloc shall create a psList with either 0 or 1 element.
    88
    9 ---> TESTPOINT PASSED (psDlist{487-testDlistAlloc} | tst_psDlist.c)
     9---> TESTPOINT PASSED (psList{487-testListAlloc} | tst_psList.c)
    1010
    1111/----------------------------- TESTPOINT ------------------------------------------\
    12 |             TestFile: tst_psDlist.c                                              |
    13 |            TestPoint: psDlist{488-testDlistAdd}                                  |
     12|             TestFile: tst_psList.c                                               |
     13|            TestPoint: psList{488-testListAdd}                                    |
    1414|             TestType: Positive                                                   |
    1515\----------------------------------------------------------------------------------/
    1616
    17  <DATE> <TIME> <HOST> |I|testDlistAdd   |psDlistAdd shall add an element to list
    18  <DATE> <TIME> <HOST> |I|testDlistAdd   |Following should warn with invalid insert location
    19  <DATE> <TIME> <HOST> |W|psDlistAdd     |The given insert location (-10) for psDlistAdd is invalid. Adding to head instead.
    20  <DATE> <TIME> <HOST> |I|testDlistAdd   |Following should be a warning.
    21  <DATE> <TIME> <HOST> |W|psDlistAdd     |Invalid index 9 (only 7 elements in psDList); assuming tail.
     17 <DATE> <TIME> <HOST> |I|testListAdd    |psListAdd shall add an element to list
     18 <DATE> <TIME> <HOST> |I|testListAdd    |Following should warn with invalid insert location
     19 <DATE> <TIME> <HOST> |W|psListAdd      |The given insert location (-10) for psListAdd is invalid. Adding to head instead.
     20 <DATE> <TIME> <HOST> |I|testListAdd    |Following should be a warning.
     21 <DATE> <TIME> <HOST> |W|psListAdd      |Invalid index 9 (only 7 elements in psList); assuming tail.
    2222
    23 ---> TESTPOINT PASSED (psDlist{488-testDlistAdd} | tst_psDlist.c)
     23---> TESTPOINT PASSED (psList{488-testListAdd} | tst_psList.c)
    2424
    2525/----------------------------- TESTPOINT ------------------------------------------\
    26 |             TestFile: tst_psDlist.c                                              |
    27 |            TestPoint: psDlist{489-testDlistGet}                                  |
     26|             TestFile: tst_psList.c                                               |
     27|            TestPoint: psList{489-testListGet}                                    |
    2828|             TestType: Positive                                                   |
    2929\----------------------------------------------------------------------------------/
    3030
    31  <DATE> <TIME> <HOST> |I|testDlistGet   |Following should be an error
    32  <DATE> <TIME> <HOST> |E|dlistSetIterator|Unexpected null pointer for psDlist parameter (psDlist.c:274).
     31 <DATE> <TIME> <HOST> |I|testListGet    |Following should be an error
     32 <DATE> <TIME> <HOST> |E|listSetIterator|Unexpected null pointer for psList parameter (psList.c:274).
    3333
    34 ---> TESTPOINT PASSED (psDlist{489-testDlistGet} | tst_psDlist.c)
     34---> TESTPOINT PASSED (psList{489-testListGet} | tst_psList.c)
    3535
    3636/----------------------------- TESTPOINT ------------------------------------------\
    37 |             TestFile: tst_psDlist.c                                              |
    38 |            TestPoint: psDlist{490-testDlistRemove}                               |
     37|             TestFile: tst_psList.c                                               |
     38|            TestPoint: psList{490-testListRemove}                                 |
    3939|             TestType: Positive                                                   |
    4040\----------------------------------------------------------------------------------/
    4141
    42  <DATE> <TIME> <HOST> |I|testDlistRemove|Following should be an error
    43  <DATE> <TIME> <HOST> |E|psDlistRemove  |list parameter found to be NULL in psDlistRemove
    44  <DATE> <TIME> <HOST> |E|testDlistRemove|Failed to remove PS_DLIST_HEAD
     42 <DATE> <TIME> <HOST> |I|testListRemove |Following should be an error
     43 <DATE> <TIME> <HOST> |E|psListRemove   |list parameter found to be NULL in psListRemove
     44 <DATE> <TIME> <HOST> |E|testListRemove |Failed to remove PS_LIST_HEAD
    4545
    46 ---> TESTPOINT PASSED (psDlist{490-testDlistRemove} | tst_psDlist.c)
     46---> TESTPOINT PASSED (psList{490-testListRemove} | tst_psList.c)
    4747
    4848/----------------------------- TESTPOINT ------------------------------------------\
    49 |             TestFile: tst_psDlist.c                                              |
    50 |            TestPoint: psDlist{491-testDlistConvert}                              |
     49|             TestFile: tst_psList.c                                               |
     50|            TestPoint: psList{491-testListConvert}                                |
    5151|             TestType: Positive                                                   |
    5252\----------------------------------------------------------------------------------/
    5353
    5454
    55 ---> TESTPOINT PASSED (psDlist{491-testDlistConvert} | tst_psDlist.c)
     55---> TESTPOINT PASSED (psList{491-testListConvert} | tst_psList.c)
    5656
     57/----------------------------- TESTPOINT ------------------------------------------\
     58|             TestFile: tst_psList.c                                               |
     59|            TestPoint: psList{494-testListIterator}                               |
     60|             TestType: Positive                                                   |
     61\----------------------------------------------------------------------------------/
     62
     63 <DATE> <TIME> <HOST> |I|testListIterator| psListSetIterator/psListGetNext/psListGetPrev shall move the list cursor to the specified location
     64 <DATE> <TIME> <HOST> |I|testListIterator|Following should error with 'Unexpected null pointer'
     65 <DATE> <TIME> <HOST> |E|listSetIterator|Unexpected null pointer for psList parameter (psList.c:274).
     66 <DATE> <TIME> <HOST> |I|testListIterator|Following should error with 'Can't move to an unknown position.'
     67 <DATE> <TIME> <HOST> |E|listSetIterator|Can't move to an unknown position.  Not moving the iterator position.
     68
     69---> TESTPOINT PASSED (psList{494-testListIterator} | tst_psList.c)
     70
Note: See TracChangeset for help on using the changeset viewer.