Changeset 8020 for branches/jhoblitt/ippdb/tests/metadatafromobject.c
- Timestamp:
- Jul 31, 2006, 3:44:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/metadatafromobject.c
r8006 r8020 467 467 bool status; 468 468 469 object = pzPendingImfileRowAlloc("a string", -32, "a string", "a string", "a string" , "a string");469 object = pzPendingImfileRowAlloc("a string", -32, "a string", "a string", "a string"); 470 470 if (!object) { 471 471 exit(EXIT_FAILURE); … … 491 491 exit(EXIT_FAILURE); 492 492 } 493 if (strncmp(psMetadataLookupPtr(&status, md, "class"), "a string", MAX_STRING_LENGTH)) {494 psFree(md);495 exit(EXIT_FAILURE);496 }497 493 if (strncmp(psMetadataLookupPtr(&status, md, "class_id"), "a string", MAX_STRING_LENGTH)) { 498 494 psFree(md); … … 553 549 bool status; 554 550 555 object = newImfileRowAlloc("a string", "a string", "a string" , "a string");551 object = newImfileRowAlloc("a string", "a string", "a string"); 556 552 if (!object) { 557 553 exit(EXIT_FAILURE); … … 566 562 567 563 if (strncmp(psMetadataLookupPtr(&status, md, "exp_id"), "a string", MAX_STRING_LENGTH)) { 568 psFree(md);569 exit(EXIT_FAILURE);570 }571 if (strncmp(psMetadataLookupPtr(&status, md, "class"), "a string", MAX_STRING_LENGTH)) {572 564 psFree(md); 573 565 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
