IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 30, 2006, 11:55:36 AM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.53

File:
1 edited

Legend:

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

    r9783 r9788  
    322322        }
    323323
    324         object = p3PendingExpRowAlloc("a string", -32, -32);
     324        object = p3PendingExpRowAlloc("a string", -32, -32, "a string");
    325325        if (!object) {
    326326            exit(EXIT_FAILURE);
     
    344344        }
    345345
    346         object = p3ProcessedExpRowAlloc("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, -32, -32);
     346        object = p3ProcessedExpRowAlloc("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, -32, -32, "a string");
    347347        if (!object) {
    348348            exit(EXIT_FAILURE);
     
    350350
    351351        if (!p3ProcessedExpInsertObject(dbh, object)) {
     352            exit(EXIT_FAILURE);
     353        }
     354
     355        psFree(object);
     356        psDBCleanup(dbh);
     357    }
     358
     359    {
     360        psDB            *dbh;
     361        p3MaskRow       *object;
     362
     363        dbh = psDBInit("localhost", "test", NULL, "test");
     364        if (!dbh) {
     365            exit(EXIT_FAILURE);
     366        }
     367
     368        object = p3MaskRowAlloc("a string");
     369        if (!object) {
     370            exit(EXIT_FAILURE);
     371        }
     372
     373        if (!p3MaskInsertObject(dbh, object)) {
    352374            exit(EXIT_FAILURE);
    353375        }
Note: See TracChangeset for help on using the changeset viewer.