IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2006, 6:14:10 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION to 0.0.30

File:
1 edited

Legend:

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

    r8368 r8380  
    608608        }
    609609
    610         object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", "a string");
     610        object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string");
    611611        if (!object) {
    612612            exit(EXIT_FAILURE);
     
    667667    {
    668668        psDB            *dbh;
    669         detResidImfileAnalysisRow *object;
    670 
    671         dbh = psDBInit("localhost", "test", NULL, "test");
    672         if (!dbh) {
    673             exit(EXIT_FAILURE);
    674         }
    675 
    676         object = detResidImfileAnalysisRowAlloc(-32, -32, "a string", "a string", "a string", "a string", "a string", "a string");
    677         if (!object) {
    678             exit(EXIT_FAILURE);
    679         }
    680 
    681         if (!detResidImfileAnalysisInsertObject(dbh, object)) {
    682             exit(EXIT_FAILURE);
    683         }
    684 
    685         psFree(object);
    686         psDBCleanup(dbh);
    687     }
    688 
    689     {
    690         psDB            *dbh;
    691         detResidExpAnalysisRow *object;
    692 
    693         dbh = psDBInit("localhost", "test", NULL, "test");
    694         if (!dbh) {
    695             exit(EXIT_FAILURE);
    696         }
    697 
    698         object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true, true);
    699         if (!object) {
    700             exit(EXIT_FAILURE);
    701         }
    702 
    703         if (!detResidExpAnalysisInsertObject(dbh, object)) {
     669        detResidImfileRow *object;
     670
     671        dbh = psDBInit("localhost", "test", NULL, "test");
     672        if (!dbh) {
     673            exit(EXIT_FAILURE);
     674        }
     675
     676        object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", "a string", "a string");
     677        if (!object) {
     678            exit(EXIT_FAILURE);
     679        }
     680
     681        if (!detResidImfileInsertObject(dbh, object)) {
     682            exit(EXIT_FAILURE);
     683        }
     684
     685        psFree(object);
     686        psDBCleanup(dbh);
     687    }
     688
     689    {
     690        psDB            *dbh;
     691        detResidExpRow *object;
     692
     693        dbh = psDBInit("localhost", "test", NULL, "test");
     694        if (!dbh) {
     695            exit(EXIT_FAILURE);
     696        }
     697
     698        object = detResidExpRowAlloc(-32, -32, "a string", "a string", true, true);
     699        if (!object) {
     700            exit(EXIT_FAILURE);
     701        }
     702
     703        if (!detResidExpInsertObject(dbh, object)) {
    704704            exit(EXIT_FAILURE);
    705705        }
Note: See TracChangeset for help on using the changeset viewer.