From 111d44b2d8b9a21ac87ea36cf428667b8dda422a Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 11 Aug 2017 18:09:35 +0900 Subject: [PATCH] fixed public --- .../loafle/overflow/module/meta/service/MetaCrawlerService.java | 2 +- .../overflow/module/meta/service/MetaCrawlerServiceTest.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java b/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java index ba62739..4154c7f 100644 --- a/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java +++ b/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java @@ -16,7 +16,7 @@ public class MetaCrawlerService { @Autowired private MetaCrawlerDAO crawlerDAO; - List readAll() { + public List readAll() { return this.crawlerDAO.findAll(); } } diff --git a/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java b/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java index 72a0ec0..9f69845 100644 --- a/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java +++ b/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java @@ -29,6 +29,8 @@ public class MetaCrawlerServiceTest { Assert.assertNotEquals(metaCrawlerServices.size(), 0); + + System.out.println(metaCrawlerServices.size()); } } \ No newline at end of file