Changeset 8026 for branches/jhoblitt/ippdb/tests/metadatafromobject.c
- Timestamp:
- Jul 31, 2006, 4:12:32 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/metadatafromobject.c
r8020 r8026 467 467 bool status; 468 468 469 object = pzPendingImfileRowAlloc("a string", -32, "a string", "a string", "a string" );469 object = pzPendingImfileRowAlloc("a string", -32, "a string", "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 } 493 497 if (strncmp(psMetadataLookupPtr(&status, md, "class_id"), "a string", MAX_STRING_LENGTH)) { 494 498 psFree(md); … … 549 553 bool status; 550 554 551 object = newImfileRowAlloc("a string", "a string", "a string" );555 object = newImfileRowAlloc("a string", "a string", "a string", "a string"); 552 556 if (!object) { 553 557 exit(EXIT_FAILURE); … … 565 569 exit(EXIT_FAILURE); 566 570 } 571 if (strncmp(psMetadataLookupPtr(&status, md, "class"), "a string", MAX_STRING_LENGTH)) { 572 psFree(md); 573 exit(EXIT_FAILURE); 574 } 567 575 if (strncmp(psMetadataLookupPtr(&status, md, "class_id"), "a string", MAX_STRING_LENGTH)) { 568 576 psFree(md); … … 680 688 bool status; 681 689 682 object = rawImfileRowAlloc("a string", "a string", "a string", "a string" );690 object = rawImfileRowAlloc("a string", "a string", "a string", "a string", "a string"); 683 691 if (!object) { 684 692 exit(EXIT_FAILURE); … … 693 701 694 702 if (strncmp(psMetadataLookupPtr(&status, md, "exp_id"), "a string", MAX_STRING_LENGTH)) { 703 psFree(md); 704 exit(EXIT_FAILURE); 705 } 706 if (strncmp(psMetadataLookupPtr(&status, md, "class"), "a string", MAX_STRING_LENGTH)) { 695 707 psFree(md); 696 708 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
