Changeset 13739 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Jun 8, 2007, 5:40:47 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r13649 r13739 1082 1082 warpSkyfileRow *object; 1083 1083 1084 object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64 );1084 object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64 ); 1085 1085 1086 1086 if (!object) { … … 1104 1104 exit(EXIT_FAILURE); 1105 1105 } 1106 if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) { 1107 psFree(object); 1108 exit(EXIT_FAILURE); 1109 } 1106 1110 if (!object->bg == 64.64) { 1107 1111 psFree(object); … … 1196 1200 diffSkyfileRow *object; 1197 1201 1198 object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64 );1202 object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64 ); 1199 1203 1200 1204 if (!object) { … … 1210 1214 exit(EXIT_FAILURE); 1211 1215 } 1216 if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) { 1217 psFree(object); 1218 exit(EXIT_FAILURE); 1219 } 1212 1220 if (!object->bg == 64.64) { 1213 1221 psFree(object); … … 1286 1294 stackSumSkyfileRow *object; 1287 1295 1288 object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64 );1296 object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64 ); 1289 1297 1290 1298 if (!object) { … … 1297 1305 } 1298 1306 if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) { 1307 psFree(object); 1308 exit(EXIT_FAILURE); 1309 } 1310 if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) { 1299 1311 psFree(object); 1300 1312 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
