IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2007, 12:36:18 PM (19 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.15 (take 2)

File:
1 edited

Legend:

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

    r12231 r12236  
    709709        bool            status;
    710710
    711         object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string");
     711        object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string", "a string");
    712712        if (!object) {
    713713            exit(EXIT_FAILURE);
     
    731731            exit(EXIT_FAILURE);
    732732        }
     733        if (strncmp(psMetadataLookupPtr(&status, md, "workdir"), "a string", MAX_STRING_LENGTH)) {
     734            psFree(md);
     735            exit(EXIT_FAILURE);
     736        }
    733737        if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) {
    734738            psFree(md);
     
    832836        bool            status;
    833837
    834         object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string");
     838        object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string");
    835839        if (!object) {
    836840            exit(EXIT_FAILURE);
     
    850854            exit(EXIT_FAILURE);
    851855        }
     856        if (strncmp(psMetadataLookupPtr(&status, md, "workdir"), "a string", MAX_STRING_LENGTH)) {
     857            psFree(md);
     858            exit(EXIT_FAILURE);
     859        }
    852860        if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) {
    853861            psFree(md);
     
    875883        bool            status;
    876884
    877         object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16);
     885        object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16);
    878886        if (!object) {
    879887            exit(EXIT_FAILURE);
     
    890898            exit(EXIT_FAILURE);
    891899        }
     900            psFree(md);
     901            exit(EXIT_FAILURE);
     902        }
     903        if (strncmp(psMetadataLookupPtr(&status, md, "workdir"), "a string", MAX_STRING_LENGTH)) {
    892904            psFree(md);
    893905            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.