File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 2
2
<template name =" tcase" value =" @Test fun `$NAME$`() { // GIVEN $CONTENT$ // WHEN // THEN }" description =" Create test case" toReformat =" false" toShortenFQNames =" true" >
3
3
<variable name =" NAME" expression =" " defaultValue =" " alwaysStopAt =" true" />
4
4
<variable name =" CONTENT" expression =" " defaultValue =" " alwaysStopAt =" true" />
5
- <context />
5
+ <context >
6
+ <option name =" KOTLIN" value =" true" />
7
+ </context >
6
8
</template >
7
9
<template name =" tnest" value =" @Nested @DisplayName(" $DISPLAY_NAME$" ) inner class $CLASS_NAME$ { $CONTENT$ } " description =" Create @Nested class" toReformat =" false" toShortenFQNames =" true" >
8
10
<variable name =" DISPLAY_NAME" expression =" " defaultValue =" " alwaysStopAt =" true" />
9
11
<variable name =" CLASS_NAME" expression =" " defaultValue =" " alwaysStopAt =" true" />
10
12
<variable name =" CONTENT" expression =" " defaultValue =" " alwaysStopAt =" true" />
11
- <context />
13
+ <context >
14
+ <option name =" KOTLIN" value =" true" />
15
+ </context >
12
16
</template >
13
17
<template name =" tmock" value =" @Mock private lateinit var $NAME$: $TYPE$" description =" Create @Mock property" toReformat =" false" toShortenFQNames =" true" >
14
18
<variable name =" NAME" expression =" capitalize(String)" defaultValue =" " alwaysStopAt =" true" />
15
19
<variable name =" TYPE" expression =" " defaultValue =" " alwaysStopAt =" true" />
16
- <context />
20
+ <context >
21
+ <option name =" KOTLIN" value =" true" />
22
+ </context >
17
23
</template >
18
24
<template name =" tgiven" value =" // GIVEN $CONTENT$ // WHEN // THEN" description =" Create Given When Then format" toReformat =" false" toShortenFQNames =" true" >
19
25
<variable name =" CONTENT" expression =" " defaultValue =" " alwaysStopAt =" true" />
20
- <context />
26
+ <context >
27
+ <option name =" KOTLIN" value =" true" />
28
+ </context >
21
29
</template >
22
30
</templateSet >
Original file line number Diff line number Diff line change 1
1
package $PACKAGE$
2
2
3
- import kr.co.finda.finda.ui.base.BaseViewModel
3
+ import kr.co.finda.finda.coreComponent. ui.base.BaseViewModel
4
4
5
5
class $NAME$ViewModel : BaseViewModel() {
6
6
You can’t perform that action at this time.
0 commit comments