Skip to content

Commit

Permalink
test: 테스트 구문 주석처리
Browse files Browse the repository at this point in the history
  • Loading branch information
pandahwang committed Oct 6, 2024
1 parent fcbe9d0 commit 1e6b4b4
Showing 1 changed file with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.TeamNull.LostArk.LostArk;

import com.TeamNull.LostArk.LostArk.controller.CommentController;
import com.TeamNull.LostArk.LostArk.controller.DataController;
import com.TeamNull.LostArk.LostArk.controller.OuterDataController;
import com.TeamNull.LostArk.LostArk.controller.ResultController;
Expand All @@ -10,6 +11,9 @@
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.web.PageableDefault;
import org.springframework.http.ResponseEntity;

import java.io.IOException;
Expand All @@ -24,13 +28,15 @@ class LostArkApplicationTests {
private OuterDataController outerDataController;
private DataController dataController;
private ResultController resultController;
private CommentController commentController;

@Autowired
public LostArkApplicationTests(OuterDataController outerDataController, DataController dataController, ResultController resultController) {
public LostArkApplicationTests(OuterDataController outerDataController, DataController dataController, ResultController resultController, CommentController commentController) {
super();
this.outerDataController = outerDataController;
this.dataController = dataController;
this.resultController = resultController;
this.commentController = commentController;
}

// @Test
Expand All @@ -42,11 +48,6 @@ public LostArkApplicationTests(OuterDataController outerDataController, DataCont
// System.out.println(outerDataDtoList.get(0).getValue());
// System.out.println(outerDataDtoList.get(0).getIcon());
// }
//
// @Test
// void testCreateAlluser() throws IOException, ParseException {
// this.outerDataController.createAlluser();
// }

// @Test
// void testData() {
Expand All @@ -62,10 +63,10 @@ public LostArkApplicationTests(OuterDataController outerDataController, DataCont
// this.resultController.top5(UUID.fromString("f9ceff67-e36b-43d9-89a8-263a334a6313"));
// }

@Test
void testResult() {
ResponseEntity<List<ResultDto>> result = this.resultController.result(UUID.fromString("ffb057b9-0b82-4789-8440-ded61c248cd2"));
System.out.println(result.getBody().get(0).getName());
}
// @Test
// void testResult() {
// ResponseEntity<List<ResultDto>> result = this.resultController.result(UUID.fromString("ffb057b9-0b82-4789-8440-ded61c248cd2"));
// System.out.println(result.getBody().get(0).getName());
// }

}

0 comments on commit 1e6b4b4

Please sign in to comment.