IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2008, 10:30:49 AM (18 years ago)
Author:
jhoblitt
Message:

update

File:
1 edited

Legend:

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

    r15792 r16177  
    303303        bool            status;
    304304
    305         object = newExpRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string");
     305        object = newExpRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string");
    306306        if (!object) {
    307307            exit(EXIT_FAILURE);
     
    346346            exit(EXIT_FAILURE);
    347347        }
     348        if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) {
     349            psFree(md);
     350            exit(EXIT_FAILURE);
     351        }
     352        if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) {
     353            psFree(md);
     354            exit(EXIT_FAILURE);
     355        }
     356        if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) {
     357            psFree(md);
     358            exit(EXIT_FAILURE);
     359        }
    348360
    349361        psFree(md);
     
    387399        bool            status;
    388400
    389         object = rawExpRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", "a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", 32.32, -16);
     401        object = rawExpRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", 32.32, -16);
    390402        if (!object) {
    391403            exit(EXIT_FAILURE);
     
    437449            exit(EXIT_FAILURE);
    438450        }
     451        if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) {
     452            psFree(md);
     453            exit(EXIT_FAILURE);
     454        }
     455        if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) {
     456            psFree(md);
     457            exit(EXIT_FAILURE);
     458        }
     459        if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) {
     460            psFree(md);
     461            exit(EXIT_FAILURE);
     462        }
    439463        if (strncmp(psMetadataLookupPtr(&status, md, "filter"), "a string", MAX_STRING_LENGTH)) {
    440464            psFree(md);
     
    874898        bool            status;
    875899
    876         object = chipRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string");
     900        object = chipRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string");
    877901        if (!object) {
    878902            exit(EXIT_FAILURE);
     
    920944            exit(EXIT_FAILURE);
    921945        }
     946        if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) {
     947            psFree(md);
     948            exit(EXIT_FAILURE);
     949        }
     950        if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) {
     951            psFree(md);
     952            exit(EXIT_FAILURE);
     953        }
    922954
    923955        psFree(md);
     
    10681100        bool            status;
    10691101
    1070         object = camRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string");
     1102        object = camRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string");
    10711103        if (!object) {
    10721104            exit(EXIT_FAILURE);
     
    11141146            exit(EXIT_FAILURE);
    11151147        }
     1148        if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) {
     1149            psFree(md);
     1150            exit(EXIT_FAILURE);
     1151        }
     1152        if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) {
     1153            psFree(md);
     1154            exit(EXIT_FAILURE);
     1155        }
    11161156
    11171157        psFree(md);
     
    12381278        bool            status;
    12391279
    1240         object = warpRunRowAlloc(-64, "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z");
     1280        object = warpRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z");
    12411281        if (!object) {
    12421282            exit(EXIT_FAILURE);
     
    12651305            exit(EXIT_FAILURE);
    12661306        }
     1307        if (strncmp(psMetadataLookupPtr(&status, md, "workdir_state"), "a string", MAX_STRING_LENGTH)) {
     1308            psFree(md);
     1309            exit(EXIT_FAILURE);
     1310        }
    12671311        if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) {
     1312            psFree(md);
     1313            exit(EXIT_FAILURE);
     1314        }
     1315        if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) {
     1316            psFree(md);
     1317            exit(EXIT_FAILURE);
     1318        }
     1319        if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) {
    12681320            psFree(md);
    12691321            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.