File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 11* .class
2+ * .html
23test /* .java
Original file line number Diff line number Diff line change @@ -32,28 +32,32 @@ Plugin 'wsdjeg/JavaUnit.vim'
3232
3333- command
3434
35- JavaUnitTest
35+ JavaUnitExec
3636
3737test the current methond(no need put the cursor on the methodName)
3838![ 2015-11-16 23-40-05] ( https://cloud.githubusercontent.com/assets/13142418/11186276/e153459c-8cbb-11e5-9724-9589066176d0.png )
3939
40- JavaUnitTest [ args ...]
40+ JavaUnitExec [ args ...]
4141
4242test specification method
4343
44- example JavaUnitTest testMethod1 testMethod2 testMethod3 ...
44+ example JavaUnitExec testMethod1 testMethod2 testMethod3 ...
4545![ 2015-11-16 23-40-25] ( https://cloud.githubusercontent.com/assets/13142418/11186274/e1520d9e-8cbb-11e5-90e1-17e6cfbc5a09.png )
4646
47+ JavaUnitTestMain
48+
49+ run the main methon of current class
50+
4751also you can use ` JavaUnitTestAll ` ,then will run all the testMethod in the current file
4852![ 2015-11-16 23-40-43] ( https://cloud.githubusercontent.com/assets/13142418/11186273/e132f580-8cbb-11e5-94d3-81dfda614abf.png )
4953
5054support for maven project
5155
52- JavaUnitMavenTest test current file
56+ JavaUnitTestMaven test current file
5357
5458![ JavaUnitMavenTest] ( https://cloud.githubusercontent.com/assets/13142418/11186066/ef8f70aa-8cba-11e5-9869-13f39a782ad7.png )
5559
56- JavaUnitMavenTestAll test this project
60+ JavaUnitTestMavenAll test this project
5761
5862![ JavaUnitMavenTestAll] ( https://cloud.githubusercontent.com/assets/13142418/11186033/baf6f64c-8cba-11e5-989c-cd3dacb038b3.png )
5963
Original file line number Diff line number Diff line change 88let g: JavaUnit_loaded = 1
99
1010command ! -nargs =*
11- \ JavaUnitTest
11+ \ JavaUnitExec
1212 \ call javaunit#TestMethod (<q-args> )
1313
1414command ! -nargs =0
15- \ JavaUnitExec
15+ \ JavaUnitTestMain
1616 \ call javaunit#TestMain ()
1717
1818command ! -nargs =0
@@ -32,7 +32,7 @@ command! -nargs=? -complete=file
3232 \ call javaunit#NewTestClass (expand (" %:t:r" ))
3333
3434command ! -nargs =0
35- \ JavaUnitCompile
35+ \ JavaUnitServerCompile
3636 \ call javaunit#Compile ()
3737
3838let &cpo = s: save_cpo
You can’t perform that action at this time.
0 commit comments