Changeset 14169 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Jul 12, 2007, 12:27:55 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r14061 r14169 146 146 } 147 147 148 object = newExpRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string" );148 object = newExpRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string"); 149 149 if (!object) { 150 150 exit(EXIT_FAILURE); … … 190 190 } 191 191 192 object = rawExpRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "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, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", 32.32, -16);192 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", 32.32, 64.64, 64.64, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", 32.32, -16); 193 193 if (!object) { 194 194 exit(EXIT_FAILURE); … … 256 256 } 257 257 258 object = chipRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string");258 object = chipRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string"); 259 259 if (!object) { 260 260 exit(EXIT_FAILURE); … … 271 271 { 272 272 psDB *dbh; 273 chipInputImfileRow *object;274 275 dbh = psDBInit("localhost", "test", NULL, "test");276 if (!dbh) {277 exit(EXIT_FAILURE);278 }279 280 object = chipInputImfileRowAlloc(-64, -64, "a string");281 if (!object) {282 exit(EXIT_FAILURE);283 }284 285 if (!chipInputImfileInsertObject(dbh, object)) {286 exit(EXIT_FAILURE);287 }288 289 psFree(object);290 psDBCleanup(dbh);291 }292 293 {294 psDB *dbh;295 273 chipProcessedImfileRow *object; 296 274 … … 476 454 } 477 455 478 object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64 );456 object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64, -16); 479 457 if (!object) { 480 458 exit(EXIT_FAILURE); … … 542 520 } 543 521 544 object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64 );522 object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64, -16); 545 523 if (!object) { 546 524 exit(EXIT_FAILURE); … … 608 586 } 609 587 610 object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64 );588 object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64, -16); 611 589 if (!object) { 612 590 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
