IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2006, 1:55:03 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.32

File:
1 edited

Legend:

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

    r8380 r8528  
    520520        }
    521521
    522         object = detInputExpRowAlloc(-32, -32, "a string", true, true);
     522        object = detInputExpRowAlloc(-32, -32, "a string", true);
    523523        if (!object) {
    524524            exit(EXIT_FAILURE);
     
    564564        }
    565565
    566         object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string");
     566        object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64);
    567567        if (!object) {
    568568            exit(EXIT_FAILURE);
     
    674674        }
    675675
    676         object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", "a string", "a string");
     676        object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string");
    677677        if (!object) {
    678678            exit(EXIT_FAILURE);
     
    696696        }
    697697
    698         object = detResidExpRowAlloc(-32, -32, "a string", "a string", true, true);
     698        object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true);
    699699        if (!object) {
    700700            exit(EXIT_FAILURE);
     
    702702
    703703        if (!detResidExpInsertObject(dbh, object)) {
     704            exit(EXIT_FAILURE);
     705        }
     706
     707        psFree(object);
     708        psDBCleanup(dbh);
     709    }
     710
     711    {
     712        psDB            *dbh;
     713        detRunSummaryRow *object;
     714
     715        dbh = psDBInit("localhost", "test", NULL, "test");
     716        if (!dbh) {
     717            exit(EXIT_FAILURE);
     718        }
     719
     720        object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true);
     721        if (!object) {
     722            exit(EXIT_FAILURE);
     723        }
     724
     725        if (!detRunSummaryInsertObject(dbh, object)) {
    704726            exit(EXIT_FAILURE);
    705727        }
Note: See TracChangeset for help on using the changeset viewer.