ale/test/handler
Horacio Sanson 181bc69c8c Fix java checkstyle handler.
The checkstyle handler is capable of parsing the new and old output
formats. Unfortunately there are some particular output messages that
matched both the new and old regular expressions:

   [WARN] whatever:11:7: WhitespaceAround: ''if'' is not followed by whitespace. [WhitespaceAround]

This caused ALE to report extra errors since the message was being
matched twice, once as a warning and another (incorrect) old formatted
error.

This MR fixes this by stopping any parsing using the old format regexp
is any errors of the new format are correcly parsed. There is no reason
to expect checkstyle to output both styles in the same report.
2019-05-28 17:48:27 +09:00
..
test_ada_gcc_handler.vader Add GCC linter for Ada 2018-11-18 18:14:24 +01:00
test_alex_handler.vader Add a vader test for the message handler 2017-12-13 14:37:49 +01:00
test_ameba_handler.vader Add initial ameba (crystal linter) support (#2174) 2019-01-27 16:01:42 +00:00
test_ansible_lint_handler.vader Fix #1216 - Suppress trailing whitespace warings for ansible-lint when the option is set 2017-12-13 11:14:31 +00:00
test_asm_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_bandit_handler.vader Add bandit linter for Python 2019-01-26 11:48:03 +01:00
test_bibclean_handler.vader Add bibclen fixer support 2018-12-01 15:05:18 +09:00
test_brakeman_handler.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_cfn_python_lint_handler.vader Update test to match update to linter 2018-06-20 15:29:26 +02:00
test_checkmake_handler.vader Modify vader tests for d585123 2017-11-16 01:01:59 +02:00
test_checkstyle_handler.vader Fix java checkstyle handler. 2019-05-28 17:48:27 +09:00
test_clang_handler.vader Indicate that a C compiler failed due to problems in a header file 2018-07-30 20:09:43 +01:00
test_clojure_clj_kondo_handler.vader Add a linter for clojure using clj-kondo (#2377) 2019-04-10 20:59:58 +01:00
test_clojure_joker_handler.vader add joker handler for clojure 2017-11-15 22:23:46 +00:00
test_coffeelint_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_common_handlers.vader #852 - Capture error codes for csslint 2017-11-18 23:15:23 +00:00
test_cookstyle_handler.vader Adding new linter "cookstyle" for chef recipes (Issue #1187) (#2362) 2019-04-10 18:52:52 +01:00
test_cppcheck_handler.vader Make every test set filenames and switch directories in the same way, and fix some missing escaping for the rubocop linter 2017-07-09 22:43:31 +01:00
test_cpplint_handler.vader #852 - Capture error codes for cpplint 2017-11-15 11:28:16 +00:00
test_credo_handler.vader Fix Credo message types (#1963) 2018-10-11 10:00:10 +01:00
test_crystal_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_cucumber_handler.vader Add cucumber checker for cucumber files 2018-04-20 22:54:29 -04:00
test_cuda_nvcc_handler.vader Get some more random tests to pass on Windows 2017-09-13 23:30:39 +01:00
test_cypher_lint_handler.vader linter/cypher: add cypher-lint 2019-02-03 03:09:51 -02:00
test_dafny_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_dartanalyzer_handler.vader Fix #308 - Check Dart files with dartanalyzer 2017-07-18 23:57:33 +01:00
test_dockerfile_lint_handler.vader Add the dockerfile_lint linter for Dockerfiles (#1971) 2018-10-26 17:34:32 +01:00
test_dogma_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_drafter_handler.vader Add drafter for checking API Blueprint files (#1152) 2017-11-20 10:57:13 +00:00
test_elmmake_handler.vader Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR 2018-07-12 13:05:59 +01:00
test_embertemplatelint_handler.vader Fix #1240 - Parse line and column numbers for fatal embertemplatelint errors 2017-12-19 17:42:51 +00:00
test_erlang_dialyzer_handler.vader Add support for Erlang dialyzer (#2509) 2019-05-19 21:16:17 +01:00
test_eslint_handler.vader Make eslint respect the ale_warn_about_trailing_whitespace setting 2019-05-12 15:49:16 +01:00
test_fecs_handler.vader feat: fecs support for js/html/css lint and format 2019-04-11 16:24:58 +08:00
test_fish_handler.vader Fix #1373 - Fix a bug with Fish errors not being handled on Linux 2018-03-23 12:17:54 +00:00
test_flake8_handler.vader Support pylama for python (#2266) 2019-02-08 21:44:34 +00:00
test_flawfinder_handler.vader Handle flawfinder severity level (#1400) 2018-03-10 10:44:55 +00:00
test_flow_handler.vader Fix #2263 - detailed Flow errors should show the original message 2019-02-01 13:01:56 +00:00
test_foodcritic_handler.vader #1151 - Overhaul the foodcritic linter for checking files on disk 2017-11-21 13:38:33 +00:00
test_fortran_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_gawk_handler.vader Fix awk linter and security concerns. (#1411) 2018-03-14 17:46:57 +00:00
test_gcc_handler.vader Close #2516 - Handle problems with inlined functions 2019-05-20 23:50:38 +01:00
test_ghc_handler.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_ghc_mod_handler.vader #894 - Replace ugly temporary filenames for Haskell problems with the buffer's basename 2017-09-03 21:53:48 +01:00
test_ghdl_handler.vader Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
test_gitlint_handler.vader gitcommit: fully implement warn_about_trailing_whitespace 2018-08-30 03:42:44 +02:00
test_glslang_handler.vader Add GLSL linter using glslang (#914) 2017-09-08 11:06:47 +01:00
test_go_generic_handler.vader Use govet handler for gosimple, gotype, staticcheck 2018-03-20 14:19:48 +00:00
test_gobuild_handler.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_golangci_lint_handler.vader Add golangci-lint (#1890) 2018-09-06 20:31:12 +01:00
test_gometalinter_handler.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_haskell_stack_handler.vader Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
test_hlint_handler.vader Fix #710 - Show hlint suggestions as info items, and include end line and column numbers 2017-07-18 13:14:02 +01:00
test_idris_handler.vader Fix Flow and Idris tests for Windows 2017-10-01 18:41:41 +01:00
test_ispc_ispc_handler.vader Add --nowrap to ispc options 2018-11-21 10:40:07 +01:00
test_javac_handler.vader javac linter: fix handling of error messages containing ':' character 2018-12-09 18:22:50 +01:00
test_jscs_handler.vader #852 - Capture error codes for jscs 2017-11-18 23:55:47 +00:00
test_ktlint_handler.vader Add ktlint fixer support. 2019-01-20 19:39:47 -06:00
test_lacheck_handler.vader Add tests to lacheck linter 2018-12-11 23:44:06 +09:00
test_languagetool_handler.vader linter/markdown: adds support for languatool (#2155) 2019-03-09 13:55:54 +00:00
test_lessc_handler.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_llc_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_luac_handler.vader Add a luac linter for Lua 2018-01-08 23:32:02 +08:00
test_luacheck_handler.vader Add a luac linter for Lua 2018-01-08 23:32:02 +08:00
test_markdownlint_handler.vader add test for markdownlint hander 2018-03-03 19:32:32 -05:00
test_mcs_handler.vader #852 - Capture error codes for mcs and mcsc 2017-11-19 00:19:09 +00:00
test_mcsc_handler.vader Try to fix it again 2018-03-02 20:57:55 +00:00
test_mercury_mmc_handler.vader add support for mercury language using mmc as linter 2018-03-25 13:33:24 -04:00
test_mix_handler.vader handled temp file and env variable correctly; added tests 2018-06-02 13:03:56 -04:00
test_msgfmt_hander.vader Fix #1584 - Make duplicate msgfmt messages easier to navigate 2018-05-15 18:01:49 +01:00
test_mypy_handler.vader Allow syntax errors for mypy to be ignored 2018-01-11 16:43:10 +00:00
test_nagelfar_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_nasm_handler.vader smallfix 2018-05-04 22:33:08 +02:00
test_nim_handler.vader #852 - Capture error codes for nimcheck 2017-11-19 00:38:00 +00:00
test_nix_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_perl6_handler.vader Fix crashes with incomplete errors 2018-10-03 14:13:34 -07:00
test_perl_handler.vader Adds tests for perl-linter where a second file/line is included in error 2018-12-19 08:30:23 -05:00
test_perlcritic_handler.vader perlcritic: all issues are warnings 2017-11-12 10:56:53 +00:00
test_php_handler.vader Fix PHP linter to support PHP 7.2 lint output 2017-12-13 21:23:18 +00:00
test_php_phan_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_php_phpmd_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_phpcs_handler.vader Close #908 - Report phpcs problems as style problems 2019-05-14 22:58:58 +01:00
test_phpstan_handler.vader Better phpstan default configuration (#2444) 2019-05-01 23:14:39 +01:00
test_pmd_handler.vader Fix PMD not working with classes without package 2018-10-02 21:34:11 +01:00
test_pony_handler.vader functional pony linter 2018-02-10 13:17:53 -06:00
test_powershell_handler.vader Linter for powershell syntax errors (#2413) 2019-04-13 12:24:56 +01:00
test_prospector_handler.vader Fix prospector empty string error 2018-06-26 16:58:34 -07:00
test_psscriptanalyzer_handler.vader PSScriptAnalyzer (#2370) 2019-03-29 15:25:55 +00:00
test_puglint_handler.vader Close #791 - Handle exceptions for puglint 2019-05-13 21:57:44 +01:00
test_puppet_handler.vader Fix for puppet version 5.4.0 2018-05-29 08:55:08 +02:00
test_pycodestyle_handler.vader #476 Make F401 a warning and E112 a syntax error 2018-02-18 09:44:04 +00:00
test_pydocstyle_handler.vader Fixed parsing of pydocstyle errors 2019-01-14 20:36:14 -05:00
test_pyflakes_handler.vader Fix #516 - Add support for pyflakes for Python 2017-11-17 18:11:28 +00:00
test_pylama_handler.vader pylama: Use %s instead of %t 2019-02-12 10:45:26 -07:00
test_pylint_handler.vader Add option to show msg id when pylint is used (#2445) 2019-05-09 17:28:18 +01:00
test_pyrex_cython_handler.vader Handle cython warning with custom handle and remove '--warning-errors'. 2018-06-25 17:33:53 +02:00
test_qmlfmt_handler.vader Integration of qmlfmt linting tool (#1462) 2018-04-05 21:09:41 +02:00
test_qmllint_handler.vader Add basic qmllint support (#1419) 2018-03-25 11:55:59 +01:00
test_raco_handler.vader Racket linting using raco (#2146) 2019-01-14 19:45:33 +00:00
test_rails_best_practices_handler.vader Get more tests to pass on Windows 2017-09-11 22:25:15 +01:00
test_redpen_handler.vader #2395 - Handle empty output for redpen 2019-03-29 16:09:27 +00:00
test_reek_handler.vader #852 - Capture error codes for reek 2017-11-19 00:54:09 +00:00
test_remark_lint_handler.vader fix: Handle ranges for the remark linter #1207 2018-03-22 11:47:16 +01:00
test_rpmlint_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_rstcheck_lint_handler.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_rubocop_handler.vader Adds standardrb linter (#2133) 2018-12-10 14:02:32 -07:00
test_ruby_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_rust_handler.vader set correct Rust span end column 2019-03-02 16:17:17 +01:00
test_scala_handler.vader Add fsc linter for Scala (#1452) 2018-04-05 21:04:11 +02:00
test_scalastyle_handler.vader #977 Complain about the lack of configuration files for scalastyle in such a way that users will be directed towards getting it to work 2017-10-15 00:20:43 +01:00
test_shell_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_shellcheck_handler.vader #852 Capture error codes for shellcheck 2017-11-15 17:26:52 +00:00
test_slim_handler.vader #852 - Capture error codes for slim-lint 2017-11-19 01:08:20 +00:00
test_sml_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_solhint_handler.vader Extract error code from message 2017-12-05 16:02:15 -03:00
test_sqlint_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_standard_handler.vader Fix the standard and xo handlers so they call the eslint function 2017-06-21 11:15:05 +01:00
test_stylelint_handler.vader #852 - Capture error codes for stylelint 2017-11-19 12:30:20 +00:00
test_swaglint_handler.vader #852 - Capture error codes for swaglint 2017-11-19 12:46:06 +00:00
test_swiftlint_handler.vader #852 - Capture error codes for swiftlint 2017-11-19 13:33:20 +00:00
test_swipl_handler.vader Add prolog swipl linter (#1979) 2018-10-26 17:29:17 +01:00
test_syntaxerl_handler.vader Update SyntaxErl linter tests 2017-08-19 17:18:48 +03:00
test_textlint_handler.vader add textlint support for markdown (#1383) 2018-03-18 17:28:26 +00:00
test_tflint_handler.vader #852 - Capture error codes for tflint 2017-11-19 13:37:56 +00:00
test_thrift_handler.vader Add a linter for Apache Thrift IDL files 2017-08-30 11:08:06 -07:00
test_tslint_handler.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_typecheck_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_vale_handler.vader Missing warning level 'suggestion' for vale 2017-12-18 17:10:57 +01:00
test_vcom_handler.vader Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
test_vint_handler.vader Handle multiple files localtion lists with gcc handler (#1034) 2017-10-25 22:29:36 +01:00
test_vlog_handler.vader Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
test_vulture_handler.vader Support pylama for python (#2266) 2019-02-08 21:44:34 +00:00
test_write_good_handler.vader Set better highlights for write-good 2017-10-25 00:58:16 +01:00
test_xmllint_handler.vader Clean up tests to stop people copy and pasting the wrong examples 2017-11-15 17:21:17 +00:00
test_xvhdl_handler.vader Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
test_xvlog_handler.vader Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
test_yamllint_handler.vader Respect ale_warn_about_trailing_whitespace for yamllint 2018-07-01 13:49:40 +01:00