From bed6e6e849f2c8c895db7b98ff72d982a276c62f Mon Sep 17 00:00:00 2001 From: insanity Date: Tue, 3 Jul 2018 11:37:02 +0900 Subject: [PATCH] arrange --- .../service/CentralMetaCollectionItemServiceTest.java | 5 +---- .../service/CentralMetaCrawlerMappingServiceTest.java | 4 +--- .../CentralMetaDisplayItemMappingServiceTest.java | 10 +--------- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java index dc45106..3dd3c33 100644 --- a/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java +++ b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java @@ -11,15 +11,12 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -import org.springframework.util.Assert; import java.util.List; -import static org.junit.Assert.*; - @RunWith(SpringJUnit4ClassRunner.class) @ActiveProfiles("test") -@ContextConfiguration(classes = {AppConfigTest.class}) +@ContextConfiguration(classes = { AppConfigTest.class }) @Ignore public class CentralMetaCollectionItemServiceTest { diff --git a/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCrawlerMappingServiceTest.java b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCrawlerMappingServiceTest.java index a53862c..4aa2823 100644 --- a/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCrawlerMappingServiceTest.java +++ b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCrawlerMappingServiceTest.java @@ -15,11 +15,9 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import java.util.List; -import static org.junit.Assert.*; - @RunWith(SpringJUnit4ClassRunner.class) @ActiveProfiles("test") -@ContextConfiguration(classes = {AppConfigTest.class}) +@ContextConfiguration(classes = { AppConfigTest.class }) @Ignore public class CentralMetaCrawlerMappingServiceTest { diff --git a/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingServiceTest.java b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingServiceTest.java index 3331fac..0e33d7b 100644 --- a/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingServiceTest.java +++ b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingServiceTest.java @@ -1,25 +1,17 @@ package com.loafle.overflow.central.module.meta.service; import com.loafle.overflow.central.spring.AppConfigTest; -import com.loafle.overflow.model.meta.MetaDisplayItemMapping; -import com.loafle.overflow.service.central.meta.MetaDisplayItemMappingService; import org.junit.Test; import org.junit.runner.RunWith; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -import static org.junit.Assert.*; - @RunWith(SpringJUnit4ClassRunner.class) @ActiveProfiles("test") -@ContextConfiguration(classes = {AppConfigTest.class}) +@ContextConfiguration(classes = { AppConfigTest.class }) public class CentralMetaDisplayItemMappingServiceTest { - @Autowired - private MetaDisplayItemMappingService metaDisplayItemMappingService; - @Test public void readAllByMetaDisplayItemID() { }