Index: trunk/psLib/test/image/verified/tst_psImage.stderr
===================================================================
--- trunk/psLib/test/image/verified/tst_psImage.stderr	(revision 805)
+++ trunk/psLib/test/image/verified/tst_psImage.stderr	(revision 805)
@@ -0,0 +1,103 @@
+ <DATE> <TIME> <HOST> |I|testImageSubset|memcpy(&preSubsetStruct,original,sizeof(psImage));
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset1 = psImageAlloc(c/4,r/4,PS_TYPE_U8);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset2 = psImageSubset(subset1,original,c/2,r/2,c/4,r/4);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset3 = psImageSubset(NULL,original,c/2,r/2,0,0);
+ <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.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify a new psImage structure is created, if input parameter out is set to null.
+ <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.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members nrow and ncol are equal to the input parameter nrow and ncol respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member type is equal to the input psImage structure member type.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members row0 and col0 are equal to the input parameters row0 and col0 respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member parent is equal to the input psImage structure pointer image.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member Nchildren is equal to zero.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member children is null.
+ <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].
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because input image or its pixel buffer is NULL.
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (64x0).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (0x128).
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (128,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,256) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (-1,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,-1) is not a valid pixel location.
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,0:128]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[0:64,128:256]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,128:256]).
+ <DATE> <TIME> <HOST> |I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure
+ <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImage.c                                              |
+|            TestPoint: psImage{546/548-testImageAlloc/Free}                       |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+ <DATE> <TIME> <HOST> |I|testImageAlloc |#546 - psImageAlloc shall allocate memory for a psImage structure
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 101h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 102h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 104h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 108h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 301h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 302h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 304h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 308h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 404h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 408h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 808h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 810h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+
+---> TESTPOINT PASSED (psImage{546/548-testImageAlloc/Free} | tst_psImage.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImage.c                                              |
+|            TestPoint: psImage{547/549-testImageSubset}                           |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+ <DATE> <TIME> <HOST> |I|testImageSubset|memcpy(&preSubsetStruct,original,sizeof(psImage));
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset1 = psImageAlloc(c/4,r/4,PS_TYPE_U8);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset2 = psImageSubset(subset1,original,c/2,r/2,c/4,r/4);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset3 = psImageSubset(NULL,original,c/2,r/2,0,0);
+ <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.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify a new psImage structure is created, if input parameter out is set to null.
+ <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.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members nrow and ncol are equal to the input parameter nrow and ncol respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member type is equal to the input psImage structure member type.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members row0 and col0 are equal to the input parameters row0 and col0 respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member parent is equal to the input psImage structure pointer image.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member Nchildren is equal to zero.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member children is null.
+ <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].
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because input image or its pixel buffer is NULL.
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (64x0).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (0x128).
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (128,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,256) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (-1,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,-1) is not a valid pixel location.
+ <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.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,0:128]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[0:64,128:256]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,128:256]).
+ <DATE> <TIME> <HOST> |I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure
+ <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).
+
+---> TESTPOINT PASSED (psImage{547/549-testImageSubset} | tst_psImage.c)
+
