IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 28, 2006, 6:44:34 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.34

File:
1 edited

Legend:

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

    r8543 r8665  
    298298        }
    299299
    300         if (!p2DoneExpInsert(dbh, "a string", "a string", -32, -32)) {
    301             exit(EXIT_FAILURE);
    302         }
    303 
    304         psDBCleanup(dbh);
    305     }
    306 
    307     {
    308         psDB            *dbh;
    309 
    310         dbh = psDBInit("localhost", "test", NULL, "test");
    311         if (!dbh) {
    312             exit(EXIT_FAILURE);
    313         }
    314 
    315         if (!p2DoneImfileInsert(dbh, "a string", "a string", "a string", "a string", -32, -32)) {
    316             exit(EXIT_FAILURE);
    317         }
    318 
    319         psDBCleanup(dbh);
    320     }
    321 
    322     {
    323         psDB            *dbh;
    324 
    325         dbh = psDBInit("localhost", "test", NULL, "test");
    326         if (!dbh) {
    327             exit(EXIT_FAILURE);
    328         }
    329 
    330         if (!p3PendingExpInsert(dbh, "a string", "a string", -32, -32)) {
     300        if (!p2ProcessedExpInsert(dbh, "a string", -32, -32)) {
     301            exit(EXIT_FAILURE);
     302        }
     303
     304        psDBCleanup(dbh);
     305    }
     306
     307    {
     308        psDB            *dbh;
     309
     310        dbh = psDBInit("localhost", "test", NULL, "test");
     311        if (!dbh) {
     312            exit(EXIT_FAILURE);
     313        }
     314
     315        if (!p2ProcessedImfileInsert(dbh, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -32, -32)) {
     316            exit(EXIT_FAILURE);
     317        }
     318
     319        psDBCleanup(dbh);
     320    }
     321
     322    {
     323        psDB            *dbh;
     324
     325        dbh = psDBInit("localhost", "test", NULL, "test");
     326        if (!dbh) {
     327            exit(EXIT_FAILURE);
     328        }
     329
     330        if (!p3PendingExpInsert(dbh, "a string", -32, -32)) {
    331331            exit(EXIT_FAILURE);
    332332        }
Note: See TracChangeset for help on using the changeset viewer.