IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 7, 2004, 4:24:33 PM (22 years ago)
Author:
desonia
Message:

added tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/verified/tst_psImage.stderr

    r805 r914  
    1  <DATE> <TIME> <HOST> |I|testImageSubset|memcpy(&preSubsetStruct,original,sizeof(psImage));
    2  <DATE> <TIME> <HOST> |I|testImageSubset|subset1 = psImageAlloc(c/4,r/4,PS_TYPE_U8);
    3  <DATE> <TIME> <HOST> |I|testImageSubset|subset2 = psImageSubset(subset1,original,c/2,r/2,c/4,r/4);
    4  <DATE> <TIME> <HOST> |I|testImageSubset|subset3 = psImageSubset(NULL,original,c/2,r/2,0,0);
    5  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure is equal to the input psImage structure parameter out, if input parameter out is specified.
    6  <DATE> <TIME> <HOST> |I|testImageSubset|Verify a new psImage structure is created, if input parameter out is set to null.
    7  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure contains expected values in the row member, if the input psImage structure image contains known values.
    8  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members nrow and ncol are equal to the input parameter nrow and ncol respectively.
    9  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member type is equal to the input psImage structure member type.
    10  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members row0 and col0 are equal to the input parameters row0 and col0 respectively.
    11  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member parent is equal to the input psImage structure pointer image.
    12  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member Nchildren is equal to zero.
    13  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member children is null.
    14  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the input psImage structure image only has the following members changed: 1) Nchildren is increased by one. 2) parent contains pointer psImage structure out at parent[Nchildren-1].
    15  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameter image is null. Also verified the input psImage structure is not modified.
    16  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because input image or its pixel buffer is NULL.
    17  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program  execution doesn't stop, if the input parameters nrow and/or ncol are zero. Also verify input psImage structure is not modified.
    18  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (64x0).
    19  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (0x128).
    20  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameters row0 and col0 are not within the range of values of psImage structure image.
    21  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (128,0) is not a valid pixel location.
    22  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,256) is not a valid pixel location.
    23  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (-1,0) is not a valid pixel location.
    24  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,-1) is not a valid pixel location.
    25  <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop if the input parameters nrow, ncol, row0 and col0 specify a range of data not within the input psImage structure image.  Also verify the input psImage structure is not modified.
    26  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,0:128]).
    27  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[0:64,128:256]).
    28  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,128:256]).
    29  <DATE> <TIME> <HOST> |I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure
    30  <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).
    311/----------------------------- TESTPOINT ------------------------------------------\
    322|             TestFile: tst_psImage.c                                              |
     
    6535/----------------------------- TESTPOINT ------------------------------------------\
    6636|             TestFile: tst_psImage.c                                              |
    67 |            TestPoint: psImage{547/549-testImageSubset}                           |
     37|            TestPoint: psImage{547/550-testImageSubset}                           |
    6838|             TestType: Positive                                                   |
    6939\----------------------------------------------------------------------------------/
     
    8454 <DATE> <TIME> <HOST> |I|testImageSubset|Verify the input psImage structure image only has the following members changed: 1) Nchildren is increased by one. 2) parent contains pointer psImage structure out at parent[Nchildren-1].
    8555 <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameter image is null. Also verified the input psImage structure is not modified.
     56 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    8657 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because input image or its pixel buffer is NULL.
    8758 <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program  execution doesn't stop, if the input parameters nrow and/or ncol are zero. Also verify input psImage structure is not modified.
     59 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    8860 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (64x0).
     61 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    8962 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (0x128).
    9063 <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameters row0 and col0 are not within the range of values of psImage structure image.
     64 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    9165 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (128,0) is not a valid pixel location.
     66 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    9267 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,256) is not a valid pixel location.
     68 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    9369 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (-1,0) is not a valid pixel location.
     70 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    9471 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,-1) is not a valid pixel location.
    9572 <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop if the input parameters nrow, ncol, row0 and col0 specify a range of data not within the input psImage structure image.  Also verify the input psImage structure is not modified.
     73 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    9674 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,0:128]).
     75 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    9776 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[0:64,128:256]).
     77 <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
    9878 <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,128:256]).
    9979 <DATE> <TIME> <HOST> |I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure
    100  <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).
    10180
    102 ---> TESTPOINT PASSED (psImage{547/549-testImageSubset} | tst_psImage.c)
     81---> TESTPOINT PASSED (psImage{547/550-testImageSubset} | tst_psImage.c)
    10382
     83/----------------------------- TESTPOINT ------------------------------------------\
     84|             TestFile: tst_psImage.c                                              |
     85|            TestPoint: psImage{551-testImageCopy}                                 |
     86|             TestType: Positive                                                   |
     87\----------------------------------------------------------------------------------/
     88
     89 <DATE> <TIME> <HOST> |I|testImageCopy  |An error should follow...
     90 <DATE> <TIME> <HOST> |E|psImageCopy    |Can not copy image because input image or its pixel buffer is NULL.
     91
     92---> TESTPOINT PASSED (psImage{551-testImageCopy} | tst_psImage.c)
     93
Note: See TracChangeset for help on using the changeset viewer.