Skip to content

Commit 1cda5dc

Browse files
author
seal
committed
Optimize package name declaration
1 parent be3b4a4 commit 1cda5dc

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/wu/seal/jsontokotlin/supporter/MoShiSupporterTest.kt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
package wu.seal.jsontokotlin.supporter
22

3-
import org.junit.*
3+
import org.junit.Before
44
import org.junit.Test
5-
6-
import wu.seal.jsontokotlin.supporter.MoShiSupporter
5+
import wu.seal.jsontokotlin.isTestModel
76

87
/**
98
*
109
* Created by Seal.Wu on 2017/11/1.
1110
*/
1211
class MoShiSupporterTest {
13-
@org.junit.Before
12+
@Before
1413
fun setUp() {
15-
wu.seal.jsontokotlin.isTestModel = true
14+
isTestModel = true
1615
}
1716

18-
@org.junit.Test
17+
@Test
1918
fun getAnnotationImportClassString() {
2019
assert(MoShiSupporter.annotationImportClassString.isNotEmpty())
2120
assert(MoShiSupporter.annotationImportClassString.split("\n").size ==1)
2221
}
2322

24-
@org.junit.Test
23+
@Test
2524
fun getJsonLibSupportPropertyBlockString() {
2625
val rawPropertyName = "seal is **() good_man "
2726
val type = "Boy"

0 commit comments

Comments
 (0)