Changeset 12260 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Mar 5, 2007, 5:42:40 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r12236 r12260 311 311 rawExpRow *object; 312 312 313 object = rawExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32, "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string", 32.32, -16 );313 object = rawExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32, "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string", 32.32, -16 ); 314 314 315 315 if (!object) { … … 344 344 exit(EXIT_FAILURE); 345 345 } 346 if (strncmp(object->filelevel, "a string", MAX_STRING_LENGTH)) { 347 psFree(object); 348 exit(EXIT_FAILURE); 349 } 346 350 if (strncmp(object->workdir, "a string", MAX_STRING_LENGTH)) { 347 351 psFree(object); … … 415 419 rawImfileRow *object; 416 420 417 object = rawImfileRowAlloc("a string", "a string", "a string", "a string", "a string", "a string",32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string", "0001-01-01T00:00:00Z", -16 );421 object = rawImfileRowAlloc("a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string", "0001-01-01T00:00:00Z", -16 ); 418 422 419 423 if (!object) { … … 422 426 423 427 if (strncmp(object->exp_tag, "a string", MAX_STRING_LENGTH)) { 424 psFree(object);425 exit(EXIT_FAILURE);426 }427 if (strncmp(object->class, "a string", MAX_STRING_LENGTH)) {428 428 psFree(object); 429 429 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
