summaryrefslogtreecommitdiff
path: root/test/command_callback/test_c_import_paths.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_c_import_paths.vader')
-rw-r--r--test/command_callback/test_c_import_paths.vader44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/command_callback/test_c_import_paths.vader b/test/command_callback/test_c_import_paths.vader
index 3c2bd79b..19e39915 100644
--- a/test/command_callback/test_c_import_paths.vader
+++ b/test/command_callback/test_c_import_paths.vader
@@ -37,126 +37,126 @@ After:
Execute(The C cc linter should include 'include' directories for projects with a Makefile):
call ale#assert#SetUpLinterTest('c', 'cc')
- call ale#test#SetFilename('../test_c_projects/makefile_project/subdir/file.c')
+ call ale#test#SetFilename('../test-files/c/makefile_project/subdir/file.c')
let g:ale_c_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/makefile_project/include'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/makefile_project/include'))
\ . ' -'
Execute(The C cc linter should include 'include' directories for projects with a configure file):
call ale#assert#SetUpLinterTest('c', 'cc')
- call ale#test#SetFilename('../test_c_projects/configure_project/subdir/file.c')
+ call ale#test#SetFilename('../test-files/c/configure_project/subdir/file.c')
let g:ale_c_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/configure_project/include'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/configure_project/include'))
\ . ' -'
Execute(The C cc linter should include root directories for projects with .h files in them):
call ale#assert#SetUpLinterTest('c', 'cc')
- call ale#test#SetFilename('../test_c_projects/h_file_project/subdir/file.c')
+ call ale#test#SetFilename('../test-files/c/h_file_project/subdir/file.c')
let g:ale_c_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/h_file_project'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/h_file_project'))
\ . ' -'
Execute(The C cc linter should include root directories for projects with .hpp files in them):
call ale#assert#SetUpLinterTest('c', 'cc')
- call ale#test#SetFilename('../test_c_projects/hpp_file_project/subdir/file.c')
+ call ale#test#SetFilename('../test-files/c/hpp_file_project/subdir/file.c')
let g:ale_c_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/hpp_file_project'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/hpp_file_project'))
\ . ' -'
Execute(The C ClangTidy handler should include 'include' directories for projects with a Makefile):
call ale#assert#SetUpLinterTest('c', 'clangtidy')
- call ale#test#SetFilename('../test_c_projects/makefile_project/subdir/file.cpp')
+ call ale#test#SetFilename('../test-files/c/makefile_project/subdir/file.cpp')
let g:ale_c_clangtidy_options = ''
AssertLinter 'clang-tidy',
\ ale#Escape('clang-tidy')
\ . ' %s '
- \ . '-- -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/makefile_project/include'))
+ \ . '-- -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/makefile_project/include'))
Execute(The C++ cc linter should include 'include' directories for projects with a Makefile):
call ale#assert#SetUpLinterTest('cpp', 'cc')
- call ale#test#SetFilename('../test_c_projects/makefile_project/subdir/file.cpp')
+ call ale#test#SetFilename('../test-files/c/makefile_project/subdir/file.cpp')
let g:ale_cpp_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c++ -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/makefile_project/include'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/makefile_project/include'))
\ . ' -'
Execute(The C++ cc linter should include 'include' directories for projects with a configure file):
call ale#assert#SetUpLinterTest('cpp', 'cc')
- call ale#test#SetFilename('../test_c_projects/configure_project/subdir/file.cpp')
+ call ale#test#SetFilename('../test-files/c/configure_project/subdir/file.cpp')
let g:ale_cpp_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c++ -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/configure_project/include'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/configure_project/include'))
\ . ' -'
Execute(The C++ cc linter should include root directories for projects with .h files in them):
call ale#assert#SetUpLinterTest('cpp', 'cc')
- call ale#test#SetFilename('../test_c_projects/h_file_project/subdir/file.cpp')
+ call ale#test#SetFilename('../test-files/c/h_file_project/subdir/file.cpp')
let g:ale_cpp_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c++ -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/h_file_project'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/h_file_project'))
\ . ' -'
Execute(The C++ cc linter should include root directories for projects with .hpp files in them):
call ale#assert#SetUpLinterTest('cpp', 'cc')
- call ale#test#SetFilename('../test_c_projects/hpp_file_project/subdir/file.cpp')
+ call ale#test#SetFilename('../test-files/c/hpp_file_project/subdir/file.cpp')
let g:ale_cpp_cc_options = ''
AssertLinter 'gcc',
\ ale#Escape('gcc')
\ . ' -S -x c++ -o ' . (has('win32') ? 'nul': '/dev/null')
\ . ' -iquote %s:h'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/hpp_file_project'))
+ \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/hpp_file_project'))
\ . ' -'
Execute(The C++ ClangTidy handler should include json folders for projects with suitable build directory in them):
call ale#assert#SetUpLinterTest('cpp', 'clangtidy')
- call ale#test#SetFilename('../test_c_projects/json_project/subdir/file.cpp')
+ call ale#test#SetFilename('../test-files/c/json_project/subdir/file.cpp')
AssertLinter 'clang-tidy',
\ ale#Escape('clang-tidy')
\ . ' %s '
- \ . '-p ' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/json_project/build'))
+ \ . '-p ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/json_project/build'))
Execute(The C++ ClangTidy handler should include 'include' directories for projects with a Makefile):
call ale#assert#SetUpLinterTest('cpp', 'clangtidy')
- call ale#test#SetFilename('../test_c_projects/makefile_project/subdir/file.cpp')
+ call ale#test#SetFilename('../test-files/c/makefile_project/subdir/file.cpp')
let g:ale_cpp_clangtidy_options = ''
AssertLinter 'clang-tidy',
\ ale#Escape('clang-tidy')
\ . ' %s '
- \ . '-- -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test_c_projects/makefile_project/include'))
+ \ . '-- -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/c/makefile_project/include'))