Changeset 8266 for trunk/ippdb/tests
- Timestamp:
- Aug 9, 2006, 7:18:19 PM (20 years ago)
- Location:
- trunk/ippdb/tests
- Files:
-
- 6 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)
-
pop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r8228 r8266 1300 1300 detResidExpAnalysisRow *object; 1301 1301 1302 object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true );1302 object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true, true ); 1303 1303 1304 1304 if (!object) { … … 1319 1319 } 1320 1320 if (strncmp(object->recipe, "a string", MAX_STRING_LENGTH)) { 1321 psFree(object); 1322 exit(EXIT_FAILURE); 1323 } 1324 if (!object->keep == true) { 1321 1325 psFree(object); 1322 1326 exit(EXIT_FAILURE); -
trunk/ippdb/tests/insert.c
r8228 r8266 463 463 } 464 464 465 if (!detResidExpAnalysisInsert(dbh, -32, -32, "a string", "a string", true )) {465 if (!detResidExpAnalysisInsert(dbh, -32, -32, "a string", "a string", true, true)) { 466 466 exit(EXIT_FAILURE); 467 467 } -
trunk/ippdb/tests/insertobject.c
r8228 r8266 674 674 } 675 675 676 object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true );676 object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true, true); 677 677 if (!object) { 678 678 exit(EXIT_FAILURE); -
trunk/ippdb/tests/metadatafromobject.c
r8228 r8266 1543 1543 bool status; 1544 1544 1545 object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true );1545 object = detResidExpAnalysisRowAlloc(-32, -32, "a string", "a string", true, true); 1546 1546 if (!object) { 1547 1547 exit(EXIT_FAILURE); … … 1568 1568 } 1569 1569 if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) { 1570 psFree(md); 1571 exit(EXIT_FAILURE); 1572 } 1573 if (!psMetadataLookupBool(&status, md, "keep") == true) { 1570 1574 psFree(md); 1571 1575 exit(EXIT_FAILURE); -
trunk/ippdb/tests/objectfrommetadata.c
r8228 r8266 2369 2369 exit(EXIT_FAILURE); 2370 2370 } 2371 if (!psMetadataAdd(md, PS_LIST_TAIL, "keep", PS_DATA_BOOL, NULL, true)) { 2372 psFree(md); 2373 exit(EXIT_FAILURE); 2374 } 2371 2375 if (!psMetadataAdd(md, PS_LIST_TAIL, "accept", PS_DATA_BOOL, NULL, true)) { 2372 2376 psFree(md); … … 2395 2399 } 2396 2400 if (strncmp(object->recipe, "a string", MAX_STRING_LENGTH)) { 2401 psFree(object); 2402 exit(EXIT_FAILURE); 2403 } 2404 if (!object->keep == true) { 2397 2405 psFree(object); 2398 2406 exit(EXIT_FAILURE); -
trunk/ippdb/tests/pop.c
r8228 r8266 686 686 char exp_id[256]; 687 687 char recipe[256]; 688 bool keep; 688 689 bool accept; 689 690 … … 693 694 } 694 695 695 if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&recipe, & accept)) {696 if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&recipe, &keep, &accept)) { 696 697 exit(EXIT_FAILURE); 697 698 }
Note:
See TracChangeset
for help on using the changeset viewer.
