From fed0d799acb89def74b1c3f6861c59db19ca6d6e Mon Sep 17 00:00:00 2001 From: Shiryu_Go Date: Sat, 11 Nov 2023 10:03:54 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E5=90=8D?= =?UTF-8?q?=E3=82=92=E6=85=A3=E7=BF=92=E3=81=AB=E6=B2=BF=E3=81=A3=E3=81=9F?= =?UTF-8?q?=E5=BD=A2=E3=81=B8=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...{TestToDoListController.java => ToDoListControllerTest.java} | 0 ...{TestTodoListRepository.java => TodoListRepositoryTest.java} | 2 +- .../{TestToDoLiseService.java => ToDoLiseServiceTest.java} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/test/java/jjug/ccc/fall3/wakate_test/Controller/{TestToDoListController.java => ToDoListControllerTest.java} (100%) rename src/test/java/jjug/ccc/fall3/wakate_test/Repository/{TestTodoListRepository.java => TodoListRepositoryTest.java} (97%) rename src/test/java/jjug/ccc/fall3/wakate_test/Service/{TestToDoLiseService.java => ToDoLiseServiceTest.java} (98%) diff --git a/src/test/java/jjug/ccc/fall3/wakate_test/Controller/TestToDoListController.java b/src/test/java/jjug/ccc/fall3/wakate_test/Controller/ToDoListControllerTest.java similarity index 100% rename from src/test/java/jjug/ccc/fall3/wakate_test/Controller/TestToDoListController.java rename to src/test/java/jjug/ccc/fall3/wakate_test/Controller/ToDoListControllerTest.java diff --git a/src/test/java/jjug/ccc/fall3/wakate_test/Repository/TestTodoListRepository.java b/src/test/java/jjug/ccc/fall3/wakate_test/Repository/TodoListRepositoryTest.java similarity index 97% rename from src/test/java/jjug/ccc/fall3/wakate_test/Repository/TestTodoListRepository.java rename to src/test/java/jjug/ccc/fall3/wakate_test/Repository/TodoListRepositoryTest.java index 95ef43f..f2bc531 100644 --- a/src/test/java/jjug/ccc/fall3/wakate_test/Repository/TestTodoListRepository.java +++ b/src/test/java/jjug/ccc/fall3/wakate_test/Repository/TodoListRepositoryTest.java @@ -19,7 +19,7 @@ このテストクラスでは、このSQlの処理を行なったデータベースに対してアクセスを行う。 */ @Sql("TestTodoListRepository.sql") -public class TestTodoListRepository { +public class TodoListRepositoryTest { /* 今回はjdbcTestを使用します。 */ diff --git a/src/test/java/jjug/ccc/fall3/wakate_test/Service/TestToDoLiseService.java b/src/test/java/jjug/ccc/fall3/wakate_test/Service/ToDoLiseServiceTest.java similarity index 98% rename from src/test/java/jjug/ccc/fall3/wakate_test/Service/TestToDoLiseService.java rename to src/test/java/jjug/ccc/fall3/wakate_test/Service/ToDoLiseServiceTest.java index 6432bbd..de61ead 100644 --- a/src/test/java/jjug/ccc/fall3/wakate_test/Service/TestToDoLiseService.java +++ b/src/test/java/jjug/ccc/fall3/wakate_test/Service/ToDoLiseServiceTest.java @@ -17,7 +17,7 @@ import static org.mockito.Mockito.doReturn; @ExtendWith(MockitoExtension.class) -public class TestToDoLiseService { +public class ToDoLiseServiceTest { /* Mockを注入するためのアノテーション。 これを仕様することで、Serviceクラスの依存性を自動的に解決してくれる。