Changeset 17142 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Mar 25, 2008, 12:32:53 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r16731 r17142 1172 1172 warpRunRow *object; 1173 1173 1174 object = warpRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", " 0001-01-01T00:00:00Z", true );1174 object = warpRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", true ); 1175 1175 1176 1176 if (!object) { … … 1202 1202 exit(EXIT_FAILURE); 1203 1203 } 1204 if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) { 1205 psFree(object); 1206 exit(EXIT_FAILURE); 1207 } 1204 1208 if (strncmp(object->dvodb, "a string", MAX_STRING_LENGTH)) { 1205 1209 psFree(object); … … 2845 2849 pstampRequestRow *object; 2846 2850 2847 object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string" );2851 object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", -16 ); 2848 2852 2849 2853 if (!object) { … … 2871 2875 exit(EXIT_FAILURE); 2872 2876 } 2877 if (!object->resultsFile == -16) { 2878 psFree(object); 2879 exit(EXIT_FAILURE); 2880 } 2873 2881 2874 2882 psFree(object); … … 2878 2886 pstampJobRow *object; 2879 2887 2880 object = pstampJobRowAlloc(-64, -64, "a string", -32, "a string", "a string", "a string" );2888 object = pstampJobRowAlloc(-64, -64, "a string", "a string", -32, "a string", "a string", "a string" ); 2881 2889 2882 2890 if (!object) { … … 2893 2901 } 2894 2902 if (strncmp(object->state, "a string", MAX_STRING_LENGTH)) { 2903 psFree(object); 2904 exit(EXIT_FAILURE); 2905 } 2906 if (strncmp(object->jobType, "a string", MAX_STRING_LENGTH)) { 2895 2907 psFree(object); 2896 2908 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
