Home
last modified time | relevance | path

Searched refs:_ShouldSkip (Results 1 – 2 of 2) sorted by relevance

/development/tools/checkstyle/
Dtests.py81 self.assertFalse(checkstyle._ShouldSkip(True, None, 1, TEST_RULE))
82 self.assertTrue(checkstyle._ShouldSkip(True, [], 1, TEST_RULE))
83 self.assertFalse(checkstyle._ShouldSkip(True, [1], 1, TEST_RULE))
84 self.assertFalse(checkstyle._ShouldSkip(True, [1, 2, 3], 1, TEST_RULE))
85 self.assertTrue(checkstyle._ShouldSkip(True, [1, 2, 3], 4, TEST_RULE))
87 self.assertFalse(checkstyle._ShouldSkip(True, [1, 2, 3], 1, rule))
88 self.assertFalse(checkstyle._ShouldSkip(True, [1, 2, 3], 4, rule))
91 self.assertFalse(checkstyle._ShouldSkip(False, None, 1, TEST_RULE))
92 self.assertFalse(checkstyle._ShouldSkip(False, [], 1, TEST_RULE))
93 self.assertFalse(checkstyle._ShouldSkip(False, [1], 1, TEST_RULE))
[all …]
Dcheckstyle.py177 if _ShouldSkip(commit_modified_files, modified_lines, line, rule,
195 def _ShouldSkip(commit_check, modified_lines, line, rule, test_class=False): function