IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 17, 2008, 10:15:51 AM (18 years ago)
Author:
eugene
Message:

updates to magictool and pstamp

File:
1 edited

Legend:

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

    r18044 r18595  
    586586        }
    587587
    588         object = stackRunRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string");
     588        object = stackRunRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", "a string");
    589589        if (!object) {
    590590            exit(EXIT_FAILURE);
     
    960960        }
    961961
    962         object = magicRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z");
     962        object = magicRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", -16);
    963963        if (!object) {
    964964            exit(EXIT_FAILURE);
     
    10261026        }
    10271027
    1028         object = magicNodeResultRowAlloc(-64, "a string", "a string");
     1028        object = magicNodeResultRowAlloc(-64, "a string", "a string", -16);
    10291029        if (!object) {
    10301030            exit(EXIT_FAILURE);
     
    10481048        }
    10491049
    1050         object = magicMaskRowAlloc(-64, "a string");
     1050        object = magicMaskRowAlloc(-64, "a string", -32, -16);
    10511051        if (!object) {
    10521052            exit(EXIT_FAILURE);
     
    10631063    {
    10641064        psDB            *dbh;
    1065         magicSkyfileMaskRow *object;
    1066 
    1067         dbh = psDBInit("localhost", "test", NULL, "test");
    1068         if (!dbh) {
    1069             exit(EXIT_FAILURE);
    1070         }
    1071 
    1072         object = magicSkyfileMaskRowAlloc(-64, -64, "a string");
    1073         if (!object) {
    1074             exit(EXIT_FAILURE);
    1075         }
    1076 
    1077         if (!magicSkyfileMaskInsertObject(dbh, object)) {
    1078             exit(EXIT_FAILURE);
    1079         }
    1080 
    1081         psFree(object);
    1082         psDBCleanup(dbh);
    1083     }
    1084 
    1085     {
    1086         psDB            *dbh;
    10871065        calDBRow        *object;
    10881066
     
    12021180        }
    12031181
    1204         object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", -16);
     1182        object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", -32);
    12051183        if (!object) {
    12061184            exit(EXIT_FAILURE);
     
    12241202        }
    12251203
    1226         object = pstampJobRowAlloc(-64, -64, "a string", "a string", -32, "a string", "a string", "a string");
     1204        object = pstampJobRowAlloc(-64, -64, "a string", "a string", "a string", -32, "a string", "a string", "a string");
    12271205        if (!object) {
    12281206            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.