feiyu02
2022-07-14 4c7e2d8f8d4a93f318ada0e728dbc370e7504e92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package cn.flightfeather.supervision.lightshare.service.impl
 
import cn.flightfeather.supervision.SupervisionApplication
import cn.flightfeather.supervision.domain.ds2.mapper.UserMapMapper
import cn.flightfeather.supervision.lightshare.service.UserMapService
import cn.flightfeather.supervision.lightshare.service.UserinfoService
import org.junit.Test
 
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner
 
@RunWith(SpringJUnit4ClassRunner::class)
@SpringBootTest(classes = [SupervisionApplication::class])
class UserinfoServiceImplTest {
 
    @Autowired
    lateinit var userinfoService: UserinfoService
 
    @Autowired
    lateinit var userMapService: UserMapService
 
    @Test
    fun createAccount() {
        userinfoService.createAccount("vLnmtSgEZ1Hegk38")
    }
 
    @Test
    fun autoCreateAccount() {
        userinfoService.autoCreateAccount()
    }
 
    @Test
    fun autoCreateMap() {
        userMapService.autoCreateMap()
    }
}