Changeset 11113 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Jan 16, 2007, 12:21:17 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r11077 r11113 1099 1099 bool status; 1100 1100 1101 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1101 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1102 1102 if (!object) { 1103 1103 exit(EXIT_FAILURE); … … 1151 1151 exit(EXIT_FAILURE); 1152 1152 } 1153 psFree(md); 1154 exit(EXIT_FAILURE); 1155 } 1153 1156 1154 1157 psFree(md); … … 1160 1163 bool status; 1161 1164 1162 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1165 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1163 1166 if (!object) { 1164 1167 exit(EXIT_FAILURE); … … 1204 1207 exit(EXIT_FAILURE); 1205 1208 } 1209 psFree(md); 1210 exit(EXIT_FAILURE); 1211 } 1206 1212 1207 1213 psFree(md); … … 1213 1219 bool status; 1214 1220 1215 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64 );1221 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, -16); 1216 1222 if (!object) { 1217 1223 exit(EXIT_FAILURE); … … 1257 1263 exit(EXIT_FAILURE); 1258 1264 } 1265 psFree(md); 1266 exit(EXIT_FAILURE); 1267 } 1259 1268 1260 1269 psFree(md); … … 1266 1275 bool status; 1267 1276 1268 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32 );1277 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32, -16); 1269 1278 if (!object) { 1270 1279 exit(EXIT_FAILURE); … … 1294 1303 exit(EXIT_FAILURE); 1295 1304 } 1305 psFree(md); 1306 exit(EXIT_FAILURE); 1307 } 1296 1308 1297 1309 psFree(md); … … 1303 1315 bool status; 1304 1316 1305 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1317 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1306 1318 if (!object) { 1307 1319 exit(EXIT_FAILURE); … … 1351 1363 exit(EXIT_FAILURE); 1352 1364 } 1365 psFree(md); 1366 exit(EXIT_FAILURE); 1367 } 1353 1368 1354 1369 psFree(md); … … 1360 1375 bool status; 1361 1376 1362 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string" );1377 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1363 1378 if (!object) { 1364 1379 exit(EXIT_FAILURE); … … 1404 1419 exit(EXIT_FAILURE); 1405 1420 } 1421 psFree(md); 1422 exit(EXIT_FAILURE); 1423 } 1406 1424 1407 1425 psFree(md); … … 1413 1431 bool status; 1414 1432 1415 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1433 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1416 1434 if (!object) { 1417 1435 exit(EXIT_FAILURE); … … 1469 1487 exit(EXIT_FAILURE); 1470 1488 } 1489 psFree(md); 1490 exit(EXIT_FAILURE); 1491 } 1471 1492 1472 1493 psFree(md); … … 1478 1499 bool status; 1479 1500 1480 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true );1501 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true, -16); 1481 1502 if (!object) { 1482 1503 exit(EXIT_FAILURE); … … 1530 1551 exit(EXIT_FAILURE); 1531 1552 } 1553 psFree(md); 1554 exit(EXIT_FAILURE); 1555 } 1532 1556 1533 1557 psFree(md); … … 1539 1563 bool status; 1540 1564 1541 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true );1565 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true, -16); 1542 1566 if (!object) { 1543 1567 exit(EXIT_FAILURE); … … 1572 1596 } 1573 1597 if (!psMetadataLookupBool(&status, md, "accept") == true) { 1598 psFree(md); 1599 exit(EXIT_FAILURE); 1600 } 1574 1601 psFree(md); 1575 1602 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
