summaryrefslogtreecommitdiff
path: root/test/command_callback/test_javalsp_command_callback.vader
blob: aedb4a4b899167ca4ebebc19520ab7978d99c708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Before:
  call ale#assert#SetUpLinterTest('java', 'javalsp')

After:
  call ale#assert#TearDownLinterTest()

Execute(The javalsp callback should return the correct default value):
  AssertLinter 'java', ale#Escape('java') . ' -cp javacs.jar -Xverify:none org.javacs.Main'

Execute(The javalsp java executable should be configurable):
  let b:ale_java_javalsp_executable = '/bin/foobar'

  AssertLinter '/bin/foobar', ale#Escape('/bin/foobar') . ' -cp javacs.jar -Xverify:none org.javacs.Main'