IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 26, 2007, 1:56:44 PM (19 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.13

File:
1 edited

Legend:

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

    r12033 r12061  
    791791        bool            status;
    792792
    793         object = chipProcessedImfileRowAlloc("a string", -32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16);
     793        object = chipProcessedImfileRowAlloc("a string", -32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", -16);
    794794        if (!object) {
    795795            exit(EXIT_FAILURE);
     
    839839            exit(EXIT_FAILURE);
    840840        }
    841         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    842             psFree(md);
    843             exit(EXIT_FAILURE);
    844         }
    845         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     841        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    846842            psFree(md);
    847843            exit(EXIT_FAILURE);
     
    904900        bool            status;
    905901
    906         object = camProcessedExpRowAlloc("a string", -32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", "a string", 32.32, 32.32, -16, "a string", "a string");
     902        object = camProcessedExpRowAlloc("a string", -32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16, "a string", "a string");
    907903        if (!object) {
    908904            exit(EXIT_FAILURE);
     
    964960            exit(EXIT_FAILURE);
    965961        }
    966         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    967             psFree(md);
    968             exit(EXIT_FAILURE);
    969         }
    970         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     962        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    971963            psFree(md);
    972964            exit(EXIT_FAILURE);
     
    11861178        bool            status;
    11871179
    1188         object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16);
     1180        object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", -16);
    11891181        if (!object) {
    11901182            exit(EXIT_FAILURE);
     
    12301222            exit(EXIT_FAILURE);
    12311223        }
    1232         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    1233             psFree(md);
    1234             exit(EXIT_FAILURE);
    1235         }
    1236         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     1224        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    12371225            psFree(md);
    12381226            exit(EXIT_FAILURE);
     
    12501238        bool            status;
    12511239
    1252         object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16);
     1240        object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", -16);
    12531241        if (!object) {
    12541242            exit(EXIT_FAILURE);
     
    12861274            exit(EXIT_FAILURE);
    12871275        }
    1288         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    1289             psFree(md);
    1290             exit(EXIT_FAILURE);
    1291         }
    1292         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     1276        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    12931277            psFree(md);
    12941278            exit(EXIT_FAILURE);
     
    14021386        bool            status;
    14031387
    1404         object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16);
     1388        object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", -16);
    14051389        if (!object) {
    14061390            exit(EXIT_FAILURE);
     
    14421426            exit(EXIT_FAILURE);
    14431427        }
    1444         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    1445             psFree(md);
    1446             exit(EXIT_FAILURE);
    1447         }
    1448         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     1428        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    14491429            psFree(md);
    14501430            exit(EXIT_FAILURE);
     
    14621442        bool            status;
    14631443
    1464         object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string", -16);
     1444        object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", -16);
    14651445        if (!object) {
    14661446            exit(EXIT_FAILURE);
     
    14981478            exit(EXIT_FAILURE);
    14991479        }
    1500         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    1501             psFree(md);
    1502             exit(EXIT_FAILURE);
    1503         }
    1504         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     1480        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    15051481            psFree(md);
    15061482            exit(EXIT_FAILURE);
     
    15181494        bool            status;
    15191495
    1520         object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16);
     1496        object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", -16);
    15211497        if (!object) {
    15221498            exit(EXIT_FAILURE);
     
    15661542            exit(EXIT_FAILURE);
    15671543        }
    1568         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    1569             psFree(md);
    1570             exit(EXIT_FAILURE);
    1571         }
    1572         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     1544        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    15731545            psFree(md);
    15741546            exit(EXIT_FAILURE);
     
    15861558        bool            status;
    15871559
    1588         object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true, -16);
     1560        object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", true, -16);
    15891561        if (!object) {
    15901562            exit(EXIT_FAILURE);
     
    16261598            exit(EXIT_FAILURE);
    16271599        }
    1628         if (strncmp(psMetadataLookupPtr(&status, md, "b1_uri"), "a string", MAX_STRING_LENGTH)) {
    1629             psFree(md);
    1630             exit(EXIT_FAILURE);
    1631         }
    1632         if (strncmp(psMetadataLookupPtr(&status, md, "b2_uri"), "a string", MAX_STRING_LENGTH)) {
     1600        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    16331601            psFree(md);
    16341602            exit(EXIT_FAILURE);
     
    17791747        bool            status;
    17801748
    1781         object = warpSkyCellMapRowAlloc(-32, "a string", "a string", "a string", -32, "a string");
     1749        object = warpSkyCellMapRowAlloc(-32, "a string", "a string", "a string", -32, "a string", -16);
    17821750        if (!object) {
    17831751            exit(EXIT_FAILURE);
     
    18121780        }
    18131781        if (strncmp(psMetadataLookupPtr(&status, md, "class_id"), "a string", MAX_STRING_LENGTH)) {
     1782            psFree(md);
     1783            exit(EXIT_FAILURE);
     1784        }
    18141785            psFree(md);
    18151786            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.