diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/cquery_paths/build/compile_commands.json (renamed from test/command_callback/cquery_paths/with_compile_commands_json/compile_commands.json) | 0 | ||||
-rw-r--r-- | test/command_callback/test_c_cquery_command_callbacks.vader | 4 | ||||
-rw-r--r-- | test/command_callback/test_c_import_paths.vader | 2 | ||||
-rw-r--r-- | test/command_callback/test_cpp_cquery_command_callbacks.vader | 4 | ||||
-rw-r--r-- | test/test_c_projects/build_compile_commands_project/build/bad_folder_to_test_priority (renamed from test/test_c_projects/build/bad_folder_to_test_priority) | 0 | ||||
-rw-r--r-- | test/test_c_projects/build_compile_commands_project/build/compile_commands.json (renamed from test/test_c_projects/build/compile_commands.json) | 0 |
6 files changed, 6 insertions, 4 deletions
diff --git a/test/command_callback/cquery_paths/with_compile_commands_json/compile_commands.json b/test/command_callback/cquery_paths/build/compile_commands.json index e69de29b..e69de29b 100644 --- a/test/command_callback/cquery_paths/with_compile_commands_json/compile_commands.json +++ b/test/command_callback/cquery_paths/build/compile_commands.json diff --git a/test/command_callback/test_c_cquery_command_callbacks.vader b/test/command_callback/test_c_cquery_command_callbacks.vader index 13b7a567..a2e03889 100644 --- a/test/command_callback/test_c_cquery_command_callbacks.vader +++ b/test/command_callback/test_c_cquery_command_callbacks.vader @@ -7,9 +7,9 @@ After: Execute(The project root should be detected correctly using compile_commands.json file): AssertLSPProject '' - call ale#test#SetFilename('cquery_paths/with_compile_commands_json/dummy.c') + call ale#test#SetFilename('cquery_paths/dummy.c') - AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths/with_compile_commands_json') + AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths') Execute(The project root should be detected correctly using .cquery file): AssertLSPProject '' diff --git a/test/command_callback/test_c_import_paths.vader b/test/command_callback/test_c_import_paths.vader index f941e0fa..6c616d89 100644 --- a/test/command_callback/test_c_import_paths.vader +++ b/test/command_callback/test_c_import_paths.vader @@ -2,6 +2,7 @@ Before: " Make sure the c.vim file is loaded first. call ale#c#FindProjectRoot(bufnr('')) + Save g:ale_c_parse_compile_commands Save g:ale_c_parse_makefile Save g:__ale_c_project_filenames @@ -14,6 +15,7 @@ Before: \ 'v:val isnot# ''.git/HEAD''' \) + let g:ale_c_parse_compile_commands = 0 let g:ale_c_parse_makefile = 0 After: diff --git a/test/command_callback/test_cpp_cquery_command_callbacks.vader b/test/command_callback/test_cpp_cquery_command_callbacks.vader index 682c90d5..7eb2a284 100644 --- a/test/command_callback/test_cpp_cquery_command_callbacks.vader +++ b/test/command_callback/test_cpp_cquery_command_callbacks.vader @@ -10,9 +10,9 @@ After: Execute(The project root should be detected correctly using compile_commands.json file): AssertLSPProject '' - call ale#test#SetFilename('cquery_paths/with_compile_commands_json/dummy.cpp') + call ale#test#SetFilename('cquery_paths/dummy.cpp') - AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths/with_compile_commands_json') + AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths') Execute(The project root should be detected correctly using .cquery file): AssertLSPProject '' diff --git a/test/test_c_projects/build/bad_folder_to_test_priority b/test/test_c_projects/build_compile_commands_project/build/bad_folder_to_test_priority index e69de29b..e69de29b 100644 --- a/test/test_c_projects/build/bad_folder_to_test_priority +++ b/test/test_c_projects/build_compile_commands_project/build/bad_folder_to_test_priority diff --git a/test/test_c_projects/build/compile_commands.json b/test/test_c_projects/build_compile_commands_project/build/compile_commands.json index e69de29b..e69de29b 100644 --- a/test/test_c_projects/build/compile_commands.json +++ b/test/test_c_projects/build_compile_commands_project/build/compile_commands.json |