Home | History | Annotate | Download | only in tests

Lines Matching full:test_partial

479 test_partial (const gchar *pattern,
520 #define TEST_PARTIAL(pattern, string, expected) { \
522 if (test_partial (pattern, string, expected)) \
1804 /* TEST_PARTIAL(pattern, string, expected) */
1805 TEST_PARTIAL("^ab", "a", TRUE);
1806 TEST_PARTIAL("^ab", "xa", FALSE);
1807 TEST_PARTIAL("ab", "xa", TRUE);
1808 TEST_PARTIAL("ab", "ab", FALSE); /* normal match. */
1809 TEST_PARTIAL("a+b", "aa", FALSE); /* PCRE_ERROR_BAD_PARTIAL */
1810 TEST_PARTIAL("(a)+b", "aa", TRUE);
1811 TEST_PARTIAL("a?b", "a", TRUE);