IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 968


Ignore:
Timestamp:
Jun 9, 2004, 3:23:52 PM (22 years ago)
Author:
harman
Message:

Added more unit tests

Location:
trunk/psLib/test/collections
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psVector_01.c

    r868 r968  
    1010 *     E)  Free S32 vector
    1111 *     F)  Attempt to create a S32 vector with zero size
    12  * 
     12 *
    1313 *  @author  Ross Harman, MHPCC
    1414 *
    15  *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
    16  *  @date  $Date: 2004-06-04 20:18:12 $
     15 *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
     16 *  @date  $Date: 2004-06-10 01:23:52 $
    1717 *
    1818 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9595    printFooter(stdout, "psVector", "Attempt to create a S32 vector with zero size", true);
    9696
     97    // Test G - Attempt to realloc a null S32 vector
     98    printNegativeTestHeader(stdout,"psVector", "Attempt to realloc a null S32 vector",
     99                            "Null input vector", 0);
     100    psVectorRealloc(6, NULL);
     101    printFooter(stdout, "psVector", "Attempt to realloc a null S32 vector", true);
     102
    97103    return 0;
    98104}
  • trunk/psLib/test/collections/verified/tst_psVector_01.stderr

    r880 r968  
    11 <DATE> <TIME> <HOST> |E|psVectorAlloc  |Invalid value for nalloc. nalloc: 0
     2 <DATE> <TIME> <HOST> |E|psVectorRealloc|Null input vector
  • trunk/psLib/test/collections/verified/tst_psVector_01.stdout

    r880 r968  
    8080---> TESTPOINT PASSED (psVector{Attempt to create a S32 vector with zero size} | tst_psVector_01.c)
    8181
     82/----------------------------- TESTPOINT ------------------------------------------\
     83|             TestFile: tst_psVector_01.c                                          |
     84|            TestPoint: psVector{Attempt to realloc a null S32 vector}             |
     85|             TestType: Negative                                                   |
     86|    ExpectedErrorText: Null input vector                                          |
     87|  ExpectedStatusValue: 0                                                          |
     88\----------------------------------------------------------------------------------/
     89
     90
     91---> TESTPOINT PASSED (psVector{Attempt to realloc a null S32 vector} | tst_psVector_01.c)
     92
Note: See TracChangeset for help on using the changeset viewer.