IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 20, 2006, 1:58:03 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.57

File:
1 edited

Legend:

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

    r10060 r10110  
    1010    {
    1111        psMetadata      *md;
     12        expTagCounterRow *object;
     13        bool            status;
     14
     15        object = expTagCounterRowAlloc(64);
     16        if (!object) {
     17            exit(EXIT_FAILURE);
     18        }
     19
     20        md = expTagCounterMetadataFromObject(object);
     21        if (!md) {
     22            exit(EXIT_FAILURE);
     23        }
     24
     25        psFree(object);
     26
     27            psFree(md);
     28            exit(EXIT_FAILURE);
     29        }
     30
     31        psFree(md);
     32    }
     33
     34    {
     35        psMetadata      *md;
    1236        summitExpRow    *object;
    1337        bool            status;
     
    274298        bool            status;
    275299
    276         object = newExpRowAlloc(64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32);
     300        object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32);
    277301        if (!object) {
    278302            exit(EXIT_FAILURE);
     
    286310        psFree(object);
    287311
     312        if (strncmp(psMetadataLookupPtr(&status, md, "exp_tag"), "a string", MAX_STRING_LENGTH)) {
    288313            psFree(md);
    289314            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.