Lines Matching refs:test_ps
70 static void test_ps(const psl_ctx_t *psl, const char *domain, int type, int expected) in test_ps() function
86 test_ps(psl, domain, type, expected); in test_type_any()
87 test_ps(psl, domain, type|PSL_TYPE_NO_STAR_RULE, expected); in test_type_any()
88 test_ps(psl, domain, PSL_TYPE_ANY, expected); in test_type_any()
89 test_ps(psl, domain, PSL_TYPE_ANY|PSL_TYPE_NO_STAR_RULE, expected); in test_type_any()
93 test_ps(psl, domain, PSL_TYPE_ICANN, 1); in test_type_any()
94 test_ps(psl, domain, PSL_TYPE_ICANN|PSL_TYPE_NO_STAR_RULE, 0); in test_type_any()
96 test_ps(psl, domain, PSL_TYPE_ICANN, 0); in test_type_any()
97 test_ps(psl, domain, PSL_TYPE_ICANN|PSL_TYPE_NO_STAR_RULE, 0); in test_type_any()
101 test_ps(psl, domain, PSL_TYPE_PRIVATE, 1); in test_type_any()
102 test_ps(psl, domain, PSL_TYPE_PRIVATE|PSL_TYPE_NO_STAR_RULE, 0); in test_type_any()
104 test_ps(psl, domain, PSL_TYPE_PRIVATE, 0); in test_type_any()
105 test_ps(psl, domain, PSL_TYPE_PRIVATE|PSL_TYPE_NO_STAR_RULE, 0); in test_type_any()