IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 2, 2007, 4:24:02 PM (19 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.14

File:
1 edited

Legend:

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

    r12130 r12202  
    208208        }
    209209
    210         if (!chipPendingImfileInsert(dbh, -64, "a string", -64, "a string", "a string", "a string")) {
    211             exit(EXIT_FAILURE);
    212         }
    213 
    214         psDBCleanup(dbh);
    215     }
    216 
    217     {
    218         psDB            *dbh;
    219 
    220         dbh = psDBInit("localhost", "test", NULL, "test");
    221         if (!dbh) {
    222             exit(EXIT_FAILURE);
    223         }
    224 
    225         if (!chipProcessedExpInsert(dbh, -64, "a string", -64, "a string", "a string", "a string")) {
     210        if (!chipPendingImfileInsert(dbh, -64, "a string", "a string")) {
     211            exit(EXIT_FAILURE);
     212        }
     213
     214        psDBCleanup(dbh);
     215    }
     216
     217    {
     218        psDB            *dbh;
     219
     220        dbh = psDBInit("localhost", "test", NULL, "test");
     221        if (!dbh) {
     222            exit(EXIT_FAILURE);
     223        }
     224
     225        if (!chipProcessedExpInsert(dbh, -64, "a string", -64, "a string", "a string", "a string", "a string")) {
    226226            exit(EXIT_FAILURE);
    227227        }
     
    253253        }
    254254
    255         if (!chipProcessedImfileInsert(dbh, -64, "a string", -64, "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", -16)) {
    256             exit(EXIT_FAILURE);
    257         }
    258 
    259         psDBCleanup(dbh);
    260     }
    261 
    262     {
    263         psDB            *dbh;
    264 
    265         dbh = psDBInit("localhost", "test", NULL, "test");
    266         if (!dbh) {
    267             exit(EXIT_FAILURE);
    268         }
    269 
    270         if (!camPendingExpInsert(dbh, -64, -64, "a string", "a string", "a string")) {
    271             exit(EXIT_FAILURE);
    272         }
    273 
    274         psDBCleanup(dbh);
    275     }
    276 
    277     {
    278         psDB            *dbh;
    279 
    280         dbh = psDBInit("localhost", "test", NULL, "test");
    281         if (!dbh) {
    282             exit(EXIT_FAILURE);
    283         }
    284 
    285         if (!camProcessedExpInsert(dbh, -64, -64, "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16, "a string", "a string")) {
     255        if (!chipProcessedImfileInsert(dbh, -64, "a string", "a string", 64.64, 64.64, 64.64, "a string", -16)) {
     256            exit(EXIT_FAILURE);
     257        }
     258
     259        psDBCleanup(dbh);
     260    }
     261
     262    {
     263        psDB            *dbh;
     264
     265        dbh = psDBInit("localhost", "test", NULL, "test");
     266        if (!dbh) {
     267            exit(EXIT_FAILURE);
     268        }
     269
     270        if (!camPendingExpInsert(dbh, -64, -64, "a string", "a string", "a string", "a string")) {
     271            exit(EXIT_FAILURE);
     272        }
     273
     274        psDBCleanup(dbh);
     275    }
     276
     277    {
     278        psDB            *dbh;
     279
     280        dbh = psDBInit("localhost", "test", NULL, "test");
     281        if (!dbh) {
     282            exit(EXIT_FAILURE);
     283        }
     284
     285        if (!camProcessedExpInsert(dbh, -64, -64, "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16)) {
    286286            exit(EXIT_FAILURE);
    287287        }
Note: See TracChangeset for help on using the changeset viewer.