ale/test
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
..
.config/nvim Run all tests in NeoVim, improve the test script, and make all tests pass for NeoVim 2017-05-12 20:38:52 +01:00
command_callback Fix eclipse.jdt.ls workspace data path. 2019-05-22 09:23:03 +09:00
compile_database_perf Improve perf for compile dbs in large projects 2019-01-06 00:41:57 -08:00
completion Close #2285 - Add a function for use with omnifunc 2019-05-17 00:57:52 +01:00
csslint-test-files Fix #260 automatically set .csslintrc files from ancestor directories 2017-03-29 00:56:39 +01:00
cucumber_fixtures/features Add cucumber checker for cucumber files 2018-04-20 22:54:29 -04:00
dart_files Added dartfmt fixer (#1683) 2018-07-01 13:55:41 +01:00
elixir-test-files new fixer elixir mix format 2017-10-22 19:20:38 -04:00
elm-test-files fallback to elm if elm-tests isn’t available 2019-01-04 09:55:35 +02:00
eslint-test-files Fix #923 Use package.json as a last resort for eslint --fix 2017-09-12 09:10:37 +01:00
fix Fix #2497 - ALE should not lint on save when disabled after fixing 2019-05-13 13:44:29 +01:00
fixers Fix #1989 - Use ESlint options for fixers too 2019-05-17 20:45:25 +01:00
flow Fix #246 Don't run flow if there's no .flowconfig 2017-02-10 22:47:56 +00:00
go_files Add fixer for Go modules (#1873) 2018-09-19 19:33:23 +01:00
gradle-test-files Kotlin and general Gradle support. (#745) 2017-07-10 23:03:36 +01:00
hamllint-test-files force add test fixtures for hamllint 2017-10-25 21:35:24 +02:00
handler Fix java checkstyle handler. 2019-05-28 17:48:27 +09:00
javascript_files added importjs fixer 2017-12-05 00:37:31 +09:00
json_files Support fixing JSON files with fixjson 2018-01-24 10:36:31 +00:00
jsonlint-test-files support jsonlint local executable 2019-03-15 16:21:48 -05:00
kotlin_files Add ktlint fixer support. 2019-01-20 19:39:47 -06:00
lsp Fix LSP tests 2019-05-24 01:13:52 +01:00
markdown_files Add textlint for Asciidoc and add it to Fixers (#2193) 2019-01-10 18:53:45 +00:00
maven-test-files/maven-kotlin-project Add kotlin language server support (#1725) 2018-07-15 18:54:18 +01:00
ocaml-test-files add ocamlformat support 2018-08-26 13:47:56 +02:00
phpcs-test-files Fix some escaping and make some tests set filenames consistently 2017-06-21 22:33:34 +01:00
prettier-test-files Set --parser option in Prettier's fixer (#1620) 2018-06-18 22:40:57 +01:00
puppet-test-files Start of vader tests for puppet root detection 2018-07-05 21:25:03 +02:00
python Revert "Fix #2492 - Remove all Deoplete support for now" 2019-05-21 13:53:09 +01:00
python_fixtures/pipenv Add python_[linter]_auto_pipenv options for python linters (fixes #1656) 2018-09-15 22:10:46 -04:00
python-test-files/python-package-project Test for Python project root directory 2019-05-19 09:51:26 -04:00
reasonml_files refmt fixer for ReasonML 2017-10-29 21:48:28 +01:00
ruby_fixtures Add solargraph.yml file as root path search file. 2018-09-05 07:12:04 +09:00
rust_files add rustfmt fixer 2017-10-21 12:31:49 -05:00
scala_fixtures Changed sbtserver to just work off of the address variable 2018-09-01 21:03:29 -04:00
script Revert "Fix #2492 - Remove all Deoplete support for now" 2019-05-21 13:53:09 +01:00
sign #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
slimlint-test-files slimlint: Search for .rubocop.yml and use it 2017-09-15 18:56:59 +02:00
smlnj Detect and use CM files for smlnj (#884) 2017-09-03 19:56:14 +01:00
swift-test-files [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
swiftlint-test-files Add support for Pod based SwiftLint (#2122) 2018-12-07 15:20:58 -07:00
test_c_projects Fix #2421 - Use compile_commands.json in build dirs to find roots 2019-05-20 19:57:08 +01:00
tex_files Add support for latexindent (#2387) 2019-04-13 13:21:59 +01:00
tflint-test-files/foo Add tflint fot Terraform 2017-10-26 19:37:04 +01:00
top Improve mypy handling a little bit more 2017-01-20 17:30:34 +00:00
util fix has('unix') equal 0 is windows. 2018-10-24 08:29:11 +09:00
dumb_tcp_client.py #830 Implement a socket wrapper API for use with LSP connections 2018-07-02 23:49:47 +01:00
dumb_tcp_server.py #830 Implement a socket wrapper API for use with LSP connections 2018-07-02 23:49:47 +01:00
smoke_test.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_ale_has.vader #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
test_ale_info.vader Stop a test from failing randomly 2019-05-21 14:01:58 +01:00
test_ale_lint_command.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_ale_toggle.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_ale_var.vader Remove the redundant fix_buffer_data vars and filename variables 2018-07-22 22:31:46 +01:00
test_alejobstarted_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_alelint_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_autocmd_commands.vader Test that we CleanupEveryBuffer when vim supports it 2018-09-17 21:26:25 +01:00
test_backwards_compatibility.vader Rename g:ale_linters_sh_* to g:ale_sh_* 2017-04-30 22:38:28 +02:00
test_balloon_messages.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_c_flag_parsing.vader #782 - Use compile commands for matching source files for headers 2019-04-15 21:38:11 +01:00
test_checkingbuffer_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_cleanup.vader Clean up ALE linter buffer data when buffers are deleted, not unloaded 2017-12-19 15:35:57 +00:00
test_command_chain.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_csslint_config_detection.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_cursor_warnings.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_deferred_command_string.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_deferred_executable_string.vader #2132 - Implement deferred command handling for linters 2019-02-21 21:24:41 +00:00
test_disabling_ale.vader Fix #577 Add an option preventing linting of large files 2017-05-26 21:21:15 +01:00
test_dockerfile_hadolint_linter.vader Added tests for hadolint 2018-01-29 22:21:50 +01:00
test_engine_invocation.vader Remove ProcessChain code we do not need now 2019-02-13 17:56:10 +00:00
test_env_function.vader Massively reduce the amount of code needed for linter tests 2018-07-15 18:28:28 +01:00
test_errors_removed_after_filetype_changed.vader Simplify code for marking linters as active 2019-02-14 10:10:46 +00:00
test_eslint_executable_detection.vader #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
test_filetype_linter_defaults.vader Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
test_filetype_mapping.vader #283 Fix linting buffers with no filename, by creating a filename with a guess for the file extension 2017-02-13 10:36:38 +00:00
test_find_nearest_directory.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_find_references.vader Fix #2402 - Handle null LSP references responses 2019-03-29 13:42:24 +00:00
test_flow_command.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_format_command.vader #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
test_format_temporary_file_creation.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_function_arg_count.vader Move all functions for fixing things to autoload/ale/fixers, and only accept the lines of input where needed. 2017-06-07 14:02:29 +01:00
test_fuzzy_json_decode.vader Fix #988 - Support --fix-dry-run for ESLint by processing the JSON output 2017-11-22 23:23:14 +00:00
test_get_abspath.vader Fix #1210 - Fix a Windows path issue which broke TSLint 2017-12-18 13:27:59 +00:00
test_get_loclist.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_getmatches.vader Add a function for getting matches, and use it to simplify a lot of code 2017-04-18 00:35:53 +01:00
test_go_to_definition.vader Add support for Vim's tagstack to ALEGoToDefinition 2019-04-19 23:10:55 -04:00
test_gradle_build_classpath_command.vader ale#path#CdString include ale#Escape 2018-10-23 23:20:27 +09:00
test_gradle_find_executable.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_gradle_find_project_root.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_highlight_placement.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_highlight_position_chunking.vader Fix #604 - Support highlights spanning many lines 2017-05-31 13:14:39 +01:00
test_history_saving.vader Fix LSP tests 2019-05-24 01:13:52 +01:00
test_hover.vader Fix #2295 - Respond to initialize with an initialized message 2019-02-15 08:54:53 +00:00
test_ignoring_linters.vader Fix LSP tests 2019-05-24 01:13:52 +01:00
test_jsonlint_executable_detection.vader #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
test_kotlin_languageserver_path_detection.vader Add kotlin language server support (#1725) 2018-07-15 18:54:18 +01:00
test_line_join.vader #830 Implement a socket wrapper API for use with LSP connections 2018-07-02 23:49:47 +01:00
test_lint_file_linters.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_lint_on_enter_when_file_changed.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_lint_on_filetype_changed.vader Fix #1619 - Rewrite lint on enter events so they behave better 2018-07-17 00:18:34 +01:00
test_linter_defintion_processing.vader #2132 - Implement project_root as a replacement for project_root_callback 2019-02-22 15:24:34 +00:00
test_linter_retrieval.vader #2132 Remove the need for the hidden add_newline option by tweaking the flow command 2019-01-12 13:14:29 +00:00
test_linter_type_mapping.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_linting_blacklist.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_linting_updates_loclist.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_list_formatting.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_list_opening.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_list_titles.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_load_all_linters.vader #427 Implement buffer variable overrides for all linter options 2017-04-16 01:24:08 +01:00
test_loclist_binary_search.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_loclist_corrections.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_loclist_jumping.vader Fix #1317 - Jump to column 1 for problems at column 0 2019-05-17 22:08:03 +01:00
test_loclist_sorting.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_nearest_file_search.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_no_linting_on_write_quit.vader Fix #2497 - ALE should not lint on save when disabled after fixing 2019-05-13 13:44:29 +01:00
test_other_sources.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_parse_command_args.vader Add a function for parsing command args 2019-02-07 18:10:34 +00:00
test_path_dirname.vader Add support for parsing compile_commands.json files for C compilers 2018-07-29 19:24:27 +01:00
test_path_equality.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_path_upwards.vader Fix #1210 - Fix a Windows path issue which broke TSLint 2017-12-18 13:27:59 +00:00
test_path_uri.vader #2357 Handle Windows paths where the drive letter colon is encoded 2019-03-13 16:44:29 +00:00
test_pattern_options.vader Fix #1619 - Rewrite lint on enter events so they behave better 2018-07-17 00:18:34 +01:00
test_prepare_command.vader Fix a test on Windows 2019-01-04 14:51:55 +00:00
test_puppet_path_detection.vader Start of vader tests for puppet root detection 2018-07-05 21:25:03 +02:00
test_python_find_project_root.vader Test for Python project root directory 2019-05-19 09:51:26 -04:00
test_python_pipenv.vader Add python_[linter]_auto_pipenv options for python linters (fixes #1656) 2018-09-15 22:10:46 -04:00
test_python_traceback.vader Support pylama for python (#2266) 2019-02-08 21:44:34 +00:00
test_python_virtualenv.vader Add a test to ensure $VIRTUAL_ENV is respected. 2017-10-11 13:42:38 -07:00
test_quickfix_deduplication.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_quitting_variable.vader Fix #1619 - Rewrite lint on enter events so they behave better 2018-07-17 00:18:34 +01:00
test_redundant_tsserver_rendering_avoided.vader #2403 - Make ale_disable_lsp apply consistently, and document it better 2019-05-10 13:42:41 +01:00
test_regex_escaping.vader #756 Escape the paths used for the --include parameter for gometalinter, which uses RE2 2017-07-11 23:47:21 +01:00
test_resolve_local_path.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_results_not_cleared_when_opening_loclist.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_sandbox_execution.vader #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
test_semver_utils.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_set_list_timers.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_setting_loclist_from_another_buffer.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_setting_problems_found_in_previous_buffers.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_shell_detection.vader Add better detection for KornShell/ksh 2019-01-24 14:14:49 -05:00
test_should_do_nothing_conditions.vader Fix #2399 - Do not check buffers used for displaying diffs 2019-04-08 13:42:09 +01:00
test_sml_command.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_socket_connections.vader #830 Make the LSP socket code so far use the new socket API 2018-07-03 00:30:26 +01:00
test_statusline.vader Extend statusline interface (#2240) 2019-01-27 12:44:49 +00:00
test_swift_find_project_root.vader [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
test_swiftlint_executable_detection.vader #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
test_symbol_search.vader #2132 Use an on-init callback for all LSP logic 2019-02-13 17:26:37 +00:00
test_temporary_file_management.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_tmpdir_wrapper.vader Only temporarily replace TMPDIR if it's defined to be an empty string 2018-07-16 08:45:55 +01:00
test_verilog_verilator_options.vader #2017 Simplify lint cycles for supporting other sources later 2018-10-29 11:29:21 +00:00
test_vim8_processid_parsing.vader Refactor jobs into a Vim version agnostic API which can be used for other purposes 2017-05-12 21:16:15 +01:00
test_windows_escaping.vader Fix #549 - escape strings more appropriately for use with cmd /c 2017-05-26 00:06:16 +01:00
test_wrap_comand.vader Fix a command wrapper test on Windows 2018-01-17 18:11:20 +00:00
test_writefile_function.vader Make a test fail less 2019-05-20 19:27:47 +01:00
vimrc Close #2132 - Add deprecation warnings for old features 2019-04-07 16:24:08 +01:00