Changeset 14598 for trunk/ippdb/tests/insert.c
- Timestamp:
- Aug 21, 2007, 4:25:34 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insert.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insert.c
r14451 r14598 58 58 } 59 59 60 if (!pzPendingImfileInsert(dbh, "a string", "a string", "a string", "a string", "a string" , -64)) {60 if (!pzPendingImfileInsert(dbh, "a string", "a string", "a string", "a string", "a string")) { 61 61 exit(EXIT_FAILURE); 62 62 } … … 88 88 } 89 89 90 if (!pzDoneImfileInsert(dbh, "a string", "a string", "a string", "a string", "a string", -64,"a string")) {90 if (!pzDoneImfileInsert(dbh, "a string", "a string", "a string", "a string", "a string", "a string")) { 91 91 exit(EXIT_FAILURE); 92 92 } … … 313 313 } 314 314 315 if (!warpSkyfileInsert(dbh, -64, "a string", "a string", "a string", "a string", 64.64, 64.64, -16)) {315 if (!warpSkyfileInsert(dbh, -64, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, -16)) { 316 316 exit(EXIT_FAILURE); 317 317 } … … 584 584 585 585 if (!detRegisteredImfileInsert(dbh, -64, -32, "a string", "a string", 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", -16)) { 586 exit(EXIT_FAILURE); 587 } 588 589 psDBCleanup(dbh); 590 } 591 592 { 593 psDB *dbh; 594 595 dbh = psDBInit("localhost", "test", NULL, "test"); 596 if (!dbh) { 597 exit(EXIT_FAILURE); 598 } 599 600 if (!magicRunInsert(dbh, -64, "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z")) { 601 exit(EXIT_FAILURE); 602 } 603 604 psDBCleanup(dbh); 605 } 606 607 { 608 psDB *dbh; 609 610 dbh = psDBInit("localhost", "test", NULL, "test"); 611 if (!dbh) { 612 exit(EXIT_FAILURE); 613 } 614 615 if (!magicInputSkyfileInsert(dbh, -64, -64, -32)) { 616 exit(EXIT_FAILURE); 617 } 618 619 psDBCleanup(dbh); 620 } 621 622 { 623 psDB *dbh; 624 625 dbh = psDBInit("localhost", "test", NULL, "test"); 626 if (!dbh) { 627 exit(EXIT_FAILURE); 628 } 629 630 if (!magicTreeInsert(dbh, -64, "a string", "a string")) { 631 exit(EXIT_FAILURE); 632 } 633 634 psDBCleanup(dbh); 635 } 636 637 { 638 psDB *dbh; 639 640 dbh = psDBInit("localhost", "test", NULL, "test"); 641 if (!dbh) { 642 exit(EXIT_FAILURE); 643 } 644 645 if (!magicNodeResultInsert(dbh, -64, "a string", "a string")) { 646 exit(EXIT_FAILURE); 647 } 648 649 psDBCleanup(dbh); 650 } 651 652 { 653 psDB *dbh; 654 655 dbh = psDBInit("localhost", "test", NULL, "test"); 656 if (!dbh) { 657 exit(EXIT_FAILURE); 658 } 659 660 if (!magicMaskInsert(dbh, -64, "a string")) { 586 661 exit(EXIT_FAILURE); 587 662 }
Note:
See TracChangeset
for help on using the changeset viewer.
