IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9970 for trunk/ippdb/tests


Ignore:
Timestamp:
Nov 13, 2006, 5:15:56 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.55

Location:
trunk/ippdb/tests
Files:
5 edited

Legend:

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

    r9788 r9970  
    1111        summitExpRow    *object;
    1212
    13         object = summitExpRowAlloc("a string", "a string", "a string", "a string", "a string"    );
     13        object = summitExpRowAlloc("a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string"    );
    1414
    1515        if (!object) {
     
    2626        }
    2727        if (strncmp(object->telescope, "a string", MAX_STRING_LENGTH)) {
     28            psFree(object);
     29            exit(EXIT_FAILURE);
     30        }
    2831            psFree(object);
    2932            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/insert.c

    r9788 r9970  
    1313        }
    1414
    15         if (!summitExpInsert(dbh, "a string", "a string", "a string", "a string", "a string")) {
     15        if (!summitExpInsert(dbh, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string")) {
    1616            exit(EXIT_FAILURE);
    1717        }
  • trunk/ippdb/tests/insertobject.c

    r9788 r9970  
    1414        }
    1515
    16         object = summitExpRowAlloc("a string", "a string", "a string", "a string", "a string");
     16        object = summitExpRowAlloc("a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string");
    1717        if (!object) {
    1818            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/metadatafromobject.c

    r9788 r9970  
    1313        bool            status;
    1414
    15         object = summitExpRowAlloc("a string", "a string", "a string", "a string", "a string");
     15        object = summitExpRowAlloc("a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string");
    1616        if (!object) {
    1717            exit(EXIT_FAILURE);
     
    3434        }
    3535        if (strncmp(psMetadataLookupPtr(&status, md, "telescope"), "a string", MAX_STRING_LENGTH)) {
     36            psFree(md);
     37            exit(EXIT_FAILURE);
     38        }
    3639            psFree(md);
    3740            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/objectfrommetadata.c

    r9788 r9970  
    2525            exit(EXIT_FAILURE);
    2626        }
     27            psFree(md);
     28            exit(EXIT_FAILURE);
     29        }
    2730        if (!psMetadataAddStr(md, PS_LIST_TAIL, "exp_type", 0, NULL, "a string")) {
    2831            psFree(md);
     
    5154        }
    5255        if (strncmp(object->telescope, "a string", MAX_STRING_LENGTH)) {
     56            psFree(object);
     57            exit(EXIT_FAILURE);
     58        }
    5359            psFree(object);
    5460            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.