IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2008, 3:04:07 PM (18 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.31

File:
1 edited

Legend:

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

    r16616 r16731  
    12831283        bool            status;
    12841284
    1285         object = warpRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z");
     1285        object = warpRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", true);
    12861286        if (!object) {
    12871287            exit(EXIT_FAILURE);
     
    12981298            exit(EXIT_FAILURE);
    12991299        }
     1300            psFree(md);
     1301            exit(EXIT_FAILURE);
     1302        }
    13001303        if (strncmp(psMetadataLookupPtr(&status, md, "mode"), "a string", MAX_STRING_LENGTH)) {
    13011304            psFree(md);
     
    13291332            exit(EXIT_FAILURE);
    13301333        }
    1331 
    1332         psFree(md);
    1333     }
    1334 
    1335     {
    1336         psMetadata      *md;
    1337         warpInputExpRow *object;
    1338         bool            status;
    1339 
    1340         object = warpInputExpRowAlloc(-64, -64, true);
    1341         if (!object) {
    1342             exit(EXIT_FAILURE);
    1343         }
    1344 
    1345         md = warpInputExpMetadataFromObject(object);
    1346         if (!md) {
    1347             exit(EXIT_FAILURE);
    1348         }
    1349 
    1350         psFree(object);
    1351 
    1352             psFree(md);
    1353             exit(EXIT_FAILURE);
    1354         }
    1355             psFree(md);
    1356             exit(EXIT_FAILURE);
    1357         }
    13581334        if (!psMetadataLookupBool(&status, md, "magiced") == true) {
    13591335            psFree(md);
     
    30673043        bool            status;
    30683044
    3069         object = flatcorrRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string");
     3045        object = flatcorrRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string");
    30703046        if (!object) {
    30713047            exit(EXIT_FAILURE);
     
    31033079        }
    31043080        if (strncmp(psMetadataLookupPtr(&status, md, "stats"), "a string", MAX_STRING_LENGTH)) {
     3081            psFree(md);
     3082            exit(EXIT_FAILURE);
     3083        }
     3084        if (strncmp(psMetadataLookupPtr(&status, md, "region"), "a string", MAX_STRING_LENGTH)) {
    31053085            psFree(md);
    31063086            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.