package cn.flightfeather.supervision
|
|
|
import cn.flightfeather.supervision.business.datafetch.FetchController
|
import cn.flightfeather.supervision.infrastructure.service.ServerManager
|
import cn.flightfeather.supervision.common.utils.UUIDGenerator
|
//import org.junit.Test
|
import org.junit.jupiter.api.Test
|
import org.junit.jupiter.api.extension.ExtendWith
|
import org.springframework.beans.factory.annotation.Autowired
|
import org.springframework.boot.test.context.SpringBootTest
|
import org.springframework.test.context.junit.jupiter.SpringExtension
|
|
@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()
|
|
}
|
|
}
|