summaryrefslogtreecommitdiff
path: root/test/command_callback/test_cs_mcsc_command_callbacks.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-21 00:21:49 +0000
committerw0rp <devw0rp@gmail.com>2021-03-21 00:25:33 +0000
commitf7852dbd0a063d6d82ee17a5057fea53cb79b21d (patch)
tree00b98a3c668af9313eedd6936475c81eeef7e9b8 /test/command_callback/test_cs_mcsc_command_callbacks.vader
parent35caaecc9fc5822f0474e913d0b7655048fd30ee (diff)
downloadale-f7852dbd0a063d6d82ee17a5057fea53cb79b21d.zip
#3633 - Move linter tests into test/linter
Diffstat (limited to 'test/command_callback/test_cs_mcsc_command_callbacks.vader')
-rw-r--r--test/command_callback/test_cs_mcsc_command_callbacks.vader42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/command_callback/test_cs_mcsc_command_callbacks.vader b/test/command_callback/test_cs_mcsc_command_callbacks.vader
deleted file mode 100644
index e784cf15..00000000
--- a/test/command_callback/test_cs_mcsc_command_callbacks.vader
+++ /dev/null
@@ -1,42 +0,0 @@
-Before:
- call ale#assert#SetUpLinterTest('cs', 'mcsc')
-
-After:
- call ale#assert#TearDownLinterTest()
-
-Execute(The mcsc linter should return the correct default command):
- AssertLinterCwd expand('%:p:h')
- AssertLinter 'mcs', 'mcs -unsafe -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
-
-Execute(The options should be be used in the command):
- let g:ale_cs_mcsc_options = '-pkg:dotnet'
-
- AssertLinter 'mcs', 'mcs -unsafe -pkg:dotnet -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
-
-Execute(The souce path should be be used in the command):
- let g:ale_cs_mcsc_source = '../foo/bar'
-
- AssertLinterCwd '../foo/bar'
- AssertLinter 'mcs', 'mcs -unsafe -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
-
-Execute(The list of search pathes for assemblies should be be used in the command if not empty):
- let g:ale_cs_mcsc_assembly_path = ['/usr/lib/mono', '../foo/bar']
-
- AssertLinter 'mcs', 'mcs -unsafe'
- \ . ' -lib:' . ale#Escape('/usr/lib/mono') . ',' . ale#Escape('../foo/bar')
- \ . ' -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
-
- let g:ale_cs_mcsc_assembly_path = []
-
- AssertLinter 'mcs', 'mcs -unsafe -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
-
-Execute(The list of assemblies should be be used in the command if not empty):
- let g:ale_cs_mcsc_assemblies = ['foo.dll', 'bar.dll']
-
- AssertLinter 'mcs', 'mcs -unsafe'
- \ . ' -r:' . ale#Escape('foo.dll') . ',' . ale#Escape('bar.dll')
- \ . ' -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
-
- let g:ale_cs_mcsc_assemblies = []
-
- AssertLinter 'mcs', 'mcs -unsafe -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')