mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:40:05 +08:00
44 lines
939 B
VimL
44 lines
939 B
VimL
let s:save_cpo = &cpo
|
|
set cpo&vim
|
|
|
|
if exists('g:JavaUnit_loaded')
|
|
finish
|
|
endif
|
|
|
|
let g:JavaUnit_loaded = 1
|
|
|
|
command! -nargs=*
|
|
\ JavaUnitExec
|
|
\ call javaunit#TestMethod(<q-args>)
|
|
|
|
command! -nargs=*
|
|
\ JavaUnitTestMain
|
|
\ call javaunit#TestMain(<q-args>)
|
|
|
|
command! -nargs=0
|
|
\ JavaUnitTestAll
|
|
\ call javaunit#TestAllMethods()
|
|
|
|
command! -nargs=0
|
|
\ JavaUnitTestMaven
|
|
\ call javaunit#MavenTest()
|
|
|
|
command! -nargs=0
|
|
\ JavaUnitTestMavenAll
|
|
\ call javaunit#MavenTestAll()
|
|
|
|
command! -nargs=? -complete=file
|
|
\ JavaUnitNewTestClass
|
|
\ call javaunit#NewTestClass(expand("%:t:r"))
|
|
|
|
command! -nargs=0
|
|
\ JavaUnitServerCompile
|
|
\ call javaunit#Compile()
|
|
|
|
command! -nargs=0
|
|
\ JUGenerateM
|
|
\ call javaunit#GenerateTestMethods()
|
|
|
|
let &cpo = s:save_cpo
|
|
unlet s:save_cpo
|