Lines Matching refs:mock_check
269 def _test_file_filter(self, mock_check, func, files): argument
280 self.assertFalse(mock_check.called)
285 self.assertEqual(ret, mock_check.return_value)
293 def test_checkpatch(self, mock_check, _mock_run): argument
297 self.assertEqual(ret, mock_check.return_value)
299 def test_clang_format(self, mock_check, _mock_run): argument
303 self.assertEqual(ret, mock_check.return_value)
305 def test_google_java_format(self, mock_check, _mock_run): argument
309 self.assertEqual(ret, mock_check.return_value)
466 def test_cpplint(self, mock_check, _mock_run): argument
468 self._test_file_filter(mock_check, rh.hooks.check_cpplint,
471 def test_gofmt(self, mock_check, _mock_run): argument
477 self.assertFalse(mock_check.called)
485 def test_jsonlint(self, mock_check, _mock_run): argument
491 self.assertFalse(mock_check.called)
495 def test_pylint(self, mock_check, _mock_run): argument
497 self._test_file_filter(mock_check, rh.hooks.check_pylint,
500 def test_xmllint(self, mock_check, _mock_run): argument
502 self._test_file_filter(mock_check, rh.hooks.check_xmllint,
505 def test_android_test_mapping_format(self, mock_check, _mock_run): argument
511 self.assertFalse(mock_check.called)