Changeset 13739 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Jun 8, 2007, 5:40:47 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r13649 r13739 1246 1246 bool status; 1247 1247 1248 object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64);1248 object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64); 1249 1249 if (!object) { 1250 1250 exit(EXIT_FAILURE); … … 1273 1273 exit(EXIT_FAILURE); 1274 1274 } 1275 if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) { 1276 psFree(md); 1277 exit(EXIT_FAILURE); 1278 } 1275 1279 if (!psMetadataLookupF64(&status, md, "bg") == 64.64) { 1276 1280 psFree(md); … … 1380 1384 bool status; 1381 1385 1382 object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64);1386 object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64); 1383 1387 if (!object) { 1384 1388 exit(EXIT_FAILURE); … … 1399 1403 exit(EXIT_FAILURE); 1400 1404 } 1405 if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) { 1406 psFree(md); 1407 exit(EXIT_FAILURE); 1408 } 1401 1409 if (!psMetadataLookupF64(&status, md, "bg") == 64.64) { 1402 1410 psFree(md); … … 1490 1498 bool status; 1491 1499 1492 object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64);1500 object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64); 1493 1501 if (!object) { 1494 1502 exit(EXIT_FAILURE); … … 1506 1514 } 1507 1515 if (strncmp(psMetadataLookupPtr(&status, md, "uri"), "a string", MAX_STRING_LENGTH)) { 1516 psFree(md); 1517 exit(EXIT_FAILURE); 1518 } 1519 if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) { 1508 1520 psFree(md); 1509 1521 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
