Changeset 10110 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Nov 20, 2006, 1:58:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r10060 r10110 10 10 { 11 11 psMetadata *md; 12 expTagCounterRow *object; 13 bool status; 14 15 object = expTagCounterRowAlloc(64); 16 if (!object) { 17 exit(EXIT_FAILURE); 18 } 19 20 md = expTagCounterMetadataFromObject(object); 21 if (!md) { 22 exit(EXIT_FAILURE); 23 } 24 25 psFree(object); 26 27 psFree(md); 28 exit(EXIT_FAILURE); 29 } 30 31 psFree(md); 32 } 33 34 { 35 psMetadata *md; 12 36 summitExpRow *object; 13 37 bool status; … … 274 298 bool status; 275 299 276 object = newExpRowAlloc( 64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32);300 object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32); 277 301 if (!object) { 278 302 exit(EXIT_FAILURE); … … 286 310 psFree(object); 287 311 312 if (strncmp(psMetadataLookupPtr(&status, md, "exp_tag"), "a string", MAX_STRING_LENGTH)) { 288 313 psFree(md); 289 314 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
