feat: test code
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
package com.kamco.cd.kamcoback.mapsheet;
|
||||||
|
|
||||||
|
import com.kamco.cd.kamcoback.mapsheet.service.MapSheetMngService;
|
||||||
|
import org.junit.jupiter.api.DisplayName;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
import org.springframework.test.context.ActiveProfiles;
|
||||||
|
import org.springframework.test.context.TestPropertySource;
|
||||||
|
|
||||||
|
@SpringBootTest
|
||||||
|
@ActiveProfiles("local")
|
||||||
|
@TestPropertySource(properties = {"file.sync-root-dir=/tmp/kamco-test"})
|
||||||
|
class MapSheetMngServiceSceneInferenceTest {
|
||||||
|
|
||||||
|
@Autowired private MapSheetMngService mapSheetMngService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@DisplayName("2023년 장면 추론 GeoJSON 파일 생성")
|
||||||
|
void createSceneInference2023() {
|
||||||
|
mapSheetMngService.getSceneInference("2023");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@DisplayName("2024년 장면 추론 GeoJSON 파일 생성")
|
||||||
|
void createSceneInference2024() {
|
||||||
|
mapSheetMngService.getSceneInference("2024");
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user