feiyu02
2025-07-31 6688232eaa889eeb6c58d0d804b587699db55ec2
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
 
 
import cn.flightfeather.supervision.business.datafetch.FetchController
import cn.flightfeather.supervision.infrastructure.service.ServerManager
import org.junit.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit.jupiter.SpringExtension
import org.springframework.test.context.junit4.SpringRunner
 
@RunWith(SpringRunner::class)
@ExtendWith(SpringExtension::class)
@SpringBootTest
class SupervisionApplicationTests {
 
    @Autowired
    private lateinit var manager: ServerManager
 
    @Autowired
    // 静安区夜间施工许可证信息获取任务
    lateinit var fetchController: FetchController
 
    @Test
    fun contextLoads() {
 
    }
 
    @Test
    @Throws(Exception::class)
    fun test1() {
        fetchController.run()
 
    }
 
}