Riku
2025-06-04 7d33080998a2c5b38e8a74dbed2b0f40d39bbe47
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
package com.flightfeather.uav.lightshare.service.impl
 
import com.flightfeather.uav.biz.FactorFilter
import com.flightfeather.uav.biz.report.MissionReport
import com.flightfeather.uav.lightshare.service.MissionService
import org.junit.Test
 
import org.junit.Assert.*
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.SpringRunner
import javax.servlet.http.HttpServletResponse
 
@RunWith(SpringRunner::class)
@SpringBootTest
class MissionServiceImplTest {
 
    @Autowired
    lateinit var missionService: MissionService
 
    @Autowired
    lateinit var missionReport: MissionReport
 
    @Test
    fun getReport() {
        missionReport.execute("SH-CN-20240723-01", FactorFilter.default())
        missionReport.execute("SH-CN-20240723-02", FactorFilter.default())
    }
}