From 61c55c035bc237dbe8fdb62fa8568d765e9db248 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 21 Jun 2018 22:02:51 +0900 Subject: [PATCH] ing --- .../target/service/CentralTargetServiceTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/java/com/loafle/overflow/central/module/target/service/CentralTargetServiceTest.java b/src/test/java/com/loafle/overflow/central/module/target/service/CentralTargetServiceTest.java index 740bf2d..000897a 100644 --- a/src/test/java/com/loafle/overflow/central/module/target/service/CentralTargetServiceTest.java +++ b/src/test/java/com/loafle/overflow/central/module/target/service/CentralTargetServiceTest.java @@ -21,10 +21,9 @@ import java.util.List; import static org.junit.Assert.*; - @RunWith(SpringJUnit4ClassRunner.class) @ActiveProfiles("test") -@ContextConfiguration(classes = {AppConfigTest.class}) +@ContextConfiguration(classes = { AppConfigTest.class }) public class CentralTargetServiceTest { @Autowired @@ -43,20 +42,20 @@ public class CentralTargetServiceTest { public void regist() { } -// List targets, Long probeID + // List targets, Long probeID @Test public void registAll() throws OverflowException { List targets = new ArrayList<>(); List sensors = new ArrayList<>(); - List metaCrawlers = this.metaCrawlerService.readAll(); List metaSensorStatusList = this.metaSensorStatusService.readAll(); -// MetaSensorDisplayItem metaSensorDisplayItem = this.metaSensorDisplayItemService.read(Long.valueOf(1)); + // MetaSensorDisplayItem metaSensorDisplayItem = + // this.metaSensorDisplayItemService.read(Long.valueOf(1)); Target target = new Target(); target.setMetaTargetType(MetaTargetServiceType.Enum.UNKNOWN.to()); - target.setInfra(new com.loafle.overflow.model.infra.InfraService(Long.valueOf((long)3))); + target.setInfra(new com.loafle.overflow.model.infra.InfraService(Long.valueOf((long) 3))); Sensor sensor = new Sensor(); sensor.setItemCount(0); @@ -71,8 +70,9 @@ public class CentralTargetServiceTest { target.setSensors(sensors); targets.add(target); - List targetList = this.targetService.registAll(targets, Long.valueOf(1)); + // List targetList = this.targetService.registAll(targets, + // Long.valueOf(1)); - System.out.println("Target List Size: " + targetList.size()); + // System.out.println("Target List Size: " + targetList.size()); } }