summaryrefslogtreecommitdiff
path: root/test/command_callback/test_javalsp_command_callback.vader
blob: 8bfaa8eeb61a0fe0a533a0cb49475fe6849d7641 (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') . ' -Xverify:none -m javacs/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') . ' -Xverify:none -m javacs/org.javacs.Main'