Lines Matching refs:checker
51 def assert_no_issues(self, checker, directory=None): argument
56 return self.assertFalse(list(checker(directory)))
58 def assert_issue(self, checker, match, directory=None): argument
63 issues = list(checker(directory))
104 checker = pw_module.check.check_has_rst_docs
105 self.assert_issue(checker, 'ReST')
107 self.assert_no_issues(checker)
111 checker = pw_module.check.check_has_public_or_override_headers
116 self.assert_no_issues(checker, directory=module_name)
121 self.assert_issue(checker, 'public/pw_foo', directory=module_name)
125 self.assert_issue(checker, 'public/pw_foo', directory=module_name)
134 self.assert_no_issues(checker, directory=module_name)
138 self.assert_issue(checker, 'multiple', directory=module_name)