Lines Matching defs:test
82 Vcchar_t test[sizeof(Data)];
141 /* test table construction with filled data */
145 terror("vcrdparse(): Can't open test table");
157 r = vcrdextract(tst, -1, test, sizeof(test), VCRD_RECORD);
163 r = vcrdextract(tst, -1, test, sizeof(test), VCRD_RECORD);
166 if(memcmp(Data, test, dtsz) != 0)
169 /* test transformation plan making */
181 /* test transformation plan execution */
185 r = vcrdextract(tbl, -1, test, sizeof(test), VCRD_RECORD);
190 r = vcrdextract(tbl, -1, test, sizeof(test), VCRD_RECORD);
193 if(memcmp(Data, test, dtsz) != 0)
196 /* test internal field transformation */
233 /* test compression by field only - no transformation */
245 /* test compression by field only - no transformation */
257 /* test compression by field with transformation */
269 /* test compression by padded field */
281 /* test compression by padded field plus the table compressor */
293 /* test compression by padded field plus the table compressor for whole table */
305 /* test transformation of records with missing fields */
306 strcpy((char*)test, "1.2.3.4\na.b\n5.6.7.8\nc.d.\n"); k = strlen((char*)test);
311 if((e = vcapply(envc, test, k, &endt)) <= 0 )
315 if(memcmp(test, dedt, k) != 0)
321 if((e = vcapply(envc, test, k, &endt)) <= 0 )
325 if(memcmp(test, dedt, k) != 0)