IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11027 for trunk/ippdb/tests


Ignore:
Timestamp:
Jan 10, 2007, 6:44:06 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.71

Location:
trunk/ippdb/tests
Files:
5 edited

Legend:

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

    r11005 r11027  
    787787        p3PendingExpRow *object;
    788788
    789         object = p3PendingExpRowAlloc("a string", -32, -32, "a string"    );
     789        object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16    );
    790790
    791791        if (!object) {
     
    806806        }
    807807        if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) {
     808            psFree(object);
     809            exit(EXIT_FAILURE);
     810        }
    808811            psFree(object);
    809812            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/insert.c

    r11005 r11027  
    283283        }
    284284
    285         if (!p3PendingExpInsert(dbh, "a string", -32, -32, "a string")) {
     285        if (!p3PendingExpInsert(dbh, "a string", -32, -32, "a string", -16)) {
    286286            exit(EXIT_FAILURE);
    287287        }
  • trunk/ippdb/tests/insertobject.c

    r11005 r11027  
    410410        }
    411411
    412         object = p3PendingExpRowAlloc("a string", -32, -32, "a string");
     412        object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16);
    413413        if (!object) {
    414414            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/metadatafromobject.c

    r11005 r11027  
    933933        bool            status;
    934934
    935         object = p3PendingExpRowAlloc("a string", -32, -32, "a string");
     935        object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16);
    936936        if (!object) {
    937937            exit(EXIT_FAILURE);
     
    958958        }
    959959        if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) {
     960            psFree(md);
     961            exit(EXIT_FAILURE);
     962        }
    960963            psFree(md);
    961964            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/objectfrommetadata.c

    r11005 r11027  
    14371437            exit(EXIT_FAILURE);
    14381438        }
     1439            psFree(md);
     1440            exit(EXIT_FAILURE);
     1441        }
    14391442
    14401443        object = p3PendingExpObjectFromMetadata(md);
     
    14591462        }
    14601463        if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) {
     1464            psFree(object);
     1465            exit(EXIT_FAILURE);
     1466        }
    14611467            psFree(object);
    14621468            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.