Changeset 2754
- Timestamp:
- Dec 17, 2004, 2:01:08 PM (22 years ago)
- Location:
- trunk/psLib/test/image
- Files:
-
- 2 edited
-
tst_psImageManip.c (modified) (2 diffs)
-
verified/tst_psImageManip.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageManip.c
r2273 r2754 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-1 1-04 01:05:00$8 * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-12-18 00:01:08 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1817 1817 psFree(err); 1818 1818 1819 // Verify that that an invalid image type is handled properly 1820 psErrorClear(); 1821 psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_PTR); 1822 result = psImageResample(result,invImage,2,PS_INTERPOLATE_FLAT); 1823 if (result != NULL) { 1824 psLogMsg(__func__,PS_LOG_ERROR,"return was not NULL, as expected."); 1825 return 20; 1826 } 1827 err = psErrorLast(); 1828 if (err->code != PS_ERR_BAD_PARAMETER_TYPE) { 1829 psLogMsg(__func__,PS_LOG_ERROR,"error message was not appropriate type."); 1830 return 21; 1831 } 1832 psFree(err); 1833 1819 1834 psFree(image); 1820 1835 psFree(result); 1836 psFree(invImage); 1821 1837 1822 1838 return 0; -
trunk/psLib/test/image/verified/tst_psImageManip.stderr
r2279 r2754 319 319 <DATE><TIME>|<HOST>|E|psImageResample (psImageManip.c:<LINENO>) 320 320 Specified interpolation mode, 0, is unsupported. 321 <DATE><TIME>|<HOST>|E|psImageResample (psImageManip.c:<LINENO>) 322 Specified psImage type, psPtr, is not supported. 321 323 322 324 ---> TESTPOINT PASSED (psImage{psImageResample} | tst_psImageManip.c)
Note:
See TracChangeset
for help on using the changeset viewer.
