IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 2, 2006, 4:55:32 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jhoblitt/ippdb/tests/metadatafromobject.c

    r8089 r8094  
    907907        bool            status;
    908908
    909         object = p2PendingImfileRowAlloc("a string", "a string", "a string", "a string", "a string", -32, -32);
     909        object = p2PendingImfileRowAlloc("a string", "a string", "a string", "a string", -32, -32);
    910910        if (!object) {
    911911            exit(EXIT_FAILURE);
     
    931931            exit(EXIT_FAILURE);
    932932        }
    933         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    934             psFree(md);
    935             exit(EXIT_FAILURE);
    936         }
    937933        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
    938934            psFree(md);
     
    10331029        bool            status;
    10341030
    1035         object = p2DoneImfileRowAlloc("a string", "a string", "a string", "a string", "a string", -32, -32);
     1031        object = p2DoneImfileRowAlloc("a string", "a string", "a string", "a string", -32, -32);
    10361032        if (!object) {
    10371033            exit(EXIT_FAILURE);
     
    10571053            exit(EXIT_FAILURE);
    10581054        }
    1059         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    1060             psFree(md);
    1061             exit(EXIT_FAILURE);
    1062         }
    10631055        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
    10641056            psFree(md);
     
    12571249        bool            status;
    12581250
    1259         object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", "a string");
     1251        object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string");
    12601252        if (!object) {
    12611253            exit(EXIT_FAILURE);
     
    12851277            exit(EXIT_FAILURE);
    12861278        }
    1287         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    1288             psFree(md);
    1289             exit(EXIT_FAILURE);
    1290         }
    12911279        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
    12921280            psFree(md);
     
    13021290        bool            status;
    13031291
    1304         object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string");
     1292        object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string");
    13051293        if (!object) {
    13061294            exit(EXIT_FAILURE);
     
    13301318            exit(EXIT_FAILURE);
    13311319        }
    1332         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    1333             psFree(md);
    1334             exit(EXIT_FAILURE);
    1335         }
    13361320        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
    13371321            psFree(md);
     
    13471331        bool            status;
    13481332
    1349         object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string");
     1333        object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", "a string");
    13501334        if (!object) {
    13511335            exit(EXIT_FAILURE);
     
    13751359            exit(EXIT_FAILURE);
    13761360        }
    1377         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    1378             psFree(md);
    1379             exit(EXIT_FAILURE);
    1380         }
    13811361        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
    13821362            psFree(md);
     
    14251405        bool            status;
    14261406
    1427         object = detMasterImfileRowAlloc(-32, "a string", "a string", "a string", "a string");
     1407        object = detMasterImfileRowAlloc(-32, "a string", "a string", "a string");
    14281408        if (!object) {
    14291409            exit(EXIT_FAILURE);
     
    14491429            exit(EXIT_FAILURE);
    14501430        }
    1451         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    1452             psFree(md);
    1453             exit(EXIT_FAILURE);
    1454         }
    14551431        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
    14561432            psFree(md);
     
    14661442        bool            status;
    14671443
    1468         object = detResidImfileAnalysisRowAlloc(-32, -32, "a string", "a string", "a string", "a string");
     1444        object = detResidImfileAnalysisRowAlloc(-32, -32, "a string", "a string", "a string");
    14691445        if (!object) {
    14701446            exit(EXIT_FAILURE);
     
    14941470            exit(EXIT_FAILURE);
    14951471        }
    1496         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    1497             psFree(md);
    1498             exit(EXIT_FAILURE);
    1499         }
    15001472        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
    15011473            psFree(md);
     
    15111483        bool            status;
    15121484
    1513         object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", "a string", true);
     1485        object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true);
    15141486        if (!object) {
    15151487            exit(EXIT_FAILURE);
     
    15321504        }
    15331505        if (strncmp(psMetadataLookupPtr(&status, md, "exp_id"), "a string", MAX_STRING_LENGTH)) {
    1534             psFree(md);
    1535             exit(EXIT_FAILURE);
    1536         }
    1537         if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
    15381506            psFree(md);
    15391507            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.