Lines Matching refs:def
79 def setUp(self):
99 def tearDown(self):
110 def assert_log_messages(self, messages):
121 def test_warning_message(self):
125 def test_below_warning_message(self):
133 def test_debug_message(self):
137 def test_two_messages(self):
149 def test_debug_message(self):
158 def _all_categories(self):
161 def defaults(self):
164 def test_webkit_base_filter_rules(self):
180 def test_defaults(self):
195 def test_path_rules_specifier(self):
202 def assertCheck(path, category):
208 def assertNoCheck(path, category):
268 def test_max_reports_per_category(self):
280 def test_check_webkit_style_configuration(self):
285 def test_check_webkit_style_parser(self):
294 def setUp(self):
297 def test_should_skip_with_warning(self):
315 def _assert_should_skip_without_warning(self, path, is_checker_none,
326 def test_should_skip_without_warning__true(self):
342 def test_should_skip_without_warning__false(self):
355 def test_should_check_and_strip_carriage_returns(self):
372 def dispatch(self, file_path):
381 def assert_checker_none(self, file_path):
386 def assert_checker(self, file_path, expected_class):
397 def assert_checker_changelog(self, file_path):
401 def assert_checker_cpp(self, file_path):
405 def assert_checker_python(self, file_path):
409 def assert_checker_text(self, file_path):
413 def assert_checker_xml(self, file_path):
417 def test_changelog_paths(self):
436 def test_cpp_paths(self):
467 def test_python_paths(self):
487 def test_text_paths(self):
530 def test_xml_paths(self):
550 def test_none_paths(self):
567 def setUp(self):
571 def _mock_stderr_write(self, message):
574 def _style_checker_configuration(self, output_format="vs7"):
586 def test_init(self):
596 def test_is_reportable(self):
608 def _call_write_style_error(self, output_format):
616 def test_write_style_error_emacs(self):
622 def test_write_style_error_vs7(self):
633 def setUp(self):
637 def _mock_stderr_write(self, message):
641 def test_init(self):
654 def test_process(self):
683 def __init__(self, file_path, min_confidence, style_error_handler):
688 def check(self, lines):
695 def __init__(self):
698 def should_skip_with_warning(self, file_path):
701 def should_skip_without_warning(self, file_path):
704 def should_check_and_strip_carriage_returns(self, file_path):
707 def dispatch(self, file_path, style_error_handler, min_confidence):
722 def setUp(self):
748 def _do_nothing(self):
755 def _swallow_stderr_message(self, message):
761 def _create_carriage_checker_class(self):
771 def __init__(self, style_error_handler):
778 def check(self, lines):
787 def test_should_process__skip_without_warning(self):
793 def test_should_process__skip_with_warning(self):
802 def test_should_process__true_result(self):
808 def test_process__checker_dispatched(self):
840 def test_process__no_checker_dispatched(self):
847 def test_process__carriage_returns_not_stripped(self):