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/alloc.c

    r16731 r17142  
    11721172        warpRunRow      *object;
    11731173
    1174         object = warpRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", true    );
     1174        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    );
    11751175
    11761176        if (!object) {
     
    12021202            exit(EXIT_FAILURE);
    12031203        }
     1204        if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) {
     1205            psFree(object);
     1206            exit(EXIT_FAILURE);
     1207        }
    12041208        if (strncmp(object->dvodb, "a string", MAX_STRING_LENGTH)) {
    12051209            psFree(object);
     
    28452849        pstampRequestRow *object;
    28462850
    2847         object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string"    );
     2851        object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", -16    );
    28482852
    28492853        if (!object) {
     
    28712875            exit(EXIT_FAILURE);
    28722876        }
     2877        if (!object->resultsFile == -16) {
     2878            psFree(object);
     2879            exit(EXIT_FAILURE);
     2880        }
    28732881
    28742882        psFree(object);
     
    28782886        pstampJobRow    *object;
    28792887
    2880         object = pstampJobRowAlloc(-64, -64, "a string", -32, "a string", "a string", "a string"    );
     2888        object = pstampJobRowAlloc(-64, -64, "a string", "a string", -32, "a string", "a string", "a string"    );
    28812889
    28822890        if (!object) {
     
    28932901        }
    28942902        if (strncmp(object->state, "a string", MAX_STRING_LENGTH)) {
     2903            psFree(object);
     2904            exit(EXIT_FAILURE);
     2905        }
     2906        if (strncmp(object->jobType, "a string", MAX_STRING_LENGTH)) {
    28952907            psFree(object);
    28962908            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.