summaryrefslogtreecommitdiff
path: root/test/command_callback/test_c_ccls_command_callbacks.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-20 22:11:22 +0000
committerw0rp <devw0rp@gmail.com>2021-03-20 22:11:42 +0000
commitb1d833417bcb57e265e0d01df07b28f463529d4b (patch)
tree11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/command_callback/test_c_ccls_command_callbacks.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/command_callback/test_c_ccls_command_callbacks.vader')
-rw-r--r--test/command_callback/test_c_ccls_command_callbacks.vader22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/command_callback/test_c_ccls_command_callbacks.vader b/test/command_callback/test_c_ccls_command_callbacks.vader
index 04643d02..a4f575c6 100644
--- a/test/command_callback/test_c_ccls_command_callbacks.vader
+++ b/test/command_callback/test_c_ccls_command_callbacks.vader
@@ -16,27 +16,27 @@ Execute(The project root should be detected correctly using compile_commands.jso
AssertLSPProject ''
- call ale#test#SetFilename('ccls_paths/with_compile_commands_json/dummy.c')
+ call ale#test#SetFilename('../test-files/ccls/with_compile_commands_json/dummy.c')
- AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_compile_commands_json')
+ AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ccls/with_compile_commands_json')
Execute(The project root should be detected correctly using .ccls file):
call ale#test#SetFilename(tempname() . '/dummy.c')
AssertLSPProject ''
- call ale#test#SetFilename('ccls_paths/with_ccls/dummy.c')
+ call ale#test#SetFilename('../test-files/ccls/with_ccls/dummy.c')
- AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_ccls')
+ AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ccls/with_ccls')
Execute(The project root should be detected correctly using .ccls-root file):
call ale#test#SetFilename(tempname() . '/dummy.c')
AssertLSPProject ''
- call ale#test#SetFilename('ccls_paths/with_ccls-root/dummy.c')
+ call ale#test#SetFilename('../test-files/ccls/with_ccls-root/dummy.c')
- AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_ccls-root')
+ AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ccls/with_ccls-root')
Execute(The executable should be configurable):
AssertLinter 'ccls', ale#Escape('ccls')
@@ -53,17 +53,17 @@ Execute(The initialization options should be configurable):
AssertLSPOptions { 'cacheDirectory': '/tmp/ccls' }
Execute(The compile command database should be detected correctly):
- call ale#test#SetFilename('ccls_paths/with_ccls/dummy.c')
+ call ale#test#SetFilename('../test-files/ccls/with_ccls/dummy.c')
AssertLSPOptions {}
- call ale#test#SetFilename('ccls_paths/with_compile_commands_json/dummy.c')
+ call ale#test#SetFilename('../test-files/ccls/with_compile_commands_json/dummy.c')
AssertLSPOptions { 'compilationDatabaseDirectory':
- \ ale#path#Simplify(g:dir . '/ccls_paths/with_compile_commands_json') }
+ \ ale#path#Simplify(g:dir . '/../test-files/ccls/with_compile_commands_json') }
- call ale#test#SetFilename('ccls_paths/with_build_dir/dummy.c')
+ call ale#test#SetFilename('../test-files/ccls/with_build_dir/dummy.c')
let b:ale_c_build_dir_names = ['unusual_build_dir_name']
AssertLSPOptions { 'compilationDatabaseDirectory':
- \ ale#path#Simplify(g:dir . '/ccls_paths/with_build_dir/unusual_build_dir_name') }
+ \ ale#path#Simplify(g:dir . '/../test-files/ccls/with_build_dir/unusual_build_dir_name') }