Changeset 11027 for trunk/ippdb/tests
- Timestamp:
- Jan 10, 2007, 6:44:06 PM (20 years ago)
- Location:
- trunk/ippdb/tests
- Files:
-
- 5 edited
-
alloc.c (modified) (2 diffs)
-
insert.c (modified) (1 diff)
-
insertobject.c (modified) (1 diff)
-
metadatafromobject.c (modified) (2 diffs)
-
objectfrommetadata.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r11005 r11027 787 787 p3PendingExpRow *object; 788 788 789 object = p3PendingExpRowAlloc("a string", -32, -32, "a string" );789 object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16 ); 790 790 791 791 if (!object) { … … 806 806 } 807 807 if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) { 808 psFree(object); 809 exit(EXIT_FAILURE); 810 } 808 811 psFree(object); 809 812 exit(EXIT_FAILURE); -
trunk/ippdb/tests/insert.c
r11005 r11027 283 283 } 284 284 285 if (!p3PendingExpInsert(dbh, "a string", -32, -32, "a string" )) {285 if (!p3PendingExpInsert(dbh, "a string", -32, -32, "a string", -16)) { 286 286 exit(EXIT_FAILURE); 287 287 } -
trunk/ippdb/tests/insertobject.c
r11005 r11027 410 410 } 411 411 412 object = p3PendingExpRowAlloc("a string", -32, -32, "a string" );412 object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16); 413 413 if (!object) { 414 414 exit(EXIT_FAILURE); -
trunk/ippdb/tests/metadatafromobject.c
r11005 r11027 933 933 bool status; 934 934 935 object = p3PendingExpRowAlloc("a string", -32, -32, "a string" );935 object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16); 936 936 if (!object) { 937 937 exit(EXIT_FAILURE); … … 958 958 } 959 959 if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) { 960 psFree(md); 961 exit(EXIT_FAILURE); 962 } 960 963 psFree(md); 961 964 exit(EXIT_FAILURE); -
trunk/ippdb/tests/objectfrommetadata.c
r11005 r11027 1437 1437 exit(EXIT_FAILURE); 1438 1438 } 1439 psFree(md); 1440 exit(EXIT_FAILURE); 1441 } 1439 1442 1440 1443 object = p3PendingExpObjectFromMetadata(md); … … 1459 1462 } 1460 1463 if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) { 1464 psFree(object); 1465 exit(EXIT_FAILURE); 1466 } 1461 1467 psFree(object); 1462 1468 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
