Changeset 12236 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Mar 5, 2007, 12:36:18 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r12231 r12236 602 602 chipProcessedExpRow *object; 603 603 604 object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string" );604 object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string", "a string" ); 605 605 606 606 if (!object) { … … 620 620 exit(EXIT_FAILURE); 621 621 } 622 if (strncmp(object->workdir, "a string", MAX_STRING_LENGTH)) { 623 psFree(object); 624 exit(EXIT_FAILURE); 625 } 622 626 if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) { 623 627 psFree(object); … … 705 709 camPendingExpRow *object; 706 710 707 object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string" );711 object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string" ); 708 712 709 713 if (!object) { … … 719 723 exit(EXIT_FAILURE); 720 724 } 725 if (strncmp(object->workdir, "a string", MAX_STRING_LENGTH)) { 726 psFree(object); 727 exit(EXIT_FAILURE); 728 } 721 729 if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) { 722 730 psFree(object); … … 742 750 camProcessedExpRow *object; 743 751 744 object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16 );752 object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16 ); 745 753 746 754 if (!object) { … … 753 761 } 754 762 if (!object->chip_id == -64) { 763 psFree(object); 764 exit(EXIT_FAILURE); 765 } 766 if (strncmp(object->workdir, "a string", MAX_STRING_LENGTH)) { 755 767 psFree(object); 756 768 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
