Lines Matching refs:test
2 * fontconfig/test/test-family-matching.c
43 TestMatchPattern (const char *test, FcPattern *p)
73 concat = FcStrPlus (xml_pre, (const FcChar8 *) test);
132 TestShouldMatchPattern(const char* test, FcPattern *pat, int negate)
134 switch (TestMatchPattern (test, pat)) {
141 printf ("Following test unexpectedly matched:\n%s", test);
149 printf ("Following test should have matched:\n%s", test);
180 const char *test;
200 test = "<test qual=\"all\" name=\"family\" compare=\"not_eq\">\n"
202 "</test>\n"
204 SHOULD_MATCH(pat, test);
206 test = ""
207 "<test qual=\"all\" name=\"family\" compare=\"not_eq\">\n"
209 "</test>\n"
211 SHOULD_NOT_MATCH(pat, test);
213 test = ""
214 "<test qual=\"any\" name=\"family\" compare=\"eq\">\n"
216 "</test>\n"
218 SHOULD_MATCH(pat, test);
220 test = ""
221 "<test qual=\"any\" name=\"family\" compare=\"eq\">\n"
223 "</test>\n"
225 SHOULD_NOT_MATCH(pat, test);