- Timestamp:
- May 16, 2005, 9:43:53 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/verified/tst_psMetadataIO.stdout
r3779 r3945 1 /***************************** TESTPOINT ******************************************\ 2 * TestFile: tst_psMetadataIO.c * 3 * TestPoint: psMetadata{Test A - Read config file with overwrite set true} * 4 * TestType: Positive * 5 \**********************************************************************************/ 1 Double F64 1.234568 # This is a comment 2 String STR This is the string that forms the value # comment 3 boolean BOOL 1 # The value of 'boolean' is 'true' 4 @primes U8 2,3,5,7,11,13,17 # These are prime numbers 5 comment MULTI 6 comment STR This 7 comment STR is 8 comment STR a 9 comment STR non-unique 10 comment STR key 11 Float F64 1.234560 # This generates a warning, and, if 'overwrite' is 'false', is ignored 12 boolean1 BOOL 0 # The value of 'boolean' is 'false' 13 @negprimes S8 -2,-3,-5,-7,-11,-13,-17,-19 14 @vector1 U16 0,1,2,4,8 15 @vector2 U32 0,8,16,32,64,128 16 @vector3 U64 0,64,256 17 @vector4 S16 -2,-1,0,1,2 18 @vector5 S32 -4,-2,0,2,4,6 19 @vector6 S64 -16,-4,0,4,16,36,64 20 @vector7 F32 -1.03,1.04,-1.05,1.06 21 @vector8 F64 -2.22,2.21,-2.2,2.19,-2.18 22 CELL.00 METADATA 23 EXTNAME STR CCD00 24 BIASSEC STR BSEC-00 25 CHIP STR CHIP.00 6 26 7 Failed lines: 6 Expected: 6 8 Contents of metadata list: 9 Key Name: pi Key mdType: 0x00000408 Key Value: 3.142 Key Comment: Definition of pi 10 Key Name: altitude Key mdType: 0x00000104 Key Value: 10000 Key Comment: 11 Key Name: time Key mdType: 0x00000404 Key Value: 1234.568 Key Comment: 12 Key Name: myBool Key mdType: 0x00001301 Key Value: 0 Key Comment: F, f, 0, T, t, 1 are also acceptable 13 Key Name: title1 Key mdType: 0x00010001 Key Value: Hello world Key Comment: This is a comment for the string value 14 Key Name: title2 Key mdType: 0x00010001 Key Value: Good bye world Key Comment: STRING or STR may be used as the string type 15 Key Name: primes Key mdType: 0x00010002 Key Value: [2,3,5,7,...] Key Comment: These are prime numbers 16 Key Name: negatives Key mdType: 0x00010002 Key Value: [-1,-2,-3,...] Key Comment: 17 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment: 18 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment: 19 Key Name: comment Key mdType: 0x00010001 Key Value: an Key Comment: 20 Key Name: comment Key mdType: 0x00010001 Key Value: ugly Key Comment: 21 Key Name: comment Key mdType: 0x00010001 Key Value: comment Key Comment: 22 Key Name: comment Key mdType: 0x00010001 Key Value: but Key Comment: 23 Key Name: comment Key mdType: 0x00010001 Key Value: still Key Comment: 24 Key Name: comment Key mdType: 0x00010001 Key Value: valid Key Comment: 25 Key Name: speed Key mdType: 0x00000404 Key Value: 66.660 Key Comment: 27 CELL.01 METADATA 28 EXTNAME STR CCD01 29 BIASSEC STR BSEC-01 30 CHIP STR CHIP.00 26 31 27 Contents of metadata table: 28 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items 29 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment: 30 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment: 31 Key Name: comment Key mdType: 0x00010001 Key Value: an Key Comment: 32 Key Name: comment Key mdType: 0x00010001 Key Value: ugly Key Comment: 33 Key Name: comment Key mdType: 0x00010001 Key Value: comment Key Comment: 34 Key Name: comment Key mdType: 0x00010001 Key Value: but Key Comment: 35 Key Name: comment Key mdType: 0x00010001 Key Value: still Key Comment: 36 Key Name: comment Key mdType: 0x00010001 Key Value: valid Key Comment: 37 Key Name: title2 Key mdType: 0x00010001 Key Value: Good bye world Key Comment: STRING or STR may be used as the string type 38 Key Name: time Key mdType: 0x00000404 Key Value: 1234.568 Key Comment: 39 Key Name: negatives Key mdType: 0x00010002 Key Value: [-1,-2,-3,...] Key Comment: 40 Key Name: pi Key mdType: 0x00000408 Key Value: 3.142 Key Comment: Definition of pi 41 Key Name: myBool Key mdType: 0x00001301 Key Value: 0 Key Comment: F, f, 0, T, t, 1 are also acceptable 42 Key Name: primes Key mdType: 0x00010002 Key Value: [2,3,5,7,...] Key Comment: These are prime numbers 43 Key Name: altitude Key mdType: 0x00000104 Key Value: 10000 Key Comment: 44 Key Name: speed Key mdType: 0x00000404 Key Value: 66.660 Key Comment: 45 Key Name: title1 Key mdType: 0x00010001 Key Value: Hello world Key Comment: This is a comment for the string value 32 MYCELL MULTI 33 MYCELL METADATA 34 EXTNAME STR CCD00 35 BIASSEC STR BSEC-00 36 CHIP STR CHIP.00 37 NCELL S32 24 46 38 47 ---> TESTPOINT PASSED (psMetadata{Test A - Read config file with overwrite set true} | tst_psMetadataIO.c) 39 MYCELL S32 123 # A number 40 cell METADATA 41 foo METADATA 42 bar STR BAZ 43 ping STR PONG 48 44 49 /***************************** TESTPOINT ******************************************\ 50 * TestFile: tst_psMetadataIO.c * 51 * TestPoint: psMetadata{Test B - Read config file with overwrite set false} * 52 * TestType: Positive * 53 \**********************************************************************************/ 45 EXTNAME STR CCD00 46 BIASSEC STR BSEC-00 47 CHIP STR CHIP.00 48 NCELL S32 12 54 49 55 Failed lines: 7 Expected: 7 Contents of metadata list:56 Key Name: pi Key mdType: 0x00000408 Key Value: 3.142 Key Comment: Definition of pi57 Key Name: altitude Key mdType: 0x00000104 Key Value: 10000 Key Comment:58 Key Name: time Key mdType: 0x00000404 Key Value: 1234.568 Key Comment:59 Key Name: myBool Key mdType: 0x00001301 Key Value: 0 Key Comment: F, f, 0, T, t, 1 are also acceptable60 Key Name: title1 Key mdType: 0x00010001 Key Value: Hello world Key Comment: This is a comment for the string value61 Key Name: title2 Key mdType: 0x00010001 Key Value: Good bye world Key Comment: STRING or STR may be used as the string type62 Key Name: primes Key mdType: 0x00010002 Key Value: [2,3,5,7,...] Key Comment: These are prime numbers63 Key Name: negatives Key mdType: 0x00010002 Key Value: [-1,-2,-3,...] Key Comment:64 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment:65 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment:66 Key Name: comment Key mdType: 0x00010001 Key Value: an Key Comment:67 Key Name: comment Key mdType: 0x00010001 Key Value: ugly Key Comment:68 Key Name: comment Key mdType: 0x00010001 Key Value: comment Key Comment:69 Key Name: comment Key mdType: 0x00010001 Key Value: but Key Comment:70 Key Name: comment Key mdType: 0x00010001 Key Value: still Key Comment:71 Key Name: comment Key mdType: 0x00010001 Key Value: valid Key Comment:72 Key Name: speed Key mdType: 0x00000404 Key Value: 55.550 Key Comment:73 74 Contents of metadata table:75 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items76 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment:77 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment:78 Key Name: comment Key mdType: 0x00010001 Key Value: an Key Comment:79 Key Name: comment Key mdType: 0x00010001 Key Value: ugly Key Comment:80 Key Name: comment Key mdType: 0x00010001 Key Value: comment Key Comment:81 Key Name: comment Key mdType: 0x00010001 Key Value: but Key Comment:82 Key Name: comment Key mdType: 0x00010001 Key Value: still Key Comment:83 Key Name: comment Key mdType: 0x00010001 Key Value: valid Key Comment:84 Key Name: title2 Key mdType: 0x00010001 Key Value: Good bye world Key Comment: STRING or STR may be used as the string type85 Key Name: time Key mdType: 0x00000404 Key Value: 1234.568 Key Comment:86 Key Name: negatives Key mdType: 0x00010002 Key Value: [-1,-2,-3,...] Key Comment:87 Key Name: pi Key mdType: 0x00000408 Key Value: 3.142 Key Comment: Definition of pi88 Key Name: myBool Key mdType: 0x00001301 Key Value: 0 Key Comment: F, f, 0, T, t, 1 are also acceptable89 Key Name: primes Key mdType: 0x00010002 Key Value: [2,3,5,7,...] Key Comment: These are prime numbers90 Key Name: altitude Key mdType: 0x00000104 Key Value: 10000 Key Comment:91 Key Name: speed Key mdType: 0x00000404 Key Value: 55.550 Key Comment:92 Key Name: title1 Key mdType: 0x00010001 Key Value: Hello world Key Comment: This is a comment for the string value93 94 ---> TESTPOINT PASSED (psMetadata{Test B - Read config file with overwrite set false} | tst_psMetadataIO.c)95 96 /***************************** TESTPOINT ******************************************\97 * TestFile: tst_psMetadataIO.c *98 * TestPoint: psMetadata{Test C - Read config file without auto-allocation of metadata} *99 * TestType: Positive *100 \**********************************************************************************/101 102 Failed lines: 6 Expected: 6 Contents of metadata list:103 Key Name: pi Key mdType: 0x00000408 Key Value: 3.142 Key Comment: Definition of pi104 Key Name: altitude Key mdType: 0x00000104 Key Value: 10000 Key Comment:105 Key Name: time Key mdType: 0x00000404 Key Value: 1234.568 Key Comment:106 Key Name: myBool Key mdType: 0x00001301 Key Value: 0 Key Comment: F, f, 0, T, t, 1 are also acceptable107 Key Name: title1 Key mdType: 0x00010001 Key Value: Hello world Key Comment: This is a comment for the string value108 Key Name: title2 Key mdType: 0x00010001 Key Value: Good bye world Key Comment: STRING or STR may be used as the string type109 Key Name: primes Key mdType: 0x00010002 Key Value: [2,3,5,7,...] Key Comment: These are prime numbers110 Key Name: negatives Key mdType: 0x00010002 Key Value: [-1,-2,-3,...] Key Comment:111 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment:112 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment:113 Key Name: comment Key mdType: 0x00010001 Key Value: an Key Comment:114 Key Name: comment Key mdType: 0x00010001 Key Value: ugly Key Comment:115 Key Name: comment Key mdType: 0x00010001 Key Value: comment Key Comment:116 Key Name: comment Key mdType: 0x00010001 Key Value: but Key Comment:117 Key Name: comment Key mdType: 0x00010001 Key Value: still Key Comment:118 Key Name: comment Key mdType: 0x00010001 Key Value: valid Key Comment:119 Key Name: speed Key mdType: 0x00000404 Key Value: 66.660 Key Comment:120 121 Contents of metadata table:122 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items123 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment:124 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment:125 Key Name: comment Key mdType: 0x00010001 Key Value: an Key Comment:126 Key Name: comment Key mdType: 0x00010001 Key Value: ugly Key Comment:127 Key Name: comment Key mdType: 0x00010001 Key Value: comment Key Comment:128 Key Name: comment Key mdType: 0x00010001 Key Value: but Key Comment:129 Key Name: comment Key mdType: 0x00010001 Key Value: still Key Comment:130 Key Name: comment Key mdType: 0x00010001 Key Value: valid Key Comment:131 Key Name: title2 Key mdType: 0x00010001 Key Value: Good bye world Key Comment: STRING or STR may be used as the string type132 Key Name: time Key mdType: 0x00000404 Key Value: 1234.568 Key Comment:133 Key Name: negatives Key mdType: 0x00010002 Key Value: [-1,-2,-3,...] Key Comment:134 Key Name: pi Key mdType: 0x00000408 Key Value: 3.142 Key Comment: Definition of pi135 Key Name: myBool Key mdType: 0x00001301 Key Value: 0 Key Comment: F, f, 0, T, t, 1 are also acceptable136 Key Name: primes Key mdType: 0x00010002 Key Value: [2,3,5,7,...] Key Comment: These are prime numbers137 Key Name: altitude Key mdType: 0x00000104 Key Value: 10000 Key Comment:138 Key Name: speed Key mdType: 0x00000404 Key Value: 66.660 Key Comment:139 Key Name: title1 Key mdType: 0x00010001 Key Value: Hello world Key Comment: This is a comment for the string value140 141 ---> TESTPOINT PASSED (psMetadata{Test C - Read config file without auto-allocation of metadata} | tst_psMetadataIO.c)142 143 /***************************** TESTPOINT ******************************************\144 * TestFile: tst_psMetadataIO.c *145 * TestPoint: psMetadataIO{Test D - Attempt to use null fileName argument} *146 * TestType: Negative *147 * ExpectedErrorText: Null failedLines not allowed *148 * ExpectedStatusValue: 0 *149 \**********************************************************************************/150 151 152 ---> TESTPOINT PASSED (psMetadata{Test D - Attempt to use null fileName argument} | tst_psMetadataIO.c)153 154 /***************************** TESTPOINT ******************************************\155 * TestFile: tst_psMetadataIO.c *156 * TestPoint: psMetadataIO{Test E - Attempt to open nonexistant file} *157 * TestType: Negative *158 * ExpectedErrorText: Error opening file *159 * ExpectedStatusValue: 0 *160 \**********************************************************************************/161 162 163 ---> TESTPOINT PASSED (psMetadata{Test E - Attempt to open nonexistant file} | tst_psMetadataIO.c)164 165 /***************************** TESTPOINT ******************************************\166 * TestFile: tst_psMetadataIO.c *167 * TestPoint: psMetadata{Test F - Free psMetadata} *168 * TestType: Positive *169 \**********************************************************************************/170 171 172 ---> TESTPOINT PASSED (psMetadata{Test F - Free psMetadata} | tst_psMetadataIO.c)173
Note:
See TracChangeset
for help on using the changeset viewer.
