IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 25, 2008, 12:32:53 PM (18 years ago)
Author:
jhoblitt
Message:

add warpRun.label

File:
1 edited

Legend:

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

    r16731 r17142  
    12831283        bool            status;
    12841284
    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);
     1285        object = warpRunRowAlloc(-64, -64, "a string", "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);
     
    13171317            exit(EXIT_FAILURE);
    13181318        }
     1319        if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) {
     1320            psFree(md);
     1321            exit(EXIT_FAILURE);
     1322        }
    13191323        if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) {
    13201324            psFree(md);
     
    31623166        bool            status;
    31633167
    3164         object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string");
     3168        object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", -16);
    31653169        if (!object) {
    31663170            exit(EXIT_FAILURE);
     
    31923196            exit(EXIT_FAILURE);
    31933197        }
     3198            psFree(md);
     3199            exit(EXIT_FAILURE);
     3200        }
    31943201
    31953202        psFree(md);
     
    32013208        bool            status;
    32023209
    3203         object = pstampJobRowAlloc(-64, -64, "a string", -32, "a string", "a string", "a string");
     3210        object = pstampJobRowAlloc(-64, -64, "a string", "a string", -32, "a string", "a string", "a string");
    32043211        if (!object) {
    32053212            exit(EXIT_FAILURE);
     
    32203227        }
    32213228        if (strncmp(psMetadataLookupPtr(&status, md, "state"), "a string", MAX_STRING_LENGTH)) {
     3229            psFree(md);
     3230            exit(EXIT_FAILURE);
     3231        }
     3232        if (strncmp(psMetadataLookupPtr(&status, md, "jobType"), "a string", MAX_STRING_LENGTH)) {
    32223233            psFree(md);
    32233234            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.