Changeset 10989 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Jan 8, 2007, 4:08:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r10753 r10989 302 302 bool status; 303 303 304 object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32 );304 object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32, -16); 305 305 if (!object) { 306 306 exit(EXIT_FAILURE); … … 341 341 exit(EXIT_FAILURE); 342 342 } 343 psFree(md); 344 exit(EXIT_FAILURE); 345 } 343 346 344 347 psFree(md); … … 350 353 bool status; 351 354 352 object = newImfileRowAlloc("a string", "a string", "a string", "a string" );355 object = newImfileRowAlloc("a string", "a string", "a string", "a string", -16); 353 356 if (!object) { 354 357 exit(EXIT_FAILURE); … … 375 378 } 376 379 if (strncmp(psMetadataLookupPtr(&status, md, "uri"), "a string", MAX_STRING_LENGTH)) { 380 psFree(md); 381 exit(EXIT_FAILURE); 382 } 377 383 psFree(md); 378 384 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
