Changeset 3289
- Timestamp:
- Feb 18, 2005, 12:46:50 PM (21 years ago)
- Location:
- trunk/psLib/test/collections
- Files:
-
- 2 edited
-
tst_psBitSet.c (modified) (2 diffs)
-
verified/tst_psBitSet.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psBitSet.c
r3288 r3289 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-02-18 22: 32:49$19 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-02-18 22:46:50 $ 21 21 * 22 22 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 660 660 661 661 662 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error"); 663 if(psBitSetOp(outbs,NULL,"AND",bs2) != NULL) { 664 psError(PS_ERR_UNKNOWN,true,"psBitSetOp did not return NULL with NULL input 1 bit set"); 665 return 40; 666 } 667 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error"); 668 if(psBitSetOp(outbs,bs1,NULL,bs2) != NULL) { 669 psError(PS_ERR_UNKNOWN,true,"psBitSetOp did not return NULL with NULL operator"); 670 return 41; 671 } 672 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error"); 673 if(psBitSetOp(outbs,bs1,"AND",NULL) != NULL) { 674 psError(PS_ERR_UNKNOWN,true,"psBitSetOp did not return NULL with NULL input 2 bit set"); 675 return 42; 676 } 677 662 678 psFree(bs1); 663 679 psFree(bs2); -
trunk/psLib/test/collections/verified/tst_psBitSet.stderr
r3288 r3289 95 95 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 96 96 Specified operator, FOO, is invalid. Valid operators are AND, OR, and XOR. 97 <DATE><TIME>|<HOST>|I|testBitSet06 98 Following should generate an error 99 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 100 First psBitSet operand can not be NULL. 101 <DATE><TIME>|<HOST>|I|testBitSet06 102 Following should generate an error 103 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 104 Specified operator is NULL. Must specify desired operator. 105 <DATE><TIME>|<HOST>|I|testBitSet06 106 Following should generate an error 107 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 108 Second psBitSet operand can not be NULL. 97 109 98 110 ---> TESTPOINT PASSED (psBitSet{psBitSetOp} | tst_psBitSet.c)
Note:
See TracChangeset
for help on using the changeset viewer.
