IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10748 for trunk/ippdb/tests


Ignore:
Timestamp:
Dec 15, 2006, 12:20:35 PM (20 years ago)
Author:
jhoblitt
Message:

VESRION 0.0.67

Location:
trunk/ippdb/tests
Files:
11 edited

Legend:

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

    r10681 r10748  
    14901490
    14911491    {
    1492         p4PWarpedImfileRow *object;
    1493 
    1494         object = p4PWarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string"    );
     1492        p4WarpedImfileRow *object;
     1493
     1494        object = p4WarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string"    );
    14951495
    14961496        if (!object) {
  • trunk/ippdb/tests/createtable.c

    r10681 r10748  
    523523        }
    524524
    525         if(!p4PWarpedImfileCreateTable(dbh)) {
     525        if(!p4WarpedImfileCreateTable(dbh)) {
    526526            exit(EXIT_FAILURE);
    527527        }
  • trunk/ippdb/tests/dbcleanup.c

    r10681 r10748  
    4545    p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4Run");
    4646    p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4InputImfile");
    47     p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4PWarpedImfile");
     47    p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4WarpedImfile");
    4848    p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4PStackedImfile");
    4949    p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4PDiffImfile");
  • trunk/ippdb/tests/dbsetup.c

    r10681 r10748  
    115115    p4InputImfileCreateTable(dbh);
    116116
    117     p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4PWarpedImfile");
    118     p4PWarpedImfileCreateTable(dbh);
     117    p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4WarpedImfile");
     118    p4WarpedImfileCreateTable(dbh);
    119119
    120120    p_psDBRunQuery(dbh, "DROP TABLE IF EXISTS p4PStackedImfile");
  • trunk/ippdb/tests/droptable.c

    r10681 r10748  
    523523        }
    524524
    525         if (!p4PWarpedImfileDropTable(dbh)) {
     525        if (!p4WarpedImfileDropTable(dbh)) {
    526526            exit(EXIT_FAILURE);
    527527        }
  • trunk/ippdb/tests/insert.c

    r10681 r10748  
    523523        }
    524524
    525         if (!p4PWarpedImfileInsert(dbh, -32, "a string", -32, "a string", "a string", "a string", "a string")) {
     525        if (!p4WarpedImfileInsert(dbh, -32, "a string", -32, "a string", "a string", "a string", "a string")) {
    526526            exit(EXIT_FAILURE);
    527527        }
  • trunk/ippdb/tests/insertfits.c

    r10681 r10748  
    908908        }
    909909
    910         if (!p4PWarpedImfileInsertFits(dbh, fits)) {
     910        if (!p4WarpedImfileInsertFits(dbh, fits)) {
    911911            exit(EXIT_FAILURE);
    912912        }
  • trunk/ippdb/tests/insertobject.c

    r10681 r10748  
    755755    {
    756756        psDB            *dbh;
    757         p4PWarpedImfileRow *object;
    758 
    759         dbh = psDBInit("localhost", "test", NULL, "test");
    760         if (!dbh) {
    761             exit(EXIT_FAILURE);
    762         }
    763 
    764         object = p4PWarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string");
    765         if (!object) {
    766             exit(EXIT_FAILURE);
    767         }
    768 
    769         if (!p4PWarpedImfileInsertObject(dbh, object)) {
     757        p4WarpedImfileRow *object;
     758
     759        dbh = psDBInit("localhost", "test", NULL, "test");
     760        if (!dbh) {
     761            exit(EXIT_FAILURE);
     762        }
     763
     764        object = p4WarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string");
     765        if (!object) {
     766            exit(EXIT_FAILURE);
     767        }
     768
     769        if (!p4WarpedImfileInsertObject(dbh, object)) {
    770770            exit(EXIT_FAILURE);
    771771        }
  • trunk/ippdb/tests/metadatafromobject.c

    r10681 r10748  
    17631763    {
    17641764        psMetadata      *md;
    1765         p4PWarpedImfileRow *object;
    1766         bool            status;
    1767 
    1768         object = p4PWarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string");
    1769         if (!object) {
    1770             exit(EXIT_FAILURE);
    1771         }
    1772 
    1773         md = p4PWarpedImfileMetadataFromObject(object);
     1765        p4WarpedImfileRow *object;
     1766        bool            status;
     1767
     1768        object = p4WarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string");
     1769        if (!object) {
     1770            exit(EXIT_FAILURE);
     1771        }
     1772
     1773        md = p4WarpedImfileMetadataFromObject(object);
    17741774        if (!md) {
    17751775            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/objectfrommetadata.c

    r10681 r10748  
    27002700    {
    27012701        psMetadata      *md;
    2702         p4PWarpedImfileRow *object;
     2702        p4WarpedImfileRow *object;
    27032703
    27042704        md = psMetadataAlloc();
     
    27322732        }
    27332733
    2734         object = p4PWarpedImfileObjectFromMetadata(md);
     2734        object = p4WarpedImfileObjectFromMetadata(md);
    27352735        if (!object) {
    27362736            psFree(md);
  • trunk/ippdb/tests/selectrowsfits.c

    r10681 r10748  
    769769        }
    770770
    771         if (!p4PWarpedImfileSelectRowsFits(dbh, fits, NULL, 1)) {
     771        if (!p4WarpedImfileSelectRowsFits(dbh, fits, NULL, 1)) {
    772772            exit(EXIT_FAILURE);
    773773        }
Note: See TracChangeset for help on using the changeset viewer.