Changeset 12236 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Mar 5, 2007, 12:36:18 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r12231 r12236 709 709 bool status; 710 710 711 object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string" );711 object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string", "a string"); 712 712 if (!object) { 713 713 exit(EXIT_FAILURE); … … 731 731 exit(EXIT_FAILURE); 732 732 } 733 if (strncmp(psMetadataLookupPtr(&status, md, "workdir"), "a string", MAX_STRING_LENGTH)) { 734 psFree(md); 735 exit(EXIT_FAILURE); 736 } 733 737 if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) { 734 738 psFree(md); … … 832 836 bool status; 833 837 834 object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string" );838 object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string"); 835 839 if (!object) { 836 840 exit(EXIT_FAILURE); … … 850 854 exit(EXIT_FAILURE); 851 855 } 856 if (strncmp(psMetadataLookupPtr(&status, md, "workdir"), "a string", MAX_STRING_LENGTH)) { 857 psFree(md); 858 exit(EXIT_FAILURE); 859 } 852 860 if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) { 853 861 psFree(md); … … 875 883 bool status; 876 884 877 object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16);885 object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16); 878 886 if (!object) { 879 887 exit(EXIT_FAILURE); … … 890 898 exit(EXIT_FAILURE); 891 899 } 900 psFree(md); 901 exit(EXIT_FAILURE); 902 } 903 if (strncmp(psMetadataLookupPtr(&status, md, "workdir"), "a string", MAX_STRING_LENGTH)) { 892 904 psFree(md); 893 905 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
