feat: test code

This commit is contained in:
2026-01-05 16:53:01 +09:00
parent f1841b0107
commit 8bf404d257

View File

@@ -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");
}
}