IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2006, 1:04:56 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.13

File:
1 edited

Legend:

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

    r8103 r8148  
    21952195            exit(EXIT_FAILURE);
    21962196        }
     2197        if (!psMetadataAddStr(md, PS_LIST_TAIL, "uri", 0, NULL, "a string")) {
     2198            psFree(md);
     2199            exit(EXIT_FAILURE);
     2200        }
     2201        if (!psMetadataAddStr(md, PS_LIST_TAIL, "b1_uri", 0, NULL, "a string")) {
     2202            psFree(md);
     2203            exit(EXIT_FAILURE);
     2204        }
     2205        if (!psMetadataAddStr(md, PS_LIST_TAIL, "b2_uri", 0, NULL, "a string")) {
     2206            psFree(md);
     2207            exit(EXIT_FAILURE);
     2208        }
    21972209
    21982210        object = detResidImfileAnalysisObjectFromMetadata(md);
     
    22212233        }
    22222234        if (strncmp(object->recipe, "a string", MAX_STRING_LENGTH)) {
     2235            psFree(object);
     2236            exit(EXIT_FAILURE);
     2237        }
     2238        if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) {
     2239            psFree(object);
     2240            exit(EXIT_FAILURE);
     2241        }
     2242        if (strncmp(object->b1_uri, "a string", MAX_STRING_LENGTH)) {
     2243            psFree(object);
     2244            exit(EXIT_FAILURE);
     2245        }
     2246        if (strncmp(object->b2_uri, "a string", MAX_STRING_LENGTH)) {
    22232247            psFree(object);
    22242248            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.