Changeset 1761
- Timestamp:
- Sep 9, 2004, 11:59:03 AM (22 years ago)
- Location:
- trunk/psLib
- Files:
-
- 42 edited
-
psLib.kdevses (modified) (1 diff)
-
src/collections/Makefile (modified) (3 diffs)
-
src/collections/psVector.c (modified) (2 diffs)
-
src/mathtypes/psVector.c (modified) (2 diffs)
-
src/sys/psLogMsg.c (modified) (5 diffs)
-
src/sysUtils/psLogMsg.c (modified) (5 diffs)
-
src/sysUtils/psSysUtilsErrors.dat (modified) (1 diff)
-
src/sysUtils/psSysUtilsErrors.h (modified) (2 diffs)
-
test/astronomy/verified/tst_psMetadata_01.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_02.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_03.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_04.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_05.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psTime_02.stderr (modified) (1 diff)
-
test/collections/verified/tst_psBitSet_01.stderr (modified) (1 diff)
-
test/collections/verified/tst_psBitSet_05.stderr (modified) (1 diff)
-
test/collections/verified/tst_psBitSet_06.stderr (modified) (1 diff)
-
test/collections/verified/tst_psBitSet_08.stderr (modified) (1 diff)
-
test/collections/verified/tst_psList.stderr (modified) (5 diffs)
-
test/collections/verified/tst_psVector.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_03.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_04.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix02.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix03.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix04.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix07.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psStats07.stdout (modified) (3 diffs)
-
test/dataManip/verified/tst_psVectorFFT.stderr (modified) (1 diff)
-
test/image/verified/tst_psImage.stderr (modified) (3 diffs)
-
test/image/verified/tst_psImageExtraction.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageFFT.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageManip.stderr (modified) (8 diffs)
-
test/image/verified/tst_psImageStats01.stderr (modified) (1 diff)
-
test/sysUtils/verified/tst_psAbort.stderr (modified) (3 diffs)
-
test/sysUtils/verified/tst_psError.stderr (modified) (3 diffs)
-
test/sysUtils/verified/tst_psLogMsg.stderr (modified) (6 diffs)
-
test/sysUtils/verified/tst_psLogMsg.stdout (modified) (1 diff)
-
test/sysUtils/verified/tst_psMemory.stderr (modified) (9 diffs)
-
test/sysUtils/verified/tst_psStringCopy.stderr (modified) (1 diff)
-
test/sysUtils/verified/tst_psTrace.stderr (modified) (2 diffs)
-
test/sysUtils/verified/tst_psTrace.stdout (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/psLib.kdevses
r1749 r1761 2 2 <!DOCTYPE KDevPrjSession> 3 3 <KDevPrjSession> 4 <DocsAndViews NumberOfDocuments=" 2" >5 <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/src/ sysUtils/psSysUtilsErrors.dat" >6 <View0 line=" 19" Type="???" >7 <AdditionalSettings Top="2" Width="12 14" Attach="1" Height="778" Left="2" MinMaxMode="0" />4 <DocsAndViews NumberOfDocuments="5" > 5 <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/src/collections/psCollectionsErrors.dat" > 6 <View0 line="8" Type="???" > 7 <AdditionalSettings Top="2" Width="1229" Attach="1" Height="705" Left="2" MinMaxMode="0" /> 8 8 </View0> 9 9 </Doc0> 10 <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/src/ sysUtils/psMemory.c" >11 <View0 line=" 530" Type="???" >12 <AdditionalSettings Top="2" Width="12 14" Attach="1" Height="778" Left="2" MinMaxMode="0" />10 <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/src/collections/Makefile" > 11 <View0 line="62" Type="???" > 12 <AdditionalSettings Top="2" Width="1229" Attach="1" Height="705" Left="2" MinMaxMode="0" /> 13 13 </View0> 14 14 </Doc1> 15 <Doc2 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/Makefile" > 16 <View0 line="55" Type="???" > 17 <AdditionalSettings Top="2" Width="1229" Attach="1" Height="705" Left="2" MinMaxMode="0" /> 18 </View0> 19 </Doc2> 20 <Doc3 NumberOfViews="1" URL="file:/home/desonia/psLib/src/collections/psVector.c" > 21 <View0 line="39" Type="???" > 22 <AdditionalSettings Top="2" Width="1229" Attach="1" Height="705" Left="2" MinMaxMode="0" /> 23 </View0> 24 </Doc3> 25 <Doc4 NumberOfViews="1" URL="file:/home/desonia/psLib/src/collections/psCollectionsErrors.h" > 26 <View0 line="0" Type="???" > 27 <AdditionalSettings Top="2" Width="1229" Attach="1" Height="705" Left="2" MinMaxMode="0" /> 28 </View0> 29 </Doc4> 15 30 </DocsAndViews> 16 31 <pluginList> -
trunk/psLib/src/collections/Makefile
r1420 r1761 3 3 ## Makefile: collections 4 4 ## 5 ## $Revision: 1.2 8$ $Name: not supported by cvs2svn $6 ## $Date: 2004-0 8-09 20:29:43 $5 ## $Revision: 1.29 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-09-09 21:59:03 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 40 40 OBJS = $(addprefix makedir/,$(SRC_OBJS)) 41 41 42 HEADERS = $(SRC_OBJS:.o=.h) 43 44 42 45 # Define PHONY target "all" which will make all the necessary items 43 46 … … 54 57 55 58 install: $(TARGET_STATIC) 56 install *.h $(includedir) 59 install $(HEADERS) $(includedir) 60 61 psCollectionsErrors.h: psCollectionsErrors.dat 62 perl ../parseErrorCodes.pl --data=$? $@ 57 63 58 64 # Define PHONY target "distclean" which will cleanup the distribution -
trunk/psLib/src/collections/psVector.c
r1440 r1761 8 8 * 9 9 * @author Ross Harman, MHPCC 10 * 11 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-08-09 23:34:57 $ 10 * @author Robert DeSonia, MHPCC 11 * 12 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-09-09 21:59:03 $ 13 14 * 14 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 15 16 */ 16 17 17 /******************************************************************************/18 19 /* INCLUDE FILES */20 21 /******************************************************************************/22 18 #include <string.h> // for memcpy 23 19 #include <stdlib.h> … … 29 25 #include "psLogMsg.h" 30 26 #include "psCompare.h" 31 32 /******************************************************************************/ 33 34 /* DEFINE STATEMENTS */ 35 36 /******************************************************************************/ 37 38 // None 39 40 /******************************************************************************/ 41 42 /* TYPE DEFINITIONS */ 43 44 /******************************************************************************/ 45 46 // None 47 48 /*****************************************************************************/ 49 50 /* GLOBAL VARIABLES */ 51 52 /*****************************************************************************/ 53 54 // None 55 56 /*****************************************************************************/ 57 58 /* FILE STATIC VARIABLES */ 59 60 /*****************************************************************************/ 61 62 // None 63 64 /*****************************************************************************/ 65 66 /* FUNCTION IMPLEMENTATION - LOCAL */ 67 68 /*****************************************************************************/ 27 #include "psCollectionsErrors.h" 28 69 29 static void vectorFree(psVector* restrict psVec); 70 30 71 /*****************************************************************************/ 72 73 /* FUNCTION IMPLEMENTATION - PUBLIC */ 74 75 /*****************************************************************************/ 31 // FUNCTION IMPLEMENTATION - PUBLIC 32 76 33 psVector* psVectorAlloc(unsigned int nalloc, psElemType elemType) 77 34 { -
trunk/psLib/src/mathtypes/psVector.c
r1440 r1761 8 8 * 9 9 * @author Ross Harman, MHPCC 10 * 11 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-08-09 23:34:57 $ 10 * @author Robert DeSonia, MHPCC 11 * 12 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-09-09 21:59:03 $ 13 14 * 14 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 15 16 */ 16 17 17 /******************************************************************************/18 19 /* INCLUDE FILES */20 21 /******************************************************************************/22 18 #include <string.h> // for memcpy 23 19 #include <stdlib.h> … … 29 25 #include "psLogMsg.h" 30 26 #include "psCompare.h" 31 32 /******************************************************************************/ 33 34 /* DEFINE STATEMENTS */ 35 36 /******************************************************************************/ 37 38 // None 39 40 /******************************************************************************/ 41 42 /* TYPE DEFINITIONS */ 43 44 /******************************************************************************/ 45 46 // None 47 48 /*****************************************************************************/ 49 50 /* GLOBAL VARIABLES */ 51 52 /*****************************************************************************/ 53 54 // None 55 56 /*****************************************************************************/ 57 58 /* FILE STATIC VARIABLES */ 59 60 /*****************************************************************************/ 61 62 // None 63 64 /*****************************************************************************/ 65 66 /* FUNCTION IMPLEMENTATION - LOCAL */ 67 68 /*****************************************************************************/ 27 #include "psCollectionsErrors.h" 28 69 29 static void vectorFree(psVector* restrict psVec); 70 30 71 /*****************************************************************************/ 72 73 /* FUNCTION IMPLEMENTATION - PUBLIC */ 74 75 /*****************************************************************************/ 31 // FUNCTION IMPLEMENTATION - PUBLIC 32 76 33 psVector* psVectorAlloc(unsigned int nalloc, psElemType elemType) 77 34 { -
trunk/psLib/src/sys/psLogMsg.c
r1731 r1761 12 12 * @author George Gusciora, MHPCC 13 13 * 14 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-09-0 8 21:22:47$14 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-09-09 21:59:03 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 302 302 psTrace("utils.logMsg", 2, "Invalid logMsg level: %d (%s)\n", level, fmt); 303 303 level = (level < 0) ? 0 : 9; 304 clevel = level + '0'; 304 305 break; 305 306 } … … 327 328 head_ptr += strlen(head_ptr); 328 329 } 329 // The name field must be 15 characters.330 330 if (logName) { 331 331 if (head_ptr > head) { 332 332 *head_ptr++ = '|'; 333 333 } 334 if (strlen(name) > 15) { 335 maxLength -= snprintf(head_ptr, maxLength, "+%14.14s", &name[strlen(name)-14]); 336 } else { 337 maxLength -= snprintf(head_ptr, maxLength, "%15.15s", name); 338 } 334 maxLength -= snprintf(head_ptr, maxLength, "%s", name); 339 335 340 336 head_ptr += strlen(head_ptr); … … 342 338 343 339 if (head_ptr > head) { 344 *head_ptr++ = ' |';340 *head_ptr++ = '\n'; 345 341 } else if (!logMsg) { // no output desired 346 342 return; … … 350 346 fputs(head, logDest); 351 347 if (logMsg) { 352 vfprintf(logDest, fmt, ap); 353 if (fmt[strlen(fmt) - 1] != '\n') { 354 fputc('\n', logDest); 348 char msg[1024]; 349 char* msgPtr; 350 vsnprintf(msg,1024, fmt, ap); // create message 351 352 // detect multiple lines in message and indent each line by 4 spaces. 353 char* line = strtok_r(msg,"\n",&msgPtr); 354 while (line != NULL) { 355 fprintf(logDest," %s\n",line); 356 line = strtok_r(NULL,"\n",&msgPtr); 355 357 } 356 358 } else { -
trunk/psLib/src/sysUtils/psLogMsg.c
r1731 r1761 12 12 * @author George Gusciora, MHPCC 13 13 * 14 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-09-0 8 21:22:47$14 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-09-09 21:59:03 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 302 302 psTrace("utils.logMsg", 2, "Invalid logMsg level: %d (%s)\n", level, fmt); 303 303 level = (level < 0) ? 0 : 9; 304 clevel = level + '0'; 304 305 break; 305 306 } … … 327 328 head_ptr += strlen(head_ptr); 328 329 } 329 // The name field must be 15 characters.330 330 if (logName) { 331 331 if (head_ptr > head) { 332 332 *head_ptr++ = '|'; 333 333 } 334 if (strlen(name) > 15) { 335 maxLength -= snprintf(head_ptr, maxLength, "+%14.14s", &name[strlen(name)-14]); 336 } else { 337 maxLength -= snprintf(head_ptr, maxLength, "%15.15s", name); 338 } 334 maxLength -= snprintf(head_ptr, maxLength, "%s", name); 339 335 340 336 head_ptr += strlen(head_ptr); … … 342 338 343 339 if (head_ptr > head) { 344 *head_ptr++ = ' |';340 *head_ptr++ = '\n'; 345 341 } else if (!logMsg) { // no output desired 346 342 return; … … 350 346 fputs(head, logDest); 351 347 if (logMsg) { 352 vfprintf(logDest, fmt, ap); 353 if (fmt[strlen(fmt) - 1] != '\n') { 354 fputc('\n', logDest); 348 char msg[1024]; 349 char* msgPtr; 350 vsnprintf(msg,1024, fmt, ap); // create message 351 352 // detect multiple lines in message and indent each line by 4 spaces. 353 char* line = strtok_r(msg,"\n",&msgPtr); 354 while (line != NULL) { 355 fprintf(logDest," %s\n",line); 356 line = strtok_r(NULL,"\n",&msgPtr); 355 357 } 356 358 } else { -
trunk/psLib/src/sysUtils/psSysUtilsErrors.dat
r1731 r1761 25 25 # Error Messages from psString.c: 26 26 # 27 psString_NCHAR_NEGATIVE Can not copy a negative number of characters (%d).27 psString_NCHAR_NEGATIVE Can not copy a negative number of characters (%d). 28 28 # 29 29 # Error Messages from psTrace.c: -
trunk/psLib/src/sysUtils/psSysUtilsErrors.h
r1748 r1761 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-09-09 02:24:18$9 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-09-09 21:59:03 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 27 27 */ 28 28 29 #define PS_ERRORNAME_DOMAIN "psLib.sysUtils "29 #define PS_ERRORNAME_DOMAIN "psLib.sysUtils." 30 30 31 31 //~Start #define PS_ERRORTEXT_$1 "$2" -
trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stderr
r1729 r1761 1 <DATE><TIME>|<HOST>|E|+dataReadHeader|Null fileName not allowed 2 <DATE><TIME>|<HOST>|E|+dataReadHeader|FITS error while opening file: missing.dat could not open the named file 3 <DATE><TIME>|<HOST>|E|+dataReadHeader|Couldn't close FITS file. FITS error: NULL input pointer 4 <DATE><TIME>|<HOST>|E|+dataReadHeader|Null extName and extNum = 0 not allowed 5 <DATE><TIME>|<HOST>|E|+dataReadHeader|FITS error while locating header 22: tried to move past end of file 6 <DATE><TIME>|<HOST>|E|+dataReadHeader|FITS error while locating header AARGH: illegal HDU number 1 <DATE><TIME>|<HOST>|E|psMetadataReadHeader 2 Null fileName not allowed 3 <DATE><TIME>|<HOST>|E|psMetadataReadHeader 4 FITS error while opening file: missing.dat could not open the named file 5 <DATE><TIME>|<HOST>|E|psMetadataReadHeader 6 Couldn't close FITS file. FITS error: NULL input pointer 7 <DATE><TIME>|<HOST>|E|psMetadataReadHeader 8 Null extName and extNum = 0 not allowed 9 <DATE><TIME>|<HOST>|E|psMetadataReadHeader 10 FITS error while locating header 22: tried to move past end of file 11 <DATE><TIME>|<HOST>|E|psMetadataReadHeader 12 FITS error while locating header AARGH: illegal HDU number -
trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr
r1729 r1761 1 <DATE><TIME>|<HOST>|E|+dataItemAllocV|Null value for name not allowed 2 <DATE><TIME>|<HOST>|E|+dataItemAllocV|Invalid psMetadataType: 6 3 <DATE><TIME>|<HOST>|E|+etadataAddItem|Null metadata collection not allowed 4 <DATE><TIME>|<HOST>|E|+etadataAddItem|Null metadata item not allowed 1 <DATE><TIME>|<HOST>|E|psMetadataItemAllocV 2 Null value for name not allowed 3 <DATE><TIME>|<HOST>|E|psMetadataItemAllocV 4 Invalid psMetadataType: 6 5 <DATE><TIME>|<HOST>|E|psMetadataAddItem 6 Null metadata collection not allowed 7 <DATE><TIME>|<HOST>|E|psMetadataAddItem 8 Null metadata item not allowed -
trunk/psLib/test/astronomy/verified/tst_psMetadata_03.stderr
r1729 r1761 1 <DATE><TIME>|<HOST>|E|+MetadataRemove|Null metadata collection not allowed 2 <DATE><TIME>|<HOST>|E|+MetadataRemove|Couldn't find metadata item. Name: AARGH 3 <DATE><TIME>|<HOST>|E|+MetadataRemove|Couldn't find metadata item in list. Index: 22 1 <DATE><TIME>|<HOST>|E|psMetadataRemove 2 Null metadata collection not allowed 3 <DATE><TIME>|<HOST>|E|psMetadataRemove 4 Couldn't find metadata item. Name: AARGH 5 <DATE><TIME>|<HOST>|E|psMetadataRemove 6 Couldn't find metadata item in list. Index: 22 -
trunk/psLib/test/astronomy/verified/tst_psMetadata_04.stderr
r1729 r1761 1 <DATE><TIME>|<HOST>|E|+MetadataLookup|Null metadata collection not allowed 2 <DATE><TIME>|<HOST>|E|+MetadataLookup|Null key name not allowed 3 <DATE><TIME>|<HOST>|E| psMetadataGet|Null metadata collection not allowed 4 <DATE><TIME>|<HOST>|E| psMetadataGet|Couldn't find metadata item with given index. Index: 22 1 <DATE><TIME>|<HOST>|E|psMetadataLookup 2 Null metadata collection not allowed 3 <DATE><TIME>|<HOST>|E|psMetadataLookup 4 Null key name not allowed 5 <DATE><TIME>|<HOST>|E|psMetadataGet 6 Null metadata collection not allowed 7 <DATE><TIME>|<HOST>|E|psMetadataGet 8 Couldn't find metadata item with given index. Index: 22 -
trunk/psLib/test/astronomy/verified/tst_psMetadata_05.stderr
r1729 r1761 1 <DATE><TIME>|<HOST>|E|+ataSetIterator|Null metadata collection not allowed 2 <DATE><TIME>|<HOST>|E|+etadataGetNext|Null metadata collection not allowed 3 <DATE><TIME>|<HOST>|E|+ataGetPrevious|Null metadata collection not allowed 4 <DATE><TIME>|<HOST>|E|+adataItemPrint|Null file descriptor not allowed 5 <DATE><TIME>|<HOST>|E|+adataItemPrint|Null format not allowed 6 <DATE><TIME>|<HOST>|E|+adataItemPrint|Null metadata not allowed 1 <DATE><TIME>|<HOST>|E|psMetadataSetIterator 2 Null metadata collection not allowed 3 <DATE><TIME>|<HOST>|E|psMetadataGetNext 4 Null metadata collection not allowed 5 <DATE><TIME>|<HOST>|E|psMetadataGetPrevious 6 Null metadata collection not allowed 7 <DATE><TIME>|<HOST>|E|psMetadataItemPrint 8 Null file descriptor not allowed 9 <DATE><TIME>|<HOST>|E|psMetadataItemPrint 10 Null format not allowed 11 <DATE><TIME>|<HOST>|E|psMetadataItemPrint 12 Null metadata not allowed -
trunk/psLib/test/astronomy/verified/tst_psTime_02.stderr
r1616 r1761 1 <DATE><TIME>|<HOST>|E| psISOToTime|Month must have a value from 1 to 12. Value: 99 2 <DATE><TIME>|<HOST>|E| psISOToTime|Day must have a value from 1 to 31. Value: 99 3 <DATE><TIME>|<HOST>|E| psISOToTime|Hour must have a value from 0 to 23. Value: 99 4 <DATE><TIME>|<HOST>|E| psISOToTime|Minute must have a value from 0 to 59. Value: 99 5 <DATE><TIME>|<HOST>|E| psISOToTime|Second must have a value from 0 to 59. Value: 99 6 <DATE><TIME>|<HOST>|E| psISOToTime|Millisecond must have a value from 0 to 999. Value: -999 7 <DATE><TIME>|<HOST>|E|psTimevalToTime|NULL value not allowed 1 <DATE><TIME>|<HOST>|E|psISOToTime 2 Month must have a value from 1 to 12. Value: 99 3 <DATE><TIME>|<HOST>|E|psISOToTime 4 Day must have a value from 1 to 31. Value: 99 5 <DATE><TIME>|<HOST>|E|psISOToTime 6 Hour must have a value from 0 to 23. Value: 99 7 <DATE><TIME>|<HOST>|E|psISOToTime 8 Minute must have a value from 0 to 59. Value: 99 9 <DATE><TIME>|<HOST>|E|psISOToTime 10 Second must have a value from 0 to 59. Value: 99 11 <DATE><TIME>|<HOST>|E|psISOToTime 12 Millisecond must have a value from 0 to 999. Value: -999 13 <DATE><TIME>|<HOST>|E|psTimevalToTime 14 NULL value not allowed -
trunk/psLib/test/collections/verified/tst_psBitSet_01.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psBitSetTest| : Line <LINENO> - Bit position too small: -4 2 <DATE><TIME>|<HOST>|E| psBitSetTest| : Line <LINENO> - Bit position too large: 200 3 <DATE><TIME>|<HOST>|E| psBitSetTest| : Line <LINENO> - Null psBitSet for inBitSet argument 4 <DATE><TIME>|<HOST>|E| psBitSetSet| : Line <LINENO> - Bit position too small: -4 5 <DATE><TIME>|<HOST>|E| psBitSetSet| : Line <LINENO> - Bit position too large: 200 6 <DATE><TIME>|<HOST>|E| psBitSetSet| : Line <LINENO> - Null psBitSet for inBitSet argument 1 <DATE><TIME>|<HOST>|E|psBitSetTest 2 : Line <LINENO> - Bit position too small: -4 3 <DATE><TIME>|<HOST>|E|psBitSetTest 4 : Line <LINENO> - Bit position too large: 200 5 <DATE><TIME>|<HOST>|E|psBitSetTest 6 : Line <LINENO> - Null psBitSet for inBitSet argument 7 <DATE><TIME>|<HOST>|E|psBitSetSet 8 : Line <LINENO> - Bit position too small: -4 9 <DATE><TIME>|<HOST>|E|psBitSetSet 10 : Line <LINENO> - Bit position too large: 200 11 <DATE><TIME>|<HOST>|E|psBitSetSet 12 : Line <LINENO> - Null psBitSet for inBitSet argument -
trunk/psLib/test/collections/verified/tst_psBitSet_05.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psBitSetOp| : Line <LINENO> - psBitSet sizes not the same 1 <DATE><TIME>|<HOST>|E|psBitSetOp 2 : Line <LINENO> - psBitSet sizes not the same -
trunk/psLib/test/collections/verified/tst_psBitSet_06.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psBitSetOp| : Line <LINENO> - Invalid psBitMask binary operation: ZZXOR 2 <DATE><TIME>|<HOST>|E| psBitSetAlloc| : Line <LINENO> - Allocation size must be > 0: size = -4 1 <DATE><TIME>|<HOST>|E|psBitSetOp 2 : Line <LINENO> - Invalid psBitMask binary operation: ZZXOR 3 <DATE><TIME>|<HOST>|E|psBitSetAlloc 4 : Line <LINENO> - Allocation size must be > 0: size = -4 -
trunk/psLib/test/collections/verified/tst_psBitSet_08.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psBitSetNot| : Line <LINENO> - Null psBitSet for inBitSet argument 1 <DATE><TIME>|<HOST>|E|psBitSetNot 2 : Line <LINENO> - Null psBitSet for inBitSet argument -
trunk/psLib/test/collections/verified/tst_psList.stderr
r1729 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|I| testListAlloc|psListAlloc shall create a psList with either 0 or 1 element. 7 <DATE><TIME>|<HOST>|I|testListAlloc 8 psListAlloc shall create a psList with either 0 or 1 element. 8 9 9 10 ---> TESTPOINT PASSED (psList{psListAlloc} | tst_psList.c) … … 15 16 \**********************************************************************************/ 16 17 17 <DATE><TIME>|<HOST>|I| testListAdd|psListAdd shall add an element to list 18 <DATE><TIME>|<HOST>|I| testListAdd|Following should error with invalid insert location 19 <DATE><TIME>|<HOST>|W| psListAdd|The given insert location (-10) for psListAdd is invalid. 20 <DATE><TIME>|<HOST>|I| testListAdd|Following should be a warning. 21 <DATE><TIME>|<HOST>|W| psListAdd|Invalid index 9 (only 6 elements in psList); assuming tail. 18 <DATE><TIME>|<HOST>|I|testListAdd 19 psListAdd shall add an element to list 20 <DATE><TIME>|<HOST>|I|testListAdd 21 Following should error with invalid insert location 22 <DATE><TIME>|<HOST>|W|psListAdd 23 The given insert location (-10) for psListAdd is invalid. 24 <DATE><TIME>|<HOST>|I|testListAdd 25 Following should be a warning. 26 <DATE><TIME>|<HOST>|W|psListAdd 27 Invalid index 9 (only 6 elements in psList); assuming tail. 22 28 23 29 ---> TESTPOINT PASSED (psList{psListAdd} | tst_psList.c) … … 29 35 \**********************************************************************************/ 30 36 31 <DATE><TIME>|<HOST>|I| testListGet|Following should be an error 32 <DATE><TIME>|<HOST>|E|listSetIterator|Unexpected null pointer for psList parameter (psList.c:<LINENO>). 37 <DATE><TIME>|<HOST>|I|testListGet 38 Following should be an error 39 <DATE><TIME>|<HOST>|E|listSetIterator 40 Unexpected null pointer for psList parameter (psList.c:<LINENO>). 33 41 34 42 ---> TESTPOINT PASSED (psList{psListGet} | tst_psList.c) … … 40 48 \**********************************************************************************/ 41 49 42 <DATE><TIME>|<HOST>|I| testListRemove|Following should be an error 43 <DATE><TIME>|<HOST>|E| psListRemove|list parameter found to be NULL in psListRemove 44 <DATE><TIME>|<HOST>|I| testListRemove|Next message should be an error 45 <DATE><TIME>|<HOST>|E| psListRemove|Couldn't position to given index (-4) to remove element from list. 46 <DATE><TIME>|<HOST>|I| testListRemove|Next message should be an error 47 <DATE><TIME>|<HOST>|E| psListRemove|Couldn't position to given index (-2) to remove element from list. 48 <DATE><TIME>|<HOST>|I| testListRemove|Next message should be an error 49 <DATE><TIME>|<HOST>|E| psListRemove|Failed to find item in given psList. 50 <DATE><TIME>|<HOST>|I| testListRemove|Next message should be an error 51 <DATE><TIME>|<HOST>|E| psListRemove|Failed to find item in given psList. 50 <DATE><TIME>|<HOST>|I|testListRemove 51 Following should be an error 52 <DATE><TIME>|<HOST>|E|psListRemove 53 list parameter found to be NULL in psListRemove 54 <DATE><TIME>|<HOST>|I|testListRemove 55 Next message should be an error 56 <DATE><TIME>|<HOST>|E|psListRemove 57 Couldn't position to given index (-4) to remove element from list. 58 <DATE><TIME>|<HOST>|I|testListRemove 59 Next message should be an error 60 <DATE><TIME>|<HOST>|E|psListRemove 61 Couldn't position to given index (-2) to remove element from list. 62 <DATE><TIME>|<HOST>|I|testListRemove 63 Next message should be an error 64 <DATE><TIME>|<HOST>|E|psListRemove 65 Failed to find item in given psList. 66 <DATE><TIME>|<HOST>|I|testListRemove 67 Next message should be an error 68 <DATE><TIME>|<HOST>|E|psListRemove 69 Failed to find item in given psList. 52 70 53 71 ---> TESTPOINT PASSED (psList{psListRemove} | tst_psList.c) … … 68 86 \**********************************************************************************/ 69 87 70 <DATE><TIME>|<HOST>|I|+stListIterator| psListSetIterator/psListGetNext/psListGetPrev shall move the list cursor to the specified location 71 <DATE><TIME>|<HOST>|I|+stListIterator|Following should error with 'Unexpected null pointer' 72 <DATE><TIME>|<HOST>|E|listSetIterator|Unexpected null pointer for psList parameter (psList.c:<LINENO>). 73 <DATE><TIME>|<HOST>|I|+stListIterator|Following should error with 'Can't move to an unknown position.' 74 <DATE><TIME>|<HOST>|E|listSetIterator|Can't move to an unknown position. Not moving the iterator position. 88 <DATE><TIME>|<HOST>|I|testListIterator 89 psListSetIterator/psListGetNext/psListGetPrev shall move the list cursor to the specified location 90 <DATE><TIME>|<HOST>|I|testListIterator 91 Following should error with 'Unexpected null pointer' 92 <DATE><TIME>|<HOST>|E|listSetIterator 93 Unexpected null pointer for psList parameter (psList.c:<LINENO>). 94 <DATE><TIME>|<HOST>|I|testListIterator 95 Following should error with 'Can't move to an unknown position.' 96 <DATE><TIME>|<HOST>|E|listSetIterator 97 Can't move to an unknown position. Not moving the iterator position. 75 98 76 99 ---> TESTPOINT PASSED (psList{psListIterator} | tst_psList.c) -
trunk/psLib/test/collections/verified/tst_psVector.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|I| main|Following should be an error message. 2 <DATE><TIME>|<HOST>|E| psVectorAlloc|Invalid value for nalloc. nalloc: 0 3 <DATE><TIME>|<HOST>|I| main|Following should be an error message. 4 <DATE><TIME>|<HOST>|E|psVectorRealloc|Null input vector 1 <DATE><TIME>|<HOST>|I|main 2 Following should be an error message. 3 <DATE><TIME>|<HOST>|E|psVectorAlloc 4 Invalid value for nalloc. nalloc: 0 5 <DATE><TIME>|<HOST>|I|main 6 Following should be an error message. 7 <DATE><TIME>|<HOST>|E|psVectorRealloc 8 Null input vector -
trunk/psLib/test/collections/verified/tst_psVectorSort_03.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psVectorSort| : Line <LINENO> - Input and output vector sizes are not equal: in=5 out=6 2 <DATE><TIME>|<HOST>|E| psVectorSort| : Line <LINENO> - Input and output vectors are not same type: in=1028 out=1032 1 <DATE><TIME>|<HOST>|E|psVectorSort 2 : Line <LINENO> - Input and output vector sizes are not equal: in=5 out=6 3 <DATE><TIME>|<HOST>|E|psVectorSort 4 : Line <LINENO> - Input and output vectors are not same type: in=1028 out=1032 -
trunk/psLib/test/collections/verified/tst_psVectorSort_04.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psVectorSort| : Line <LINENO> - Null input vector 1 <DATE><TIME>|<HOST>|E|psVectorSort 2 : Line <LINENO> - Null input vector -
trunk/psLib/test/dataManip/verified/tst_psMatrix02.stderr
r1729 r1761 1 <DATE><TIME>|<HOST>|E|+atrixTranspose|Invalid operation: Pointer to inImage is same as outImage. 2 <DATE><TIME>|<HOST>|E|+atrixTranspose|Invalid operation: inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|+atrixTranspose|Invalid operation: inImage not PS_TYPE_F64. 4 <DATE><TIME>|<HOST>|E|+atrixTranspose|Invalid operation: inImage not square array. 5 <DATE><TIME>|<HOST>|E|+atrixTranspose|Invalid operation: outImage not PS_TYPE_F64. 6 <DATE><TIME>|<HOST>|E|+atrixTranspose|Invalid operation: outImage not square array. 1 <DATE><TIME>|<HOST>|E|psMatrixTranspose 2 Invalid operation: Pointer to inImage is same as outImage. 3 <DATE><TIME>|<HOST>|E|psMatrixTranspose 4 Invalid operation: inImage or its data is NULL. 5 <DATE><TIME>|<HOST>|E|psMatrixTranspose 6 Invalid operation: inImage not PS_TYPE_F64. 7 <DATE><TIME>|<HOST>|E|psMatrixTranspose 8 Invalid operation: inImage not square array. 9 <DATE><TIME>|<HOST>|E|psMatrixTranspose 10 Invalid operation: outImage not PS_TYPE_F64. 11 <DATE><TIME>|<HOST>|E|psMatrixTranspose 12 Invalid operation: outImage not square array. -
trunk/psLib/test/dataManip/verified/tst_psMatrix03.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psMatrixLUD|Invalid operation: inImage or its data is NULL. 2 <DATE><TIME>|<HOST>|E|psMatrixLUSolve|Invalid operation: inVector or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixLUSolve|Invalid operation: inImage or its data is NULL. 1 <DATE><TIME>|<HOST>|E|psMatrixLUD 2 Invalid operation: inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixLUSolve 4 Invalid operation: inVector or its data is NULL. 5 <DATE><TIME>|<HOST>|E|psMatrixLUSolve 6 Invalid operation: inImage or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix04.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psMatrixInvert|Invalid operation: inImage or its data is NULL. 2 <DATE><TIME>|<HOST>|E| psMatrixInvert|Invalid operation: determinant argument is NULL. 1 <DATE><TIME>|<HOST>|E|psMatrixInvert 2 Invalid operation: inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixInvert 4 Invalid operation: determinant argument is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix07.stderr
r1729 r1761 1 <DATE><TIME>|<HOST>|E|+MatrixToVector|Invalid operation: inImage or its data is NULL. 2 <DATE><TIME>|<HOST>|E|+MatrixToVector|Image does not have dim with 1 col or 1 row: (2 x 2). 3 <DATE><TIME>|<HOST>|E|+VectorToMatrix|Invalid operation: inVector or its data is NULL. 1 <DATE><TIME>|<HOST>|E|psMatrixToVector 2 Invalid operation: inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixToVector 4 Image does not have dim with 1 col or 1 row: (2 x 2). 5 <DATE><TIME>|<HOST>|E|psVectorToMatrix 6 Invalid operation: inVector or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psBinaryOp|: Line <LINENO> - Null out argument 2 <DATE><TIME>|<HOST>|E| psBinaryOp|: Line <LINENO> - Null in1 argument 3 <DATE><TIME>|<HOST>|E| psBinaryOp|: Line <LINENO> - Null in2 argument 4 <DATE><TIME>|<HOST>|E| psBinaryOp|: Line <LINENO> - Null op argument 5 <DATE><TIME>|<HOST>|E| psUnaryOp|: Line <LINENO> - Null out argument 6 <DATE><TIME>|<HOST>|E| psUnaryOp|: Line <LINENO> - Null in argument 7 <DATE><TIME>|<HOST>|E| psUnaryOp|: Line <LINENO> - Null op argument 8 <DATE><TIME>|<HOST>|E| psBinaryOp|: Line <LINENO> - Element types for arguments inconsistent: (1028, 1032, 1032) 9 <DATE><TIME>|<HOST>|E| psUnaryOp|: Line <LINENO> - Element types for arguments inconsistent: (1028, 1032) 10 <DATE><TIME>|<HOST>|E| psBinaryOp|: Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3 11 <DATE><TIME>|<HOST>|E| psUnaryOp|: Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3 12 <DATE><TIME>|<HOST>|E| psBinaryOp|: Inconsistent element count: 2 vs 3 13 <DATE><TIME>|<HOST>|E| psBinaryOp|: Inconsistent element count: 2 vs 3 14 <DATE><TIME>|<HOST>|E| psUnaryOp|: Line <LINENO> - Dimensionality for arguments inconsistent: (1, 3) 15 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 16 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 17 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 18 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 19 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 20 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 21 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 22 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 23 <DATE><TIME>|<HOST>|E| psNanDiv|: Divide by zero 24 <DATE><TIME>|<HOST>|E| psBinaryOp|: Minimum operation not supported for complex numbers 25 <DATE><TIME>|<HOST>|E| psBinaryOp|: Maximum operation not supported for complex numbers 26 <DATE><TIME>|<HOST>|E| psBinaryOp|: Invalid operation: yarg 27 <DATE><TIME>|<HOST>|E| psUnaryOp|: Invalid operation: yarg 1 <DATE><TIME>|<HOST>|E|psBinaryOp 2 : Line <LINENO> - Null out argument 3 <DATE><TIME>|<HOST>|E|psBinaryOp 4 : Line <LINENO> - Null in1 argument 5 <DATE><TIME>|<HOST>|E|psBinaryOp 6 : Line <LINENO> - Null in2 argument 7 <DATE><TIME>|<HOST>|E|psBinaryOp 8 : Line <LINENO> - Null op argument 9 <DATE><TIME>|<HOST>|E|psUnaryOp 10 : Line <LINENO> - Null out argument 11 <DATE><TIME>|<HOST>|E|psUnaryOp 12 : Line <LINENO> - Null in argument 13 <DATE><TIME>|<HOST>|E|psUnaryOp 14 : Line <LINENO> - Null op argument 15 <DATE><TIME>|<HOST>|E|psBinaryOp 16 : Line <LINENO> - Element types for arguments inconsistent: (1028, 1032, 1032) 17 <DATE><TIME>|<HOST>|E|psUnaryOp 18 : Line <LINENO> - Element types for arguments inconsistent: (1028, 1032) 19 <DATE><TIME>|<HOST>|E|psBinaryOp 20 : Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3 21 <DATE><TIME>|<HOST>|E|psUnaryOp 22 : Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3 23 <DATE><TIME>|<HOST>|E|psBinaryOp 24 : Inconsistent element count: 2 vs 3 25 <DATE><TIME>|<HOST>|E|psBinaryOp 26 : Inconsistent element count: 2 vs 3 27 <DATE><TIME>|<HOST>|E|psUnaryOp 28 : Line <LINENO> - Dimensionality for arguments inconsistent: (1, 3) 29 <DATE><TIME>|<HOST>|E|psNanDiv 30 : Divide by zero 31 <DATE><TIME>|<HOST>|E|psNanDiv 32 : Divide by zero 33 <DATE><TIME>|<HOST>|E|psNanDiv 34 : Divide by zero 35 <DATE><TIME>|<HOST>|E|psNanDiv 36 : Divide by zero 37 <DATE><TIME>|<HOST>|E|psNanDiv 38 : Divide by zero 39 <DATE><TIME>|<HOST>|E|psNanDiv 40 : Divide by zero 41 <DATE><TIME>|<HOST>|E|psNanDiv 42 : Divide by zero 43 <DATE><TIME>|<HOST>|E|psNanDiv 44 : Divide by zero 45 <DATE><TIME>|<HOST>|E|psNanDiv 46 : Divide by zero 47 <DATE><TIME>|<HOST>|E|psBinaryOp 48 : Minimum operation not supported for complex numbers 49 <DATE><TIME>|<HOST>|E|psBinaryOp 50 : Maximum operation not supported for complex numbers 51 <DATE><TIME>|<HOST>|E|psBinaryOp 52 : Invalid operation: yarg 53 <DATE><TIME>|<HOST>|E|psUnaryOp 54 : Invalid operation: yarg -
trunk/psLib/test/dataManip/verified/tst_psStats07.stdout
r1365 r1761 16 16 \**********************************************************************************/ 17 17 18 The expected Median was 32.00; the calculated Median was 32. 4918 The expected Median was 32.00; the calculated Median was 32.79 19 19 20 20 ---> TESTPOINT PASSED (psVector functions{PS_STAT_ROBUST_STATS: robust Median: no vector mask} | tst_psStats07.c) … … 46 46 \**********************************************************************************/ 47 47 48 The expected LQ was 30.80; the calculated LQ was 30. 0248 The expected LQ was 30.80; the calculated LQ was 30.32 49 49 50 50 ---> TESTPOINT PASSED (psVector functions{PS_STAT_ROBUST_STATS: lower quartile: no vector mask} | tst_psStats07.c) … … 56 56 \**********************************************************************************/ 57 57 58 The expected UQ was 33.20; the calculated UQ was 34. 3358 The expected UQ was 33.20; the calculated UQ was 34.45 59 59 60 60 ---> TESTPOINT PASSED (psVector functions{PS_STAT_ROBUST_STATS: lower quartile: no vector mask} | tst_psStats07.c) -
trunk/psLib/test/dataManip/verified/tst_psVectorFFT.stderr
r1729 r1761 23 23 \**********************************************************************************/ 24 24 25 <DATE><TIME>|<HOST>|I|+tVectorComplex|Following should be an error (type mismatch). 26 <DATE><TIME>|<HOST>|E|psVectorComplex|The inputs to psVectorComplex must be the same type. 25 <DATE><TIME>|<HOST>|I|testVectorComplex 26 Following should be an error (type mismatch). 27 <DATE><TIME>|<HOST>|E|psVectorComplex 28 The inputs to psVectorComplex must be the same type. 27 29 28 30 ---> TESTPOINT PASSED (psFFT{psVectorComplex} | tst_psVectorFFT.c) -
trunk/psLib/test/image/verified/tst_psImage.stderr
r1664 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|I| testImageAlloc|#546 - psImageAlloc shall allocate memory for a psImage structure 8 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 101h 9 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 10 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 11 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 102h 12 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 13 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 14 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 104h 15 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 16 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 17 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 108h 18 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 19 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 20 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 301h 21 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 22 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 23 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 302h 24 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 25 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 26 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 304h 27 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 28 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 29 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 308h 30 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 31 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 32 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 404h 33 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 34 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 35 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 408h 36 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 37 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 38 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 808h 39 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 40 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 41 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 810h 42 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 43 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 44 <DATE><TIME>|<HOST>|I| testImageAlloc|Testing psImage with type 0h 45 <DATE><TIME>|<HOST>|I| testImageAlloc|Following should be an error. 46 <DATE><TIME>|<HOST>|E| psImageAlloc|Invalid value for number of rows or columns (numRows=0, numCols=0). 7 <DATE><TIME>|<HOST>|I|testImageAlloc 8 #546 - psImageAlloc shall allocate memory for a psImage structure 9 <DATE><TIME>|<HOST>|I|testImageAlloc 10 Testing psImage with type 101h 11 <DATE><TIME>|<HOST>|I|testImageAlloc 12 Following should be an error. 13 <DATE><TIME>|<HOST>|E|psImageAlloc 14 Invalid value for number of rows or columns (numRows=0, numCols=0). 15 <DATE><TIME>|<HOST>|I|testImageAlloc 16 Testing psImage with type 102h 17 <DATE><TIME>|<HOST>|I|testImageAlloc 18 Following should be an error. 19 <DATE><TIME>|<HOST>|E|psImageAlloc 20 Invalid value for number of rows or columns (numRows=0, numCols=0). 21 <DATE><TIME>|<HOST>|I|testImageAlloc 22 Testing psImage with type 104h 23 <DATE><TIME>|<HOST>|I|testImageAlloc 24 Following should be an error. 25 <DATE><TIME>|<HOST>|E|psImageAlloc 26 Invalid value for number of rows or columns (numRows=0, numCols=0). 27 <DATE><TIME>|<HOST>|I|testImageAlloc 28 Testing psImage with type 108h 29 <DATE><TIME>|<HOST>|I|testImageAlloc 30 Following should be an error. 31 <DATE><TIME>|<HOST>|E|psImageAlloc 32 Invalid value for number of rows or columns (numRows=0, numCols=0). 33 <DATE><TIME>|<HOST>|I|testImageAlloc 34 Testing psImage with type 301h 35 <DATE><TIME>|<HOST>|I|testImageAlloc 36 Following should be an error. 37 <DATE><TIME>|<HOST>|E|psImageAlloc 38 Invalid value for number of rows or columns (numRows=0, numCols=0). 39 <DATE><TIME>|<HOST>|I|testImageAlloc 40 Testing psImage with type 302h 41 <DATE><TIME>|<HOST>|I|testImageAlloc 42 Following should be an error. 43 <DATE><TIME>|<HOST>|E|psImageAlloc 44 Invalid value for number of rows or columns (numRows=0, numCols=0). 45 <DATE><TIME>|<HOST>|I|testImageAlloc 46 Testing psImage with type 304h 47 <DATE><TIME>|<HOST>|I|testImageAlloc 48 Following should be an error. 49 <DATE><TIME>|<HOST>|E|psImageAlloc 50 Invalid value for number of rows or columns (numRows=0, numCols=0). 51 <DATE><TIME>|<HOST>|I|testImageAlloc 52 Testing psImage with type 308h 53 <DATE><TIME>|<HOST>|I|testImageAlloc 54 Following should be an error. 55 <DATE><TIME>|<HOST>|E|psImageAlloc 56 Invalid value for number of rows or columns (numRows=0, numCols=0). 57 <DATE><TIME>|<HOST>|I|testImageAlloc 58 Testing psImage with type 404h 59 <DATE><TIME>|<HOST>|I|testImageAlloc 60 Following should be an error. 61 <DATE><TIME>|<HOST>|E|psImageAlloc 62 Invalid value for number of rows or columns (numRows=0, numCols=0). 63 <DATE><TIME>|<HOST>|I|testImageAlloc 64 Testing psImage with type 408h 65 <DATE><TIME>|<HOST>|I|testImageAlloc 66 Following should be an error. 67 <DATE><TIME>|<HOST>|E|psImageAlloc 68 Invalid value for number of rows or columns (numRows=0, numCols=0). 69 <DATE><TIME>|<HOST>|I|testImageAlloc 70 Testing psImage with type 808h 71 <DATE><TIME>|<HOST>|I|testImageAlloc 72 Following should be an error. 73 <DATE><TIME>|<HOST>|E|psImageAlloc 74 Invalid value for number of rows or columns (numRows=0, numCols=0). 75 <DATE><TIME>|<HOST>|I|testImageAlloc 76 Testing psImage with type 810h 77 <DATE><TIME>|<HOST>|I|testImageAlloc 78 Following should be an error. 79 <DATE><TIME>|<HOST>|E|psImageAlloc 80 Invalid value for number of rows or columns (numRows=0, numCols=0). 81 <DATE><TIME>|<HOST>|I|testImageAlloc 82 Testing psImage with type 0h 83 <DATE><TIME>|<HOST>|I|testImageAlloc 84 Following should be an error. 85 <DATE><TIME>|<HOST>|E|psImageAlloc 86 Invalid value for number of rows or columns (numRows=0, numCols=0). 47 87 48 88 ---> TESTPOINT PASSED (psImage{psImageAlloc} | tst_psImage.c) … … 54 94 \**********************************************************************************/ 55 95 56 <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. 57 <DATE><TIME>|<HOST>|I|testImageSubset|Verify the returned psImage structure members nrow and ncol are equal to the input parameter nrow and ncol respectively. 58 <DATE><TIME>|<HOST>|I|testImageSubset|Verify the returned psImage structure member type is equal to the input psImage structure member type. 59 <DATE><TIME>|<HOST>|I|testImageSubset|Verify the returned psImage structure members row0 and col0 are equal to the input parameters row0 and col0 respectively. 60 <DATE><TIME>|<HOST>|I|testImageSubset|Verify the returned psImage structure member parent is equal to the input psImage structure pointer image. 61 <DATE><TIME>|<HOST>|I|testImageSubset|Verify the returned psImage structure member Nchildren is equal to zero. 62 <DATE><TIME>|<HOST>|I|testImageSubset|Verify the returned psImage structure member children is null. 63 <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]. 64 <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. 65 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 66 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image because input image or its pixel buffer is NULL. 67 <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. 68 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 69 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image because number of rows or columns are zero (64x0). 70 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 71 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image because number of rows or columns are zero (0x128). 72 <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. 73 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 74 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image because col0,row0 (128,0) is not a valid pixel location. 75 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 76 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image because col0,row0 (0,256) is not a valid pixel location. 77 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 78 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image because col0,row0 (-1,0) is not a valid pixel location. 79 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 80 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image because col0,row0 (0,-1) is not a valid pixel location. 81 <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. 82 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 83 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image outside of image boundaries (size=128x256, subset=[64:<LINENO>,0:<LINENO>]). 84 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 85 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image outside of image boundaries (size=128x256, subset=[0:<LINENO>,128:<LINENO>]). 86 <DATE><TIME>|<HOST>|I|testImageSubset|An error should follow... 87 <DATE><TIME>|<HOST>|E| psImageSubset|Can not subset image outside of image boundaries (size=128x256, subset=[64:<LINENO>,128:<LINENO>]). 88 <DATE><TIME>|<HOST>|I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure 96 <DATE><TIME>|<HOST>|I|testImageSubset 97 Verify the returned psImage structure contains expected values in the row member, if the input psImage structure image contains known values. 98 <DATE><TIME>|<HOST>|I|testImageSubset 99 Verify the returned psImage structure members nrow and ncol are equal to the input parameter nrow and ncol respectively. 100 <DATE><TIME>|<HOST>|I|testImageSubset 101 Verify the returned psImage structure member type is equal to the input psImage structure member type. 102 <DATE><TIME>|<HOST>|I|testImageSubset 103 Verify the returned psImage structure members row0 and col0 are equal to the input parameters row0 and col0 respectively. 104 <DATE><TIME>|<HOST>|I|testImageSubset 105 Verify the returned psImage structure member parent is equal to the input psImage structure pointer image. 106 <DATE><TIME>|<HOST>|I|testImageSubset 107 Verify the returned psImage structure member Nchildren is equal to zero. 108 <DATE><TIME>|<HOST>|I|testImageSubset 109 Verify the returned psImage structure member children is null. 110 <DATE><TIME>|<HOST>|I|testImageSubset 111 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]. 112 <DATE><TIME>|<HOST>|I|testImageSubset 113 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. 114 <DATE><TIME>|<HOST>|I|testImageSubset 115 An error should follow... 116 <DATE><TIME>|<HOST>|E|psImageSubset 117 Can not subset image because input image or its pixel buffer is NULL. 118 <DATE><TIME>|<HOST>|I|testImageSubset 119 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. 120 <DATE><TIME>|<HOST>|I|testImageSubset 121 An error should follow... 122 <DATE><TIME>|<HOST>|E|psImageSubset 123 Can not subset image because number of rows or columns are zero (64x0). 124 <DATE><TIME>|<HOST>|I|testImageSubset 125 An error should follow... 126 <DATE><TIME>|<HOST>|E|psImageSubset 127 Can not subset image because number of rows or columns are zero (0x128). 128 <DATE><TIME>|<HOST>|I|testImageSubset 129 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. 130 <DATE><TIME>|<HOST>|I|testImageSubset 131 An error should follow... 132 <DATE><TIME>|<HOST>|E|psImageSubset 133 Can not subset image because col0,row0 (128,0) is not a valid pixel location. 134 <DATE><TIME>|<HOST>|I|testImageSubset 135 An error should follow... 136 <DATE><TIME>|<HOST>|E|psImageSubset 137 Can not subset image because col0,row0 (0,256) is not a valid pixel location. 138 <DATE><TIME>|<HOST>|I|testImageSubset 139 An error should follow... 140 <DATE><TIME>|<HOST>|E|psImageSubset 141 Can not subset image because col0,row0 (-1,0) is not a valid pixel location. 142 <DATE><TIME>|<HOST>|I|testImageSubset 143 An error should follow... 144 <DATE><TIME>|<HOST>|E|psImageSubset 145 Can not subset image because col0,row0 (0,-1) is not a valid pixel location. 146 <DATE><TIME>|<HOST>|I|testImageSubset 147 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. 148 <DATE><TIME>|<HOST>|I|testImageSubset 149 An error should follow... 150 <DATE><TIME>|<HOST>|E|psImageSubset 151 Can not subset image outside of image boundaries (size=128x256, subset=[64:<LINENO>,0:<LINENO>]). 152 <DATE><TIME>|<HOST>|I|testImageSubset 153 An error should follow... 154 <DATE><TIME>|<HOST>|E|psImageSubset 155 Can not subset image outside of image boundaries (size=128x256, subset=[0:<LINENO>,128:<LINENO>]). 156 <DATE><TIME>|<HOST>|I|testImageSubset 157 An error should follow... 158 <DATE><TIME>|<HOST>|E|psImageSubset 159 Can not subset image outside of image boundaries (size=128x256, subset=[64:<LINENO>,128:<LINENO>]). 160 <DATE><TIME>|<HOST>|I|testImageSubset 161 psImageFreeChildren shall deallocate any children images of a psImage structure 89 162 90 163 ---> TESTPOINT PASSED (psImage{psImageSubset} | tst_psImage.c) … … 96 169 \**********************************************************************************/ 97 170 98 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psU8 99 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psU16 100 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psU32 101 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psS8 102 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psS16 103 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psS32 104 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psF32 105 <DATE><TIME>|<HOST>|I| testImageCopy|Image Copy Test for psF64 106 <DATE><TIME>|<HOST>|I| testImageCopy|An error should follow... 107 <DATE><TIME>|<HOST>|E| psImageCopy|Can not copy image because input image or its pixel buffer is NULL. 171 <DATE><TIME>|<HOST>|I|testImageCopy 172 Image Copy Test for psU8 173 <DATE><TIME>|<HOST>|I|testImageCopy 174 Image Copy Test for psU16 175 <DATE><TIME>|<HOST>|I|testImageCopy 176 Image Copy Test for psU32 177 <DATE><TIME>|<HOST>|I|testImageCopy 178 Image Copy Test for psS8 179 <DATE><TIME>|<HOST>|I|testImageCopy 180 Image Copy Test for psS16 181 <DATE><TIME>|<HOST>|I|testImageCopy 182 Image Copy Test for psS32 183 <DATE><TIME>|<HOST>|I|testImageCopy 184 Image Copy Test for psF32 185 <DATE><TIME>|<HOST>|I|testImageCopy 186 Image Copy Test for psF64 187 <DATE><TIME>|<HOST>|I|testImageCopy 188 An error should follow... 189 <DATE><TIME>|<HOST>|E|psImageCopy 190 Can not copy image because input image or its pixel buffer is NULL. 108 191 109 192 ---> TESTPOINT PASSED (psImage{psImageCopy} | tst_psImage.c) -
trunk/psLib/test/image/verified/tst_psImageExtraction.stderr
r1405 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 8 <DATE><TIME>|<HOST>|E| psImageSlice|Input image can not be NULL. 9 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 10 <DATE><TIME>|<HOST>|E| psImageSlice|The stat options didn't specify a single supported statistic type. 11 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 12 <DATE><TIME>|<HOST>|E| psImageSlice|Invalid direction flag (5) 13 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 14 <DATE><TIME>|<HOST>|E| psImageSlice|The specified region contains no data (0x0) 15 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 16 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (2001,100 to 2001,100) is outside of image area (0,0 to 1999,999). 17 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 18 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (200,1001 to 200,1001) is outside of image area (0,0 to 1999,999). 19 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 20 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (200,100 to 2199,100) is outside of image area (0,0 to 1999,999). 21 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 22 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (200,100 to 200,1099) is outside of image area (0,0 to 1999,999). 23 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 24 <DATE><TIME>|<HOST>|E| psImageSlice|The stat options didn't specify a single supported statistic type. 7 <DATE><TIME>|<HOST>|I|testImageSlice 8 Following should be an error. 9 <DATE><TIME>|<HOST>|E|psImageSlice 10 Input image can not be NULL. 11 <DATE><TIME>|<HOST>|I|testImageSlice 12 Following should be an error. 13 <DATE><TIME>|<HOST>|E|psImageSlice 14 The stat options didn't specify a single supported statistic type. 15 <DATE><TIME>|<HOST>|I|testImageSlice 16 Following should be an error. 17 <DATE><TIME>|<HOST>|E|psImageSlice 18 Invalid direction flag (5) 19 <DATE><TIME>|<HOST>|I|testImageSlice 20 Following should be an error. 21 <DATE><TIME>|<HOST>|E|psImageSlice 22 The specified region contains no data (0x0) 23 <DATE><TIME>|<HOST>|I|testImageSlice 24 Following should be an error. 25 <DATE><TIME>|<HOST>|E|psImageSlice 26 The specified image region (2001,100 to 2001,100) is outside of image area (0,0 to 1999,999). 27 <DATE><TIME>|<HOST>|I|testImageSlice 28 Following should be an error. 29 <DATE><TIME>|<HOST>|E|psImageSlice 30 The specified image region (200,1001 to 200,1001) is outside of image area (0,0 to 1999,999). 31 <DATE><TIME>|<HOST>|I|testImageSlice 32 Following should be an error. 33 <DATE><TIME>|<HOST>|E|psImageSlice 34 The specified image region (200,100 to 2199,100) is outside of image area (0,0 to 1999,999). 35 <DATE><TIME>|<HOST>|I|testImageSlice 36 Following should be an error. 37 <DATE><TIME>|<HOST>|E|psImageSlice 38 The specified image region (200,100 to 200,1099) is outside of image area (0,0 to 1999,999). 39 <DATE><TIME>|<HOST>|I|testImageSlice 40 Following should be an error. 41 <DATE><TIME>|<HOST>|E|psImageSlice 42 The stat options didn't specify a single supported statistic type. 25 43 26 44 ---> TESTPOINT PASSED (psImage{psImageSlice} | tst_psImageExtraction.c) -
trunk/psLib/test/image/verified/tst_psImageFFT.stderr
r1729 r1761 23 23 \**********************************************************************************/ 24 24 25 <DATE><TIME>|<HOST>|I|+stImageComplex|Following should be an error (type mismatch). 26 <DATE><TIME>|<HOST>|E| psImageComplex|The inputs to psImageComplex must be the same type. 27 <DATE><TIME>|<HOST>|I|+stImageComplex|Following should be an error (size mismatch). 28 <DATE><TIME>|<HOST>|E| psImageComplex|The inputs to psImageComplex must be the same dimensions. 25 <DATE><TIME>|<HOST>|I|testImageComplex 26 Following should be an error (type mismatch). 27 <DATE><TIME>|<HOST>|E|psImageComplex 28 The inputs to psImageComplex must be the same type. 29 <DATE><TIME>|<HOST>|I|testImageComplex 30 Following should be an error (size mismatch). 31 <DATE><TIME>|<HOST>|E|psImageComplex 32 The inputs to psImageComplex must be the same dimensions. 29 33 30 34 ---> TESTPOINT PASSED (psFFT{psImageComplex} | tst_psImageFFT.c) -
trunk/psLib/test/image/verified/tst_psImageManip.stderr
r1729 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|I| testImageClip|psImageClip shall limit the minimum and maximum data value within a psImage structure 8 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of F64 imagery 9 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of F32 imagery 10 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of S32 imagery 11 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of S16 imagery 12 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of S8 imagery 13 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of U32 imagery 14 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of U16 imagery 15 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of U8 imagery 16 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of C32 imagery 17 <DATE><TIME>|<HOST>|I| testImageClip|Testing clipping of C64 imagery 18 <DATE><TIME>|<HOST>|I| testImageClip|Following should be an error (max<min) 19 <DATE><TIME>|<HOST>|E| psImageClip|psImageClip can not be invoked with max < min. 7 <DATE><TIME>|<HOST>|I|testImageClip 8 psImageClip shall limit the minimum and maximum data value within a psImage structure 9 <DATE><TIME>|<HOST>|I|testImageClip 10 Testing clipping of F64 imagery 11 <DATE><TIME>|<HOST>|I|testImageClip 12 Testing clipping of F32 imagery 13 <DATE><TIME>|<HOST>|I|testImageClip 14 Testing clipping of S32 imagery 15 <DATE><TIME>|<HOST>|I|testImageClip 16 Testing clipping of S16 imagery 17 <DATE><TIME>|<HOST>|I|testImageClip 18 Testing clipping of S8 imagery 19 <DATE><TIME>|<HOST>|I|testImageClip 20 Testing clipping of U32 imagery 21 <DATE><TIME>|<HOST>|I|testImageClip 22 Testing clipping of U16 imagery 23 <DATE><TIME>|<HOST>|I|testImageClip 24 Testing clipping of U8 imagery 25 <DATE><TIME>|<HOST>|I|testImageClip 26 Testing clipping of C32 imagery 27 <DATE><TIME>|<HOST>|I|testImageClip 28 Testing clipping of C64 imagery 29 <DATE><TIME>|<HOST>|I|testImageClip 30 Following should be an error (max<min) 31 <DATE><TIME>|<HOST>|E|psImageClip 32 psImageClip can not be invoked with max < min. 20 33 21 34 ---> TESTPOINT PASSED (psImage{psImageClip} | tst_psImageManip.c) … … 27 40 \**********************************************************************************/ 28 41 29 <DATE><TIME>|<HOST>|I|+stImageClipNAN|psImageClipNaN shall modified pixel values of NaN with a specified value 42 <DATE><TIME>|<HOST>|I|testImageClipNAN 43 psImageClipNaN shall modified pixel values of NaN with a specified value 30 44 31 45 ---> TESTPOINT PASSED (psImage{psImageClipNAN} | tst_psImageManip.c) … … 37 51 \**********************************************************************************/ 38 52 39 <DATE><TIME>|<HOST>|I|+pComplexRegion|psImageClipNaN shall modified pixel values of NaN with a specified value 40 <DATE><TIME>|<HOST>|I|+pComplexRegion|Testing clipping at 409.6+256i to 682.667+512i for psC32 41 <DATE><TIME>|<HOST>|I|+pComplexRegion|Testing clipping at 409.6+256i to 682.667+512i for psC64 42 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 43 <DATE><TIME>|<HOST>|E|+pComplexRegion|Can not perform clip on NULL image 44 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 45 <DATE><TIME>|<HOST>|E|+pComplexRegion|psImageClipComplexRegion can not be invoked with max < min in the real image space. 46 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 47 <DATE><TIME>|<HOST>|E|+pComplexRegion|psImageClipComplexRegion can not be invoked with max < min in the imaginary image space. 48 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 49 <DATE><TIME>|<HOST>|E|+pComplexRegion|psImageClipComplexRegion can not be invoked with max < min in the real image space. 50 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 51 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmin (-6.80565e+38+0i) is outside of image's psC32 pixel range 52 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 53 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmin (6.80565e+38+0i) is outside of image's psC32 pixel range 54 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 55 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmin (-0-6.80565e+38i) is outside of image's psC32 pixel range 56 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 57 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmin (0+6.80565e+38i) is outside of image's psC32 pixel range 58 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 59 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmax (-6.80565e+38+0i) is outside of image's psC32 pixel range 60 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 61 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmax (6.80565e+38+0i) is outside of image's psC32 pixel range 62 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 63 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmax (-0-6.80565e+38i) is outside of image's psC32 pixel range 64 <DATE><TIME>|<HOST>|I|+pComplexRegion|Following should be an error: 65 <DATE><TIME>|<HOST>|E|+pComplexRegion|Specified vmax (0+6.80565e+38i) is outside of image's psC32 pixel range 53 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 54 psImageClipNaN shall modified pixel values of NaN with a specified value 55 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 56 Testing clipping at 409.6+256i to 682.667+512i for psC32 57 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 58 Testing clipping at 409.6+256i to 682.667+512i for psC64 59 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 60 Following should be an error: 61 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 62 Can not perform clip on NULL image 63 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 64 Following should be an error: 65 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 66 psImageClipComplexRegion can not be invoked with max < min in the real image space. 67 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 68 Following should be an error: 69 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 70 psImageClipComplexRegion can not be invoked with max < min in the imaginary image space. 71 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 72 Following should be an error: 73 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 74 psImageClipComplexRegion can not be invoked with max < min in the real image space. 75 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 76 Following should be an error: 77 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 78 Specified vmin (-6.80565e+38+0i) is outside of image's psC32 pixel range 79 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 80 Following should be an error: 81 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 82 Specified vmin (6.80565e+38+0i) is outside of image's psC32 pixel range 83 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 84 Following should be an error: 85 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 86 Specified vmin (-0-6.80565e+38i) is outside of image's psC32 pixel range 87 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 88 Following should be an error: 89 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 90 Specified vmin (0+6.80565e+38i) is outside of image's psC32 pixel range 91 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 92 Following should be an error: 93 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 94 Specified vmax (-6.80565e+38+0i) is outside of image's psC32 pixel range 95 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 96 Following should be an error: 97 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 98 Specified vmax (6.80565e+38+0i) is outside of image's psC32 pixel range 99 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 100 Following should be an error: 101 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 102 Specified vmax (-0-6.80565e+38i) is outside of image's psC32 pixel range 103 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 104 Following should be an error: 105 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion 106 Specified vmax (0+6.80565e+38i) is outside of image's psC32 pixel range 66 107 67 108 ---> TESTPOINT PASSED (psImage{psImageClipComplexRegion} | tst_psImageManip.c) … … 73 114 \**********************************************************************************/ 74 115 75 <DATE><TIME>|<HOST>|I|+stImageOverlay|Following should error as overlay isn't within image boundaries 76 <DATE><TIME>|<HOST>|E|+OverlaySection|Overlay image (32,64 -> 159,319) is partially outside of the input image (128 x 256). 77 <DATE><TIME>|<HOST>|I|+stImageOverlay|Following should error as overlay is NULL 78 <DATE><TIME>|<HOST>|E|+OverlaySection|one of the input images was NULL. 79 <DATE><TIME>|<HOST>|I|+stImageOverlay|Following should error as image input is NULL 80 <DATE><TIME>|<HOST>|E|+OverlaySection|one of the input images was NULL. 116 <DATE><TIME>|<HOST>|I|testImageOverlay 117 Following should error as overlay isn't within image boundaries 118 <DATE><TIME>|<HOST>|E|psImageOverlaySection 119 Overlay image (32,64 -> 159,319) is partially outside of the input image (128 x 256). 120 <DATE><TIME>|<HOST>|I|testImageOverlay 121 Following should error as overlay is NULL 122 <DATE><TIME>|<HOST>|E|psImageOverlaySection 123 one of the input images was NULL. 124 <DATE><TIME>|<HOST>|I|testImageOverlay 125 Following should error as image input is NULL 126 <DATE><TIME>|<HOST>|E|psImageOverlaySection 127 one of the input images was NULL. 81 128 82 129 ---> TESTPOINT PASSED (psImage{psImageOverlay} | tst_psImageManip.c) … … 88 135 \**********************************************************************************/ 89 136 90 <DATE><TIME>|<HOST>|E| psImageRebin|Input image is NULL. 91 <DATE><TIME>|<HOST>|I| testImageRebin|Following should be an error. 92 <DATE><TIME>|<HOST>|E| psImageRebin|The scale must be positive. 93 <DATE><TIME>|<HOST>|I| testImageRebin|Following should be an error. 94 <DATE><TIME>|<HOST>|E| psImageRebin|The stats input can not be NULL. 95 <DATE><TIME>|<HOST>|I| testImageRebin|Following should be an error. 96 <DATE><TIME>|<HOST>|E| psImageRebin|The stat options didn't specify a single supported statistic type. 97 <DATE><TIME>|<HOST>|I| testImageRebin|Following should be an error. 98 <DATE><TIME>|<HOST>|E| psImageRebin|The stat options didn't specify a single supported statistic type. 99 <DATE><TIME>|<HOST>|I| testImageRebin|Following should be an error. 100 <DATE><TIME>|<HOST>|E| psImageRebin|The stat options didn't specify a single supported statistic type. 137 <DATE><TIME>|<HOST>|E|psImageRebin 138 Input image is NULL. 139 <DATE><TIME>|<HOST>|I|testImageRebin 140 Following should be an error. 141 <DATE><TIME>|<HOST>|E|psImageRebin 142 The scale must be positive. 143 <DATE><TIME>|<HOST>|I|testImageRebin 144 Following should be an error. 145 <DATE><TIME>|<HOST>|E|psImageRebin 146 The stats input can not be NULL. 147 <DATE><TIME>|<HOST>|I|testImageRebin 148 Following should be an error. 149 <DATE><TIME>|<HOST>|E|psImageRebin 150 The stat options didn't specify a single supported statistic type. 151 <DATE><TIME>|<HOST>|I|testImageRebin 152 Following should be an error. 153 <DATE><TIME>|<HOST>|E|psImageRebin 154 The stat options didn't specify a single supported statistic type. 155 <DATE><TIME>|<HOST>|I|testImageRebin 156 Following should be an error. 157 <DATE><TIME>|<HOST>|E|psImageRebin 158 The stat options didn't specify a single supported statistic type. 101 159 102 160 ---> TESTPOINT PASSED (psImage{psImageRebin} | tst_psImageManip.c) … … 108 166 \**********************************************************************************/ 109 167 110 <DATE><TIME>|<HOST>|I| testImageRoll|Following should generate an error. 111 <DATE><TIME>|<HOST>|E| psImageRoll|Input image can not be NULL. 168 <DATE><TIME>|<HOST>|I|testImageRoll 169 Following should generate an error. 170 <DATE><TIME>|<HOST>|E|psImageRoll 171 Input image can not be NULL. 112 172 113 173 ---> TESTPOINT PASSED (psImage{psImageRoll} | tst_psImageManip.c) … … 119 179 \**********************************************************************************/ 120 180 121 <DATE><TIME>|<HOST>|I|testImageRotate|Following should be an error 122 <DATE><TIME>|<HOST>|E| psImageRotate|The input image was NULL. 181 <DATE><TIME>|<HOST>|I|testImageRotate 182 Following should be an error 183 <DATE><TIME>|<HOST>|E|psImageRotate 184 The input image was NULL. 123 185 124 186 ---> TESTPOINT PASSED (psImage{psImageRotate} | tst_psImageManip.c) … … 130 192 \**********************************************************************************/ 131 193 132 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 0,0. 133 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 0,16. 134 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 0,-16. 135 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 32,0. 136 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of -32,0. 137 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 32,16. 138 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 32,-16. 139 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of -32,16. 140 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of -32,-16. 141 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 0,16.4. 142 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 0,-16.4. 143 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 32.7,0. 144 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of -32.7,0. 145 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 32.6,16.2. 146 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of 32.6,-16.2. 147 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of -32.6,16.2. 148 <DATE><TIME>|<HOST>|I|+ImageShiftCase|Testing psImageShift with a 64x128 image for a shift of -32.6,-16.2. 149 <DATE><TIME>|<HOST>|I| testImageShift|Following should be an error... 150 <DATE><TIME>|<HOST>|E| psImageShift|Input image can not be NULL. 194 <DATE><TIME>|<HOST>|I|testImageShiftCase 195 Testing psImageShift with a 64x128 image for a shift of 0,0. 196 <DATE><TIME>|<HOST>|I|testImageShiftCase 197 Testing psImageShift with a 64x128 image for a shift of 0,16. 198 <DATE><TIME>|<HOST>|I|testImageShiftCase 199 Testing psImageShift with a 64x128 image for a shift of 0,-16. 200 <DATE><TIME>|<HOST>|I|testImageShiftCase 201 Testing psImageShift with a 64x128 image for a shift of 32,0. 202 <DATE><TIME>|<HOST>|I|testImageShiftCase 203 Testing psImageShift with a 64x128 image for a shift of -32,0. 204 <DATE><TIME>|<HOST>|I|testImageShiftCase 205 Testing psImageShift with a 64x128 image for a shift of 32,16. 206 <DATE><TIME>|<HOST>|I|testImageShiftCase 207 Testing psImageShift with a 64x128 image for a shift of 32,-16. 208 <DATE><TIME>|<HOST>|I|testImageShiftCase 209 Testing psImageShift with a 64x128 image for a shift of -32,16. 210 <DATE><TIME>|<HOST>|I|testImageShiftCase 211 Testing psImageShift with a 64x128 image for a shift of -32,-16. 212 <DATE><TIME>|<HOST>|I|testImageShiftCase 213 Testing psImageShift with a 64x128 image for a shift of 0,16.4. 214 <DATE><TIME>|<HOST>|I|testImageShiftCase 215 Testing psImageShift with a 64x128 image for a shift of 0,-16.4. 216 <DATE><TIME>|<HOST>|I|testImageShiftCase 217 Testing psImageShift with a 64x128 image for a shift of 32.7,0. 218 <DATE><TIME>|<HOST>|I|testImageShiftCase 219 Testing psImageShift with a 64x128 image for a shift of -32.7,0. 220 <DATE><TIME>|<HOST>|I|testImageShiftCase 221 Testing psImageShift with a 64x128 image for a shift of 32.6,16.2. 222 <DATE><TIME>|<HOST>|I|testImageShiftCase 223 Testing psImageShift with a 64x128 image for a shift of 32.6,-16.2. 224 <DATE><TIME>|<HOST>|I|testImageShiftCase 225 Testing psImageShift with a 64x128 image for a shift of -32.6,16.2. 226 <DATE><TIME>|<HOST>|I|testImageShiftCase 227 Testing psImageShift with a 64x128 image for a shift of -32.6,-16.2. 228 <DATE><TIME>|<HOST>|I|testImageShift 229 Following should be an error... 230 <DATE><TIME>|<HOST>|E|psImageShift 231 Input image can not be NULL. 151 232 152 233 ---> TESTPOINT PASSED (psImage{psImageShift} | tst_psImageManip.c) -
trunk/psLib/test/image/verified/tst_psImageStats01.stderr
r1404 r1761 1 <DATE><TIME>|<HOST>|E| psImageStats|The input image can not be NULL. 2 <DATE><TIME>|<HOST>|E| psImageStats|The input psStats struct can not be NULL. 3 <DATE><TIME>|<HOST>|E| psImageStats|No statistic option/operation was specified. 1 <DATE><TIME>|<HOST>|E|psImageStats 2 The input image can not be NULL. 3 <DATE><TIME>|<HOST>|E|psImageStats 4 The input psStats struct can not be NULL. 5 <DATE><TIME>|<HOST>|E|psImageStats 6 No statistic option/operation was specified. -
trunk/psLib/test/sysUtils/verified/tst_psAbort.stderr
r1701 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|A| testAbort00|ALL TYPES intval = 1 longval = 2 floatval = 3.010000 charval = E strval = E R R O R 7 <DATE><TIME>|<HOST>|A|testAbort00 8 ALL TYPES intval = 1 longval = 2 floatval = 3.010000 charval = E strval = E R R O R 8 9 9 10 ---> TESTPOINT PASSED (psAbort{Multiple type values in abort message} | tst_psAbort.c) … … 15 16 \**********************************************************************************/ 16 17 17 <DATE><TIME>|<HOST>|A| __LINE__|NO_VALUES 18 <DATE><TIME>|<HOST>|A|__LINE__ 19 NO_VALUES 18 20 19 21 ---> TESTPOINT PASSED (psAbort{String values in abort message} | tst_psAbort.c) … … 25 27 \**********************************************************************************/ 26 28 27 <DATE><TIME>|<HOST>|A| |29 <DATE><TIME>|<HOST>|A| 28 30 29 31 ---> TESTPOINT PASSED (psAbort{Empty strings in abort message} | tst_psAbort.c) -
trunk/psLib/test/sysUtils/verified/tst_psError.stderr
r1404 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|E| main|ALL TYPES intval = 1 longval = 2 floatval = 3.010000 charval = E strval = E R R O R 7 <DATE><TIME>|<HOST>|E|main 8 ALL TYPES intval = 1 longval = 2 floatval = 3.010000 charval = E strval = E R R O R 8 9 9 10 ---> TESTPOINT PASSED (psError{Multiple type values in error message} | tst_psError.c) … … 15 16 \**********************************************************************************/ 16 17 17 <DATE><TIME>|<HOST>|E| __LINE__|NO VALUES 18 <DATE><TIME>|<HOST>|E|__LINE__ 19 NO VALUES 18 20 19 21 ---> TESTPOINT PASSED (psError{String values in error message} | tst_psError.c) … … 25 27 \**********************************************************************************/ 26 28 27 <DATE><TIME>|<HOST>|E| |29 <DATE><TIME>|<HOST>|E| 28 30 29 31 ---> TESTPOINT PASSED (psError{Empty strings in error message} | tst_psError.c) -
trunk/psLib/test/sysUtils/verified/tst_psLogMsg.stderr
r1729 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|A| testLogMsg00|Hello World! My level is 0 0.000000 beep beep 8 <DATE><TIME>|<HOST>|E| testLogMsg00|Hello World! My level is 1 1.000000 beep beep 9 <DATE><TIME>|<HOST>|W| testLogMsg00|Hello World! My level is 2 2.000000 beep beep 10 <DATE><TIME>|<HOST>|I| testLogMsg00|Hello World! My level is 3 3.000000 beep beep 7 <DATE><TIME>|<HOST>|A|testLogMsg00 8 Hello World! My level is 0 0.000000 beep beep 9 <DATE><TIME>|<HOST>|E|testLogMsg00 10 Hello World! My level is 1 1.000000 beep beep 11 <DATE><TIME>|<HOST>|W|testLogMsg00 12 Hello World! My level is 2 2.000000 beep beep 13 <DATE><TIME>|<HOST>|I|testLogMsg00 14 Hello World! My level is 3 3.000000 beep beep 11 15 12 16 ---> TESTPOINT PASSED (psLogMsg{default log levels, printf-style strings} | tst_psLogMsg.c) … … 18 22 \**********************************************************************************/ 19 23 20 <DATE><TIME>|<HOST>|A| testLogMsg01|Hello World! My level is 0 0.000000 beep beep 21 <DATE><TIME>|<HOST>|E| testLogMsg01|Hello World! My level is 1 1.000000 beep beep 22 <DATE><TIME>|<HOST>|W| testLogMsg01|Hello World! My level is 2 2.000000 beep beep 23 <DATE><TIME>|<HOST>|I| testLogMsg01|Hello World! My level is 3 3.000000 beep beep 24 <DATE><TIME>|<HOST>|A|testLogMsg01 25 Hello World! My level is 0 0.000000 beep beep 26 <DATE><TIME>|<HOST>|E|testLogMsg01 27 Hello World! My level is 1 1.000000 beep beep 28 <DATE><TIME>|<HOST>|W|testLogMsg01 29 Hello World! My level is 2 2.000000 beep beep 30 <DATE><TIME>|<HOST>|I|testLogMsg01 31 Hello World! My level is 3 3.000000 beep beep 24 32 25 33 ---> TESTPOINT PASSED (psLogMsg{default log levels, psVLogMsg()} | tst_psLogMsg.c) … … 31 39 \**********************************************************************************/ 32 40 33 <DATE><TIME>|<HOST>|A| testLogMsg02|Hello World! My level is 0 34 <DATE><TIME>|<HOST>|E| testLogMsg02|Hello World! My level is 1 35 <DATE><TIME>|<HOST>|W| testLogMsg02|Hello World! My level is 2 36 <DATE><TIME>|<HOST>|I| testLogMsg02|Hello World! My level is 3 37 <DATE><TIME>|<HOST>|4| testLogMsg02|Hello World! My level is 4 38 <DATE><TIME>|<HOST>|5| testLogMsg02|Hello World! My level is 5 39 <DATE><TIME>|<HOST>|6| testLogMsg02|Hello World! My level is 6 40 <DATE><TIME>|<HOST>|7| testLogMsg02|Hello World! My level is 7 41 <DATE><TIME>|<HOST>|8| testLogMsg02|Hello World! My level is 8 42 <DATE><TIME>|<HOST>|9| testLogMsg02|Hello World! My level is 9 43 <DATE><TIME>|<HOST>|4| testLogMsg02|This should be displayed (level 4) 41 <DATE><TIME>|<HOST>|A|testLogMsg02 42 Hello World! My level is 0 43 <DATE><TIME>|<HOST>|E|testLogMsg02 44 Hello World! My level is 1 45 <DATE><TIME>|<HOST>|W|testLogMsg02 46 Hello World! My level is 2 47 <DATE><TIME>|<HOST>|I|testLogMsg02 48 Hello World! My level is 3 49 <DATE><TIME>|<HOST>|4|testLogMsg02 50 Hello World! My level is 4 51 <DATE><TIME>|<HOST>|5|testLogMsg02 52 Hello World! My level is 5 53 <DATE><TIME>|<HOST>|6|testLogMsg02 54 Hello World! My level is 6 55 <DATE><TIME>|<HOST>|7|testLogMsg02 56 Hello World! My level is 7 57 <DATE><TIME>|<HOST>|8|testLogMsg02 58 Hello World! My level is 8 59 <DATE><TIME>|<HOST>|9|testLogMsg02 60 Hello World! My level is 9 61 <DATE><TIME>|<HOST>|4|testLogMsg02 62 This should be displayed (level 4) 44 63 45 64 ---> TESTPOINT PASSED (psLogMsg{psLogSetLevel()} | tst_psLogMsg.c) … … 52 71 53 72 ------------- psLogSetFormat() ------------- 54 <DATE><TIME>|<HOST>|A| testLogMsg03|Hello World! My level is 0 55 <DATE><TIME>|<HOST>|E| testLogMsg03|Hello World! My level is 1 56 <DATE><TIME>|<HOST>|W| testLogMsg03|Hello World! My level is 2 57 <DATE><TIME>|<HOST>|I| testLogMsg03|Hello World! My level is 3 73 <DATE><TIME>|<HOST>|A|testLogMsg03 74 Hello World! My level is 0 75 <DATE><TIME>|<HOST>|E|testLogMsg03 76 Hello World! My level is 1 77 <DATE><TIME>|<HOST>|W|testLogMsg03 78 Hello World! My level is 2 79 <DATE><TIME>|<HOST>|I|testLogMsg03 80 Hello World! My level is 3 58 81 ------------- psLogSetFormat(NULL) ------------- 59 82 ------------- psLogSetFormat(T) ------------- 60 <DATE><TIME>| 61 <DATE><TIME>| 62 <DATE><TIME>| 63 <DATE><TIME>| 83 <DATE><TIME> 84 85 <DATE><TIME> 86 87 <DATE><TIME> 88 89 <DATE><TIME> 90 64 91 ------------- psLogSetFormat(H) ------------- 65 <HOST> |66 <HOST> |67 <HOST> |68 <HOST> |92 <HOST> 93 <HOST> 94 <HOST> 95 <HOST> 69 96 ------------- psLogSetFormat(L) ------------- 70 A| 71 E| 72 W| 73 I| 97 A 98 99 E 100 101 W 102 103 I 104 74 105 ------------- psLogSetFormat(N) ------------- 75 testLogMsg03| 76 testLogMsg03| 77 testLogMsg03| 78 testLogMsg03| 106 testLogMsg03 107 108 testLogMsg03 109 110 testLogMsg03 111 112 testLogMsg03 113 79 114 ------------- psLogSetFormat(M) ------------- 80 Hello World! My level is 081 Hello World! My level is 182 Hello World! My level is 283 Hello World! My level is 3115 Hello World! My level is 0 116 Hello World! My level is 1 117 Hello World! My level is 2 118 Hello World! My level is 3 84 119 ------------- psLogSetFormat(THLNM) ------------- 85 <DATE><TIME>|<HOST>|A| testLogMsg03|Hello World! My level is 0 86 <DATE><TIME>|<HOST>|E| testLogMsg03|Hello World! My level is 1 87 <DATE><TIME>|<HOST>|W| testLogMsg03|Hello World! My level is 2 88 <DATE><TIME>|<HOST>|I| testLogMsg03|Hello World! My level is 3 120 <DATE><TIME>|<HOST>|A|testLogMsg03 121 Hello World! My level is 0 122 <DATE><TIME>|<HOST>|E|testLogMsg03 123 Hello World! My level is 1 124 <DATE><TIME>|<HOST>|W|testLogMsg03 125 Hello World! My level is 2 126 <DATE><TIME>|<HOST>|I|testLogMsg03 127 Hello World! My level is 3 89 128 90 129 ---> TESTPOINT PASSED (psLogMsg{psLogSetFormat()} | tst_psLogMsg.c) … … 96 135 \**********************************************************************************/ 97 136 98 <DATE><TIME>|<HOST>|A| Under 15 chars|Hello World! 99 <DATE><TIME>|<HOST>|A|+ than 15 chars|Hello World! 100 <DATE><TIME>|<HOST>|A| testLogMsg04|Line #1 101 <DATE><TIME>|<HOST>|A| testLogMsg04|Line #2 102 <DATE><TIME>|<HOST>|A| testLogMsg04|Line #3 103 <DATE><TIME>|<HOST>|A| testLogMsg04|Line #4 137 <DATE><TIME>|<HOST>|A|Under 15 chars 138 Hello World! 139 <DATE><TIME>|<HOST>|A|This string is more than 15 chars 140 Hello World! 141 <DATE><TIME>|<HOST>|A|testLogMsg04 142 Line #1 143 <DATE><TIME>|<HOST>|A|testLogMsg04 144 Line #2 145 <DATE><TIME>|<HOST>|A|testLogMsg04 146 Line #3 147 <DATE><TIME>|<HOST>|A|testLogMsg04 148 Line #4 104 149 105 150 ---> TESTPOINT PASSED (psLogMsg{Output Format} | tst_psLogMsg.c) … … 111 156 \**********************************************************************************/ 112 157 113 <DATE><TIME>|<HOST>|A| testLogMsg05|Hello World! My level is 0 114 <DATE><TIME>|<HOST>|E| testLogMsg05|Hello World! My level is 1 115 <DATE><TIME>|<HOST>|W| testLogMsg05|Hello World! My level is 2 116 <DATE><TIME>|<HOST>|I| testLogMsg05|Hello World! My level is 3 158 <DATE><TIME>|<HOST>|A|testLogMsg05 159 Hello World! My level is 0 160 <DATE><TIME>|<HOST>|E|testLogMsg05 161 Hello World! My level is 1 162 <DATE><TIME>|<HOST>|W|testLogMsg05 163 Hello World! My level is 2 164 <DATE><TIME>|<HOST>|I|testLogMsg05 165 Hello World! My level is 3 117 166 118 167 ---> TESTPOINT PASSED (psLogMsg{psLogSetDestination()} | tst_psLogMsg.c) -
trunk/psLib/test/sysUtils/verified/tst_psLogMsg.stdout
r1694 r1761 2 2 ------------- psLogSetDestination(PS_LOG_TO_STDERR) ------------- 3 3 ------------- psLogSetDestination(PS_LOG_TO_STDOUT) ------------- 4 <DATE><TIME>|<HOST>|A| testLogMsg05|Hello World! My level is 0 5 <DATE><TIME>|<HOST>|E| testLogMsg05|Hello World! My level is 1 6 <DATE><TIME>|<HOST>|W| testLogMsg05|Hello World! My level is 2 7 <DATE><TIME>|<HOST>|I| testLogMsg05|Hello World! My level is 3 4 <DATE><TIME>|<HOST>|A|testLogMsg05 5 Hello World! My level is 0 6 <DATE><TIME>|<HOST>|E|testLogMsg05 7 Hello World! My level is 1 8 <DATE><TIME>|<HOST>|W|testLogMsg05 9 Hello World! My level is 2 10 <DATE><TIME>|<HOST>|I|testLogMsg05 11 Hello World! My level is 3 8 12 --------------- psLogSetDestination(file:log.txt) --------------- 9 13 --------------------- The Contents of log.txt ------------------- 10 <DATE><TIME>|<HOST>|A| testLogMsg05|Hello World! My level is 0 11 <DATE><TIME>|<HOST>|E| testLogMsg05|Hello World! My level is 1 12 <DATE><TIME>|<HOST>|W| testLogMsg05|Hello World! My level is 2 13 <DATE><TIME>|<HOST>|I| testLogMsg05|Hello World! My level is 3 14 <DATE><TIME>|<HOST>|A|testLogMsg05 15 Hello World! My level is 0 16 <DATE><TIME>|<HOST>|E|testLogMsg05 17 Hello World! My level is 1 18 <DATE><TIME>|<HOST>|W|testLogMsg05 19 Hello World! My level is 2 20 <DATE><TIME>|<HOST>|I|testLogMsg05 21 Hello World! My level is 3 14 22 --------------- psLogSetDestination(file:/eva/log.txt) ---------- -
trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr
r1729 r1761 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|I|+BufferPositive|psAlloc shall allocate memory blocks writeable by caller. 7 <DATE><TIME>|<HOST>|I|TPCheckBufferPositive 8 psAlloc shall allocate memory blocks writeable by caller. 8 9 9 10 ---> TESTPOINT PASSED (psMemory{checkBufferPositive} | tst_psMemory.c) … … 15 16 \**********************************************************************************/ 16 17 17 <DATE><TIME>|<HOST>|I| TPOutOfMemory|Upon requesting more memory than is available, psalloc shall call the psMemExhaustedCallback. 18 <DATE><TIME>|<HOST>|I|+austedCallback|Custom MemExhaustedCallback was invoked. 19 <DATE><TIME>|<HOST>|A| p_psAlloc|Failed to allocate <N> bytes at tst_psMemory.c:<LINENO> 18 <DATE><TIME>|<HOST>|I|TPOutOfMemory 19 Upon requesting more memory than is available, psalloc shall call the psMemExhaustedCallback. 20 <DATE><TIME>|<HOST>|I|TPOutOfMemoryExhaustedCallback 21 Custom MemExhaustedCallback was invoked. 22 <DATE><TIME>|<HOST>|A|p_psAlloc 23 Failed to allocate <N> bytes at tst_psMemory.c:<LINENO> 20 24 21 25 ---> TESTPOINT PASSED (psMemory{outOfMemory} | tst_psMemory.c) … … 27 31 \**********************************************************************************/ 28 32 29 <DATE><TIME>|<HOST>|I|+locOutOfMemory|Upon requesting more memory than is available, psRealloc shall call the psMemExhaustedCallback. 30 <DATE><TIME>|<HOST>|A| p_psRealloc|Failed to reallocate <N> bytes at tst_psMemory.c:<LINENO> 33 <DATE><TIME>|<HOST>|I|TPReallocOutOfMemory 34 Upon requesting more memory than is available, psRealloc shall call the psMemExhaustedCallback. 35 <DATE><TIME>|<HOST>|A|p_psRealloc 36 Failed to reallocate <N> bytes at tst_psMemory.c:<LINENO> 31 37 32 38 ---> TESTPOINT PASSED (psMemory{reallocOutOfMemory} | tst_psMemory.c) … … 38 44 \**********************************************************************************/ 39 45 40 <DATE><TIME>|<HOST>|I| TPrealloc|psRealloc shall increase/decrease memory buffer while preserving contents 41 <DATE><TIME>|<HOST>|I| TPrealloc|Expanding memory buffer. 42 <DATE><TIME>|<HOST>|I| TPrealloc|Shrinking memory buffer. 46 <DATE><TIME>|<HOST>|I|TPrealloc 47 psRealloc shall increase/decrease memory buffer while preserving contents 48 <DATE><TIME>|<HOST>|I|TPrealloc 49 Expanding memory buffer. 50 <DATE><TIME>|<HOST>|I|TPrealloc 51 Shrinking memory buffer. 43 52 44 53 ---> TESTPOINT PASSED (psMemory{psRealloc} | tst_psMemory.c) … … 50 59 \**********************************************************************************/ 51 60 52 <DATE><TIME>|<HOST>|I|TPallocCallback|call to psAlloc/psRealloc shall generate a callback if specified memory ID is allocated. 53 <DATE><TIME>|<HOST>|I|+locateCallback|block 2 was (re)allocated 54 <DATE><TIME>|<HOST>|I|+locateCallback|block 3 was (re)allocated 55 <DATE><TIME>|<HOST>|I|memFreeCallback|block 2 was freed 56 <DATE><TIME>|<HOST>|I|memFreeCallback|block 3 was freed 57 <DATE><TIME>|<HOST>|I|+locateCallback|block 4 was (re)allocated 58 <DATE><TIME>|<HOST>|I|+locateCallback|block 4 was (re)allocated 59 <DATE><TIME>|<HOST>|I|memFreeCallback|block 4 was freed 61 <DATE><TIME>|<HOST>|I|TPallocCallback 62 call to psAlloc/psRealloc shall generate a callback if specified memory ID is allocated. 63 <DATE><TIME>|<HOST>|I|memAllocateCallback 64 block 2 was (re)allocated 65 <DATE><TIME>|<HOST>|I|memAllocateCallback 66 block 3 was (re)allocated 67 <DATE><TIME>|<HOST>|I|memFreeCallback 68 block 2 was freed 69 <DATE><TIME>|<HOST>|I|memFreeCallback 70 block 3 was freed 71 <DATE><TIME>|<HOST>|I|memAllocateCallback 72 block 4 was (re)allocated 73 <DATE><TIME>|<HOST>|I|memAllocateCallback 74 block 4 was (re)allocated 75 <DATE><TIME>|<HOST>|I|memFreeCallback 76 block 4 was freed 60 77 61 78 ---> TESTPOINT PASSED (psMemory{allocCallback} | tst_psMemory.c) … … 67 84 \**********************************************************************************/ 68 85 69 <DATE><TIME>|<HOST>|I| TPcheckLeaks|psMemCheckLeaks shall return the number of blocks above an ID that are still allocated 70 <DATE><TIME>|<HOST>|I| TPcheckLeaks|following psMemCheckLeaks call should produce one instance. 86 <DATE><TIME>|<HOST>|I|TPcheckLeaks 87 psMemCheckLeaks shall return the number of blocks above an ID that are still allocated 88 <DATE><TIME>|<HOST>|I|TPcheckLeaks 89 following psMemCheckLeaks call should produce one instance. 71 90 file:line ID 72 91 tst_psMemory.c:<LINENO> 1 73 <DATE><TIME>|<HOST>|I| TPcheckLeaks|Testing psMemCheckLeaks again with a different leak location 74 <DATE><TIME>|<HOST>|I| TPcheckLeaks|following psMemCheckLeaks call should produce one error. 92 <DATE><TIME>|<HOST>|I|TPcheckLeaks 93 Testing psMemCheckLeaks again with a different leak location 94 <DATE><TIME>|<HOST>|I|TPcheckLeaks 95 following psMemCheckLeaks call should produce one error. 75 96 file:line ID 76 97 tst_psMemory.c:<LINENO> 11 77 <DATE><TIME>|<HOST>|I| TPcheckLeaks|Testing psMemCheckLeaks again with multiple leak locations. 78 <DATE><TIME>|<HOST>|I| TPcheckLeaks|following psMemCheckLeaks call should produce two errors. 98 <DATE><TIME>|<HOST>|I|TPcheckLeaks 99 Testing psMemCheckLeaks again with multiple leak locations. 100 <DATE><TIME>|<HOST>|I|TPcheckLeaks 101 following psMemCheckLeaks call should produce two errors. 79 102 file:line ID 80 103 tst_psMemory.c:<LINENO> 16 … … 89 112 \**********************************************************************************/ 90 113 91 <DATE><TIME>|<HOST>|I|TPmemCorruption|psMemCheckCorruption shall detect memory corruptions 92 <DATE><TIME>|<HOST>|I|TPmemCorruption|psMemCheckCorruption should output an error message and memProblemCallback callback should be called. 93 <DATE><TIME>|<HOST>|E|+scheckMemBlock|Memory block 1 is corrupted; buffer underflow detected. 94 <DATE><TIME>|<HOST>|I|+roblemCallback|memory callback called for id 1 (psMemCheckCorruption:<LINENO>). 114 <DATE><TIME>|<HOST>|I|TPmemCorruption 115 psMemCheckCorruption shall detect memory corruptions 116 <DATE><TIME>|<HOST>|I|TPmemCorruption 117 psMemCheckCorruption should output an error message and memProblemCallback callback should be called. 118 <DATE><TIME>|<HOST>|E|psLib.sysUtils.checkMemBlock 119 Memory block 1 is corrupted; buffer underflow detected. 120 <DATE><TIME>|<HOST>|I|memProblemCallback 121 memory callback called for id 1 (psMemCheckCorruption:<LINENO>). 95 122 96 123 ---> TESTPOINT PASSED (psMemory{psMemCorruption} | tst_psMemory.c) … … 102 129 \**********************************************************************************/ 103 130 104 <DATE><TIME>|<HOST>|I|+ferencedMemory|memory reference count shall be incrementable/decrementable 105 <DATE><TIME>|<HOST>|I|+ferencedMemory|psFree shall be just decrement a multiple refererenced pointer. 131 <DATE><TIME>|<HOST>|I|TPFreeReferencedMemory 132 memory reference count shall be incrementable/decrementable 133 <DATE><TIME>|<HOST>|I|TPFreeReferencedMemory 134 psFree shall be just decrement a multiple refererenced pointer. 106 135 107 136 ---> TESTPOINT PASSED (psMemory{freeReferencedMemory} | tst_psMemory.c) … … 113 142 \**********************************************************************************/ 114 143 115 <DATE><TIME>|<HOST>|I| TPmultipleFree|Next should be an error about multiple freeing. 116 <DATE><TIME>|<HOST>|E|+sysUtilspsFree|Block 1, allocated at tst_psMemory.c:<LINENO>, freed multiple times at tst_psMemory.c:<LINENO>. 144 <DATE><TIME>|<HOST>|I|TPmultipleFree 145 Next should be an error about multiple freeing. 146 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree 147 Block 1, allocated at tst_psMemory.c:<LINENO>, freed multiple times at tst_psMemory.c:<LINENO>. 117 148 118 149 ---> TESTPOINT PASSED (psMemory{multipleFree} | tst_psMemory.c) -
trunk/psLib/test/sysUtils/verified/tst_psStringCopy.stderr
r1729 r1761 50 50 \**********************************************************************************/ 51 51 52 <DATE><TIME>|<HOST>|E|+spsStringNCopy|Can not copy a negative number of characters (-5). 52 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psStringNCopy 53 Can not copy a negative number of characters (-5). 53 54 54 55 ---> TESTPOINT PASSED (psString{Copy string with negative size} | tst_psStringCopy.c) -
trunk/psLib/test/sysUtils/verified/tst_psTrace.stderr
r1732 r1761 87 87 /***************************** TESTPOINT ******************************************\ 88 88 * TestFile: tst_psTrace.c * 89 * TestPoint: psTrace{optional leading dot and psTracePrintLevels()} * 90 * TestType: Positive * 91 \**********************************************************************************/ 92 93 94 ---> TESTPOINT PASSED (psTrace{optional leading dot and psTracePrintLevels()} | tst_psTrace.c) 95 96 /***************************** TESTPOINT ******************************************\ 97 * TestFile: tst_psTrace.c * 89 98 * TestPoint: psTrace{Testing psTraceReset} * 90 99 * TestType: Positive * … … 94 103 ---> TESTPOINT PASSED (psTrace{Testing psTraceReset} | tst_psTrace.c) 95 104 105 /***************************** TESTPOINT ******************************************\ 106 * TestFile: tst_psTrace.c * 107 * TestPoint: psTrace{Testing } * 108 * TestType: Positive * 109 \**********************************************************************************/ 110 111 112 ---> TESTPOINT PASSED (psTrace{Testing } | tst_psTrace.c) 113 -
trunk/psLib/test/sysUtils/verified/tst_psTrace.stdout
r1732 r1761 5 5 (1) This message should be displayed (beefface) 6 6 (2) This message should be displayed (beefface) 7 . 9 8 a 8 9 a 4 10 b 3 11 b 7 12 a 2 13 b 1 14 c 5 15 a 5 16 b 3 17 c 5
Note:
See TracChangeset
for help on using the changeset viewer.
