IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 2, 2006, 4:55:32 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jhoblitt/ippdb/tests/insert.c

    r8089 r8094  
    283283        }
    284284
    285         if (!p2PendingImfileInsert(dbh, "a string", "a string", "a string", "a string", "a string", -32, -32)) {
     285        if (!p2PendingImfileInsert(dbh, "a string", "a string", "a string", "a string", -32, -32)) {
    286286            exit(EXIT_FAILURE);
    287287        }
     
    313313        }
    314314
    315         if (!p2DoneImfileInsert(dbh, "a string", "a string", "a string", "a string", "a string", -32, -32)) {
     315        if (!p2DoneImfileInsert(dbh, "a string", "a string", "a string", "a string", -32, -32)) {
    316316            exit(EXIT_FAILURE);
    317317        }
     
    373373        }
    374374
    375         if (!detProcessedImfileInsert(dbh, -32, "a string", "a string", "a string", "a string", "a string")) {
    376             exit(EXIT_FAILURE);
    377         }
    378 
    379         psDBCleanup(dbh);
    380     }
    381 
    382     {
    383         psDB            *dbh;
    384 
    385         dbh = psDBInit("localhost", "test", NULL, "test");
    386         if (!dbh) {
    387             exit(EXIT_FAILURE);
    388         }
    389 
    390         if (!detStackedImfileInsert(dbh, -32, -32, "a string", "a string", "a string", "a string")) {
    391             exit(EXIT_FAILURE);
    392         }
    393 
    394         psDBCleanup(dbh);
    395     }
    396 
    397     {
    398         psDB            *dbh;
    399 
    400         dbh = psDBInit("localhost", "test", NULL, "test");
    401         if (!dbh) {
    402             exit(EXIT_FAILURE);
    403         }
    404 
    405         if (!detNormalizedImfileInsert(dbh, -32, -32, "a string", "a string", "a string", "a string")) {
     375        if (!detProcessedImfileInsert(dbh, -32, "a string", "a string", "a string", "a string")) {
     376            exit(EXIT_FAILURE);
     377        }
     378
     379        psDBCleanup(dbh);
     380    }
     381
     382    {
     383        psDB            *dbh;
     384
     385        dbh = psDBInit("localhost", "test", NULL, "test");
     386        if (!dbh) {
     387            exit(EXIT_FAILURE);
     388        }
     389
     390        if (!detStackedImfileInsert(dbh, -32, -32, "a string", "a string", "a string")) {
     391            exit(EXIT_FAILURE);
     392        }
     393
     394        psDBCleanup(dbh);
     395    }
     396
     397    {
     398        psDB            *dbh;
     399
     400        dbh = psDBInit("localhost", "test", NULL, "test");
     401        if (!dbh) {
     402            exit(EXIT_FAILURE);
     403        }
     404
     405        if (!detNormalizedImfileInsert(dbh, -32, -32, "a string", "a string", "a string")) {
    406406            exit(EXIT_FAILURE);
    407407        }
     
    433433        }
    434434
    435         if (!detMasterImfileInsert(dbh, -32, "a string", "a string", "a string", "a string")) {
    436             exit(EXIT_FAILURE);
    437         }
    438 
    439         psDBCleanup(dbh);
    440     }
    441 
    442     {
    443         psDB            *dbh;
    444 
    445         dbh = psDBInit("localhost", "test", NULL, "test");
    446         if (!dbh) {
    447             exit(EXIT_FAILURE);
    448         }
    449 
    450         if (!detResidImfileAnalysisInsert(dbh, -32, -32, "a string", "a string", "a string", "a string")) {
    451             exit(EXIT_FAILURE);
    452         }
    453 
    454         psDBCleanup(dbh);
    455     }
    456 
    457     {
    458         psDB            *dbh;
    459 
    460         dbh = psDBInit("localhost", "test", NULL, "test");
    461         if (!dbh) {
    462             exit(EXIT_FAILURE);
    463         }
    464 
    465         if (!detResidExpAnalysisInsert(dbh, -32, -32, "a string", "a string", "a string", true)) {
     435        if (!detMasterImfileInsert(dbh, -32, "a string", "a string", "a string")) {
     436            exit(EXIT_FAILURE);
     437        }
     438
     439        psDBCleanup(dbh);
     440    }
     441
     442    {
     443        psDB            *dbh;
     444
     445        dbh = psDBInit("localhost", "test", NULL, "test");
     446        if (!dbh) {
     447            exit(EXIT_FAILURE);
     448        }
     449
     450        if (!detResidImfileAnalysisInsert(dbh, -32, -32, "a string", "a string", "a string")) {
     451            exit(EXIT_FAILURE);
     452        }
     453
     454        psDBCleanup(dbh);
     455    }
     456
     457    {
     458        psDB            *dbh;
     459
     460        dbh = psDBInit("localhost", "test", NULL, "test");
     461        if (!dbh) {
     462            exit(EXIT_FAILURE);
     463        }
     464
     465        if (!detResidExpAnalysisInsert(dbh, -32, -32, "a string", "a string", true)) {
    466466            exit(EXIT_FAILURE);
    467467        }
Note: See TracChangeset for help on using the changeset viewer.