Changeset 8528 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Aug 23, 2006, 1:55:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r8380 r8528 520 520 } 521 521 522 object = detInputExpRowAlloc(-32, -32, "a string", true , true);522 object = detInputExpRowAlloc(-32, -32, "a string", true); 523 523 if (!object) { 524 524 exit(EXIT_FAILURE); … … 564 564 } 565 565 566 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string" );566 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64); 567 567 if (!object) { 568 568 exit(EXIT_FAILURE); … … 674 674 } 675 675 676 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", "a string", "a string");676 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string"); 677 677 if (!object) { 678 678 exit(EXIT_FAILURE); … … 696 696 } 697 697 698 object = detResidExpRowAlloc(-32, -32, "a string", "a string", true, true);698 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true); 699 699 if (!object) { 700 700 exit(EXIT_FAILURE); … … 702 702 703 703 if (!detResidExpInsertObject(dbh, object)) { 704 exit(EXIT_FAILURE); 705 } 706 707 psFree(object); 708 psDBCleanup(dbh); 709 } 710 711 { 712 psDB *dbh; 713 detRunSummaryRow *object; 714 715 dbh = psDBInit("localhost", "test", NULL, "test"); 716 if (!dbh) { 717 exit(EXIT_FAILURE); 718 } 719 720 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true); 721 if (!object) { 722 exit(EXIT_FAILURE); 723 } 724 725 if (!detRunSummaryInsertObject(dbh, object)) { 704 726 exit(EXIT_FAILURE); 705 727 }
Note:
See TracChangeset
for help on using the changeset viewer.
