道路线索应急巡查系统服务后台
feiyu02
2025-09-30 84569abda51ecf6c5549dec4cadee8d043422379
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
39
package com.flightfeather.grid.external
 
import org.junit.jupiter.api.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
internal class ClueHttpServiceTest {
 
    @Autowired
    lateinit var clueHttpService: ClueHttpService
 
    @Test
    fun getClueFile() {
        clueHttpService.getClueFile("10")
    }
 
    @Test
    fun getClue() {
        val res = clueHttpService.getClue("2025-08-01 00:00:00")
        res.forEach {
            println(it.clueName)
        }
    }
 
    @Test
    fun headTimeStamp() {
        clueHttpService.headTimeStamp().forEach {
            println(it.second)
        }
 
    }
}