install.fairie/dotfiles/.vim/plugged/ale/test/linter/test_kotlin_languageserver.vader
Git E2E Dev Test Username e149692cc9 git subrepo clone https://github.com/dense-analysis/ale.git ./dotfiles/.vim/plugged/ale
subrepo:
  subdir:   "dotfiles/.vim/plugged/ale"
  merged:   "e4b205440"
upstream:
  origin:   "https://github.com/dense-analysis/ale.git"
  branch:   "master"
  commit:   "e4b205440"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-10-18 10:37:09 -04:00

23 lines
957 B
Text

Before:
call ale#assert#SetUpLinterTest('kotlin', 'languageserver')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'kotlin-language-server', ale#Escape('kotlin-language-server')
Execute(Gradle project roots with build.gradle should be detected correctly):
call ale#test#SetFilename('../test-files/gradle/build-gradle-project/src/main/kotlin/dummy.kt')
AssertLSPProject ale#test#GetFilename('../test-files/gradle/build-gradle-project')
Execute(Maven project roots with pom.xml should be detected correctly):
call ale#test#SetFilename('../test-files/maven/maven-kotlin-project/src/main/kotlin/dummy.kt')
AssertLSPProject ale#test#GetFilename('../test-files/maven/maven-kotlin-project')
Execute(No root should be detected if configuration files can't be found):
call ale#test#SetFilename('../test-files/gradle/non-gradle-project/src/main/kotlin/dummy.kt')
AssertLSPProject ''