Changeset 3779 for trunk/psLib/test/collections
- Timestamp:
- Apr 27, 2005, 4:45:12 PM (21 years ago)
- Location:
- trunk/psLib/test/collections
- Files:
-
- 4 edited
-
tst_psMetadataIO.c (modified) (3 diffs)
-
tst_psMetadata_01.c (modified) (3 diffs)
-
verified/tst_psMetadataIO.stdout (modified) (3 diffs)
-
verified/tst_psMetadata_01.stdout (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psMetadataIO.c
r3682 r3779 14 14 * @author Robert DeSonia, MHPCC 15 15 * 16 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-04- 07 20:27:41$16 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-28 02:45:12 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 121 121 printPositiveTestHeader(stdout, "psMetadata", "Test B - Read config file with overwrite set false"); 122 122 psMetadata *metadata2 = NULL; 123 ps S32 failedLines2 = 0;123 psU32 failedLines2 = 0; 124 124 metadata2 = psMetadataParseConfig(metadata2, &failedLines2, "test.config", false); 125 125 printf("Failed lines: %d Expected: 7 ", failedLines2); … … 131 131 printPositiveTestHeader(stdout, "psMetadata", "Test C - Read config file without auto-allocation of metadata"); 132 132 psMetadata *metadata3 = psMetadataAlloc(); 133 ps S32 failedLines3 = 0;133 psU32 failedLines3 = 0; 134 134 metadata3 = psMetadataParseConfig(metadata3, &failedLines3, "test.config", true); 135 135 printf("Failed lines: %d Expected: 6 ", failedLines3); -
trunk/psLib/test/collections/tst_psMetadata_01.c
r3682 r3779 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-04- 07 20:27:41$20 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-04-28 02:45:12 $ 22 22 * 23 23 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 126 126 printFooter(stdout, "psMetadata", "Test A - Read 1st hdr from simple FITS file", true); 127 127 128 printf("ID=%d\n",(int)psMemGetId());129 130 128 // Test B - Read 2nd hdr from complex FITS file 131 129 … … 174 172 printFooter(stdout, "psMetadata", "Test B - Read 2nd hdr from complex FITS file", true); 175 173 176 printf("ID=%d\n",(int)psMemGetId());177 178 174 // Test C - Read named hdr from complex FITS file 179 175 printPositiveTestHeader(stdout, "psMetadata", "Test C - Read named hdr from complex FITS file"); -
trunk/psLib/test/collections/verified/tst_psMetadataIO.stdout
r3690 r3779 26 26 27 27 Contents of metadata table: 28 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: 28 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items 29 29 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment: 30 30 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment: … … 73 73 74 74 Contents of metadata table: 75 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: 75 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items 76 76 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment: 77 77 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment: … … 120 120 121 121 Contents of metadata table: 122 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: 122 Key Name: comment Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items 123 123 Key Name: comment Key mdType: 0x00010001 Key Value: This Key Comment: 124 124 Key Name: comment Key mdType: 0x00010001 Key Value: is Key Comment: -
trunk/psLib/test/collections/verified/tst_psMetadata_01.stdout
r3690 r3779 19 19 ---> TESTPOINT PASSED (psMetadata{Test A - Read 1st hdr from simple FITS file} | tst_psMetadata_01.c) 20 20 21 ID=3422 21 /***************************** TESTPOINT ******************************************\ 23 22 * TestFile: tst_psMetadata_01.c * … … 45 44 Key Name: PCOUNT Key mdType: 0x00000104 Key Value: 0 Key Comment: required keyword; must = 0 46 45 Key Name: XTENSION Key mdType: 0x00010001 Key Value: 'IMAGE ' Key Comment: IMAGE extension 47 Key Name: BITPIX Key mdType: 0x0001000a Key Value: Key Comment: 46 Key Name: BITPIX Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items 48 47 Key Name: BITPIX Key mdType: 0x00000104 Key Value: -64 Key Comment: number of bits per data pixel 49 48 Key Name: BITPIX Key mdType: 0x00000104 Key Value: -64 Key Comment: number of bits per data pixel 50 49 Key Name: GCOUNT Key mdType: 0x00000104 Key Value: 1 Key Comment: required keyword; must = 1 51 Key Name: HISTORY Key mdType: 0x0001000a Key Value: Key Comment: 50 Key Name: HISTORY Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items 52 51 Key Name: HISTORY Key mdType: 0x00010001 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 53 52 Key Name: HISTORY Key mdType: 0x00010001 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> … … 58 57 ---> TESTPOINT PASSED (psMetadata{Test B - Read 2nd hdr from complex FITS file} | tst_psMetadata_01.c) 59 58 60 ID=13861 59 /***************************** TESTPOINT ******************************************\ 62 60 * TestFile: tst_psMetadata_01.c * … … 83 81 Key Name: GCOUNT Key mdType: 0x00000104 Key Value: 1 Key Comment: required keyword; must = 1 84 82 Key Name: BITPIX Key mdType: 0x00000104 Key Value: -64 Key Comment: number of bits per data pixel 85 Key Name: HISTORY Key mdType: 0x0001000a Key Value: Key Comment: 83 Key Name: HISTORY Key mdType: 0x0001000a Key Value: Key Comment: List of Metadata Items 86 84 Key Name: HISTORY Key mdType: 0x00010001 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 87 85 Key Name: HISTORY Key mdType: 0x00010001 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE>
Note:
See TracChangeset
for help on using the changeset viewer.
