IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8266 for trunk/ippdb/tests


Ignore:
Timestamp:
Aug 9, 2006, 7:18:19 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION to 0.0.24

Location:
trunk/ippdb/tests
Files:
6 edited

Legend:

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

    r8228 r8266  
    13001300        detResidExpAnalysisRow *object;
    13011301
    1302         object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true    );
     1302        object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true, true    );
    13031303
    13041304        if (!object) {
     
    13191319        }
    13201320        if (strncmp(object->recipe, "a string", MAX_STRING_LENGTH)) {
     1321            psFree(object);
     1322            exit(EXIT_FAILURE);
     1323        }
     1324        if (!object->keep == true) {
    13211325            psFree(object);
    13221326            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/insert.c

    r8228 r8266  
    463463        }
    464464
    465         if (!detResidExpAnalysisInsert(dbh, -32, -32, "a string", "a string", true)) {
     465        if (!detResidExpAnalysisInsert(dbh, -32, -32, "a string", "a string", true, true)) {
    466466            exit(EXIT_FAILURE);
    467467        }
  • trunk/ippdb/tests/insertobject.c

    r8228 r8266  
    674674        }
    675675
    676         object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true);
     676        object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true, true);
    677677        if (!object) {
    678678            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/metadatafromobject.c

    r8228 r8266  
    15431543        bool            status;
    15441544
    1545         object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true);
     1545        object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true, true);
    15461546        if (!object) {
    15471547            exit(EXIT_FAILURE);
     
    15681568        }
    15691569        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
     1570            psFree(md);
     1571            exit(EXIT_FAILURE);
     1572        }
     1573        if (!psMetadataLookupBool(&status, md, "keep") == true) {
    15701574            psFree(md);
    15711575            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/objectfrommetadata.c

    r8228 r8266  
    23692369            exit(EXIT_FAILURE);
    23702370        }
     2371        if (!psMetadataAdd(md, PS_LIST_TAIL, "keep", PS_DATA_BOOL, NULL, true)) {
     2372            psFree(md);
     2373            exit(EXIT_FAILURE);
     2374        }
    23712375        if (!psMetadataAdd(md, PS_LIST_TAIL, "accept", PS_DATA_BOOL, NULL, true)) {
    23722376            psFree(md);
     
    23952399        }
    23962400        if (strncmp(object->recipe, "a string", MAX_STRING_LENGTH)) {
     2401            psFree(object);
     2402            exit(EXIT_FAILURE);
     2403        }
     2404        if (!object->keep == true) {
    23972405            psFree(object);
    23982406            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/pop.c

    r8228 r8266  
    686686        char            exp_id[256];
    687687        char            recipe[256];
     688        bool            keep;
    688689        bool            accept;
    689690
     
    693694        }
    694695
    695         if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&recipe, &accept)) {
     696        if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&recipe, &keep, &accept)) {
    696697            exit(EXIT_FAILURE);
    697698        }
Note: See TracChangeset for help on using the changeset viewer.