Index: /trunk/psLib/test/image/verified/tst_psImage.stderr
===================================================================
--- /trunk/psLib/test/image/verified/tst_psImage.stderr	(revision 913)
+++ /trunk/psLib/test/image/verified/tst_psImage.stderr	(revision 914)
@@ -1,32 +1,2 @@
- <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                                              |
@@ -65,5 +35,5 @@
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psImage.c                                              |
-|            TestPoint: psImage{547/549-testImageSubset}                           |
+|            TestPoint: psImage{547/550-testImageSubset}                           |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
@@ -84,20 +54,40 @@
  <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> |I|testImageSubset|An error should follow...
  <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> |I|testImageSubset|An error should follow...
  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (64x0).
+ <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
  <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> |I|testImageSubset|An error should follow...
  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (128,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,256) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (-1,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
  <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> |I|testImageSubset|An error should follow...
  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,0:128]).
+ <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
  <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[0:64,128:256]).
+ <DATE> <TIME> <HOST> |I|testImageSubset|An error should follow...
  <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)
+---> TESTPOINT PASSED (psImage{547/550-testImageSubset} | tst_psImage.c)
 
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImage.c                                              |
+|            TestPoint: psImage{551-testImageCopy}                                 |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+ <DATE> <TIME> <HOST> |I|testImageCopy  |An error should follow...
+ <DATE> <TIME> <HOST> |E|psImageCopy    |Can not copy image because input image or its pixel buffer is NULL.
+
+---> TESTPOINT PASSED (psImage{551-testImageCopy} | tst_psImage.c)
+
