Changeset 9187 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Oct 3, 2006, 6:32:18 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r9173 r9187 602 602 bool status; 603 603 604 object = rawDetrendExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64 );604 object = rawDetrendExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string"); 605 605 if (!object) { 606 606 exit(EXIT_FAILURE); … … 682 682 exit(EXIT_FAILURE); 683 683 } 684 if (strncmp(psMetadataLookupPtr(&status, md, "obstype"), "a string", MAX_STRING_LENGTH)) { 685 psFree(md); 686 exit(EXIT_FAILURE); 687 } 684 688 685 689 psFree(md); … … 691 695 bool status; 692 696 693 object = rawScienceExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64 );697 object = rawScienceExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string"); 694 698 if (!object) { 695 699 exit(EXIT_FAILURE); … … 771 775 exit(EXIT_FAILURE); 772 776 } 777 if (strncmp(psMetadataLookupPtr(&status, md, "obstype"), "a string", MAX_STRING_LENGTH)) { 778 psFree(md); 779 exit(EXIT_FAILURE); 780 } 773 781 774 782 psFree(md); … … 780 788 bool status; 781 789 782 object = rawImfileRowAlloc("a string", "a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64 );790 object = rawImfileRowAlloc("a string", "a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string"); 783 791 if (!object) { 784 792 exit(EXIT_FAILURE); … … 857 865 } 858 866 if (!psMetadataLookupF64(&status, md, "posang") == 64.64) { 867 psFree(md); 868 exit(EXIT_FAILURE); 869 } 870 if (strncmp(psMetadataLookupPtr(&status, md, "obstype"), "a string", MAX_STRING_LENGTH)) { 859 871 psFree(md); 860 872 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
