Skip to content

Commit

Permalink
feat: findSumOfPointBySamePartAndGeneration 테스트 추가 (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
kseysh authored Nov 4, 2024
2 parents c4f4c95 + e2176e4 commit 9566a5e
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 52 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package org.sopt.app.application.app_service;

import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import lombok.ToString;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class AppServiceInfo {

@Getter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package org.sopt.app.application.description;

import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class DescriptionInfo {

@Getter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package org.sopt.app.application.mission;

import java.util.List;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class MissionInfo {

@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public PushTokenResponse.StatusResponse registerDeviceToken(User user, String pu
.platform(PushTokenPlatform.valueOf(platform))
.build();
try {
val entity = new HttpEntity(
val entity = new HttpEntity<>(
createBodyFor(registerToken),
createHeadersFor(ACTION_REGISTER, platform)
);
Expand All @@ -86,7 +86,7 @@ public PushTokenResponse.StatusResponse registerDeviceToken(User user, String pu
@Transactional
public PushTokenResponse.StatusResponse deleteDeviceToken(PushToken pushToken) {
try {
val entity = new HttpEntity(
val entity = new HttpEntity<>(
createBodyFor(pushToken),
createHeadersFor(ACTION_DELETE, pushToken.getPlatform().name())
);
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/org/sopt/app/application/s3/S3Info.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package org.sopt.app.application.s3;

import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class S3Info {

@Getter
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/org/sopt/app/application/stamp/StampInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

import java.time.LocalDateTime;
import java.util.List;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class StampInfo {

@Getter
Expand Down
24 changes: 0 additions & 24 deletions src/main/java/org/sopt/app/common/response/CommonResponse.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Service;

@Getter
@Service
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class SlackMessageGenerator {

public static List<Attachment> generate(ExceptionWrapper exceptionWrapper, Long userId, String method, String requestUrl) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

import io.swagger.v3.oas.annotations.Operation;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Controller
@RestController
@RequestMapping("/api/v2/health")
@RequiredArgsConstructor
public class HealthCheckController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import lombok.RequiredArgsConstructor;
import org.sopt.app.presentation.config.ConfigResponse.Availability;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;


@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class FirebaseResponse {

@Getter
Expand Down
8 changes: 0 additions & 8 deletions src/test/java/org/sopt/app/AppApplicationTests.java

This file was deleted.

13 changes: 0 additions & 13 deletions src/test/java/org/sopt/app/application/SlackServiceTest.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
import org.sopt.app.application.soptamp.SoptampUserInfo;
import org.sopt.app.application.soptamp.SoptampUserService;
import org.sopt.app.common.exception.BadRequestException;
import org.sopt.app.domain.entity.soptamp.SoptampUser;
import org.sopt.app.interfaces.postgres.SoptampUserRepository;
import org.sopt.app.domain.entity.soptamp.SoptampUser;

@ExtendWith(MockitoExtension.class)
class SoptampUserServiceTest {
Expand Down
Empty file.
Empty file.

0 comments on commit 9566a5e

Please sign in to comment.