Changeset 914
- Timestamp:
- Jun 7, 2004, 4:24:33 PM (22 years ago)
- 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 structure30 <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).31 1 /----------------------------- TESTPOINT ------------------------------------------\ 32 2 | TestFile: tst_psImage.c | … … 65 35 /----------------------------- TESTPOINT ------------------------------------------\ 66 36 | TestFile: tst_psImage.c | 67 | TestPoint: psImage{547/5 49-testImageSubset} |37 | TestPoint: psImage{547/550-testImageSubset} | 68 38 | TestType: Positive | 69 39 \----------------------------------------------------------------------------------/ … … 84 54 <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]. 85 55 <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... 86 57 <DATE> <TIME> <HOST> |E|psImageSubset |Can not subset image because input image or its pixel buffer is NULL. 87 58 <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... 88 60 <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... 89 62 <DATE> <TIME> <HOST> |E|psImageSubset |Can not subset image because number of rows or columns are zero (0x128). 90 63 <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... 91 65 <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... 92 67 <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... 93 69 <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... 94 71 <DATE> <TIME> <HOST> |E|psImageSubset |Can not subset image because col0,row0 (0,-1) is not a valid pixel location. 95 72 <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... 96 74 <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... 97 76 <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... 98 78 <DATE> <TIME> <HOST> |E|psImageSubset |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,128:256]). 99 79 <DATE> <TIME> <HOST> |I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure 100 <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).101 80 102 ---> TESTPOINT PASSED (psImage{547/5 49-testImageSubset} | tst_psImage.c)81 ---> TESTPOINT PASSED (psImage{547/550-testImageSubset} | tst_psImage.c) 103 82 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.
