IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 19, 2007, 3:59:06 PM (19 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/insert.c

    r15003 r15343  
    1313        }
    1414
     15        if (!pzDataStoreInsert(dbh, "a string", "a string", "a string")) {
     16            exit(EXIT_FAILURE);
     17        }
     18
     19        psDBCleanup(dbh);
     20    }
     21
     22    {
     23        psDB            *dbh;
     24
     25        dbh = psDBInit("localhost", "test", NULL, "test");
     26        if (!dbh) {
     27            exit(EXIT_FAILURE);
     28        }
     29
    1530        if (!summitExpInsert(dbh, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", -32)) {
    1631            exit(EXIT_FAILURE);
     
    598613        }
    599614
     615        if (!detCorrectedExpInsert(dbh, -64, -64, "a string", -64, "a string", "a string", "a string", -16)) {
     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 (!detCorrectedImfileInsert(dbh, -64, -64, "a string", "a string", "a string", -16)) {
     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
    600645        if (!magicRunInsert(dbh, -64, "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z")) {
    601646            exit(EXIT_FAILURE);
     
    659704
    660705        if (!magicMaskInsert(dbh, -64, "a string")) {
     706            exit(EXIT_FAILURE);
     707        }
     708
     709        psDBCleanup(dbh);
     710    }
     711
     712    {
     713        psDB            *dbh;
     714
     715        dbh = psDBInit("localhost", "test", NULL, "test");
     716        if (!dbh) {
     717            exit(EXIT_FAILURE);
     718        }
     719
     720        if (!magicSkyfileMaskInsert(dbh, -64, -64, "a string")) {
    661721            exit(EXIT_FAILURE);
    662722        }
Note: See TracChangeset for help on using the changeset viewer.