Changeset 17142 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Mar 25, 2008, 12:32:53 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r16731 r17142 1283 1283 bool status; 1284 1284 1285 object = warpRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", " 0001-01-01T00:00:00Z", true);1285 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); 1286 1286 if (!object) { 1287 1287 exit(EXIT_FAILURE); … … 1317 1317 exit(EXIT_FAILURE); 1318 1318 } 1319 if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) { 1320 psFree(md); 1321 exit(EXIT_FAILURE); 1322 } 1319 1323 if (strncmp(psMetadataLookupPtr(&status, md, "dvodb"), "a string", MAX_STRING_LENGTH)) { 1320 1324 psFree(md); … … 3162 3166 bool status; 3163 3167 3164 object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string" );3168 object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", -16); 3165 3169 if (!object) { 3166 3170 exit(EXIT_FAILURE); … … 3192 3196 exit(EXIT_FAILURE); 3193 3197 } 3198 psFree(md); 3199 exit(EXIT_FAILURE); 3200 } 3194 3201 3195 3202 psFree(md); … … 3201 3208 bool status; 3202 3209 3203 object = pstampJobRowAlloc(-64, -64, "a string", -32, "a string", "a string", "a string");3210 object = pstampJobRowAlloc(-64, -64, "a string", "a string", -32, "a string", "a string", "a string"); 3204 3211 if (!object) { 3205 3212 exit(EXIT_FAILURE); … … 3220 3227 } 3221 3228 if (strncmp(psMetadataLookupPtr(&status, md, "state"), "a string", MAX_STRING_LENGTH)) { 3229 psFree(md); 3230 exit(EXIT_FAILURE); 3231 } 3232 if (strncmp(psMetadataLookupPtr(&status, md, "jobType"), "a string", MAX_STRING_LENGTH)) { 3222 3233 psFree(md); 3223 3234 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
