Changeset 16177 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Jan 22, 2008, 10:30:49 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r15792 r16177 303 303 bool status; 304 304 305 object = newExpRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string" );305 object = newExpRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string"); 306 306 if (!object) { 307 307 exit(EXIT_FAILURE); … … 346 346 exit(EXIT_FAILURE); 347 347 } 348 if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) { 349 psFree(md); 350 exit(EXIT_FAILURE); 351 } 352 if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) { 353 psFree(md); 354 exit(EXIT_FAILURE); 355 } 356 if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) { 357 psFree(md); 358 exit(EXIT_FAILURE); 359 } 348 360 349 361 psFree(md); … … 387 399 bool status; 388 400 389 object = rawExpRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", "a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", 32.32, -16);401 object = rawExpRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", 32.32, -16); 390 402 if (!object) { 391 403 exit(EXIT_FAILURE); … … 437 449 exit(EXIT_FAILURE); 438 450 } 451 if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) { 452 psFree(md); 453 exit(EXIT_FAILURE); 454 } 455 if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) { 456 psFree(md); 457 exit(EXIT_FAILURE); 458 } 459 if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) { 460 psFree(md); 461 exit(EXIT_FAILURE); 462 } 439 463 if (strncmp(psMetadataLookupPtr(&status, md, "filter"), "a string", MAX_STRING_LENGTH)) { 440 464 psFree(md); … … 874 898 bool status; 875 899 876 object = chipRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string" );900 object = chipRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string"); 877 901 if (!object) { 878 902 exit(EXIT_FAILURE); … … 920 944 exit(EXIT_FAILURE); 921 945 } 946 if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) { 947 psFree(md); 948 exit(EXIT_FAILURE); 949 } 950 if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) { 951 psFree(md); 952 exit(EXIT_FAILURE); 953 } 922 954 923 955 psFree(md); … … 1068 1100 bool status; 1069 1101 1070 object = camRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string" );1102 object = camRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string"); 1071 1103 if (!object) { 1072 1104 exit(EXIT_FAILURE); … … 1114 1146 exit(EXIT_FAILURE); 1115 1147 } 1148 if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) { 1149 psFree(md); 1150 exit(EXIT_FAILURE); 1151 } 1152 if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) { 1153 psFree(md); 1154 exit(EXIT_FAILURE); 1155 } 1116 1156 1117 1157 psFree(md); … … 1238 1278 bool status; 1239 1279 1240 object = warpRunRowAlloc(-64, "a string", "a string", "a string", "a string", " 0001-01-01T00:00:00Z");1280 object = warpRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z"); 1241 1281 if (!object) { 1242 1282 exit(EXIT_FAILURE); … … 1265 1305 exit(EXIT_FAILURE); 1266 1306 } 1307 if (strncmp(psMetadataLookupPtr(&status, md, "workdir_state"), "a string", MAX_STRING_LENGTH)) { 1308 psFree(md); 1309 exit(EXIT_FAILURE); 1310 } 1267 1311 if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) { 1312 psFree(md); 1313 exit(EXIT_FAILURE); 1314 } 1315 if (strncmp(psMetadataLookupPtr(&status, md, "tess_id"), "a string", MAX_STRING_LENGTH)) { 1316 psFree(md); 1317 exit(EXIT_FAILURE); 1318 } 1319 if (strncmp(psMetadataLookupPtr(&status, md, "end_stage"), "a string", MAX_STRING_LENGTH)) { 1268 1320 psFree(md); 1269 1321 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
