-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step 5 - 자동차경주(리팩토링) #5815
base: sparcsjara
Are you sure you want to change the base?
Step 5 - 자동차경주(리팩토링) #5815
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7979eeb - Browse repository at this point
Copy the full SHA 7979eebView commit details -
refactor CarRacing.java, RacingFleet.java: 플릿에 속하는 자동차들 경주하는 함수를 raci…
…ngFleet으로 옮김 racingFleet에 속하는 차들 race하는 raceAll()함수를 만듬
Configuration menu - View commit details
-
Copy full SHA for cb61665 - Browse repository at this point
Copy the full SHA cb61665View commit details -
refactor RacingCarStatesDTO.java: valueOf 인자를 racingFleet으로 변경
racingFleet에서 getRacingCars로 받고 있어서, RacingFleet로 인자로 받도록 변경
Configuration menu - View commit details
-
Copy full SHA for 3b86c47 - Browse repository at this point
Copy the full SHA 3b86c47View commit details -
refactor RacingFleet::raceAll: movableStrategy를 인자로 받게 함.
movableStrategy 결정자를 책임자인 carRacing으로 이동
Configuration menu - View commit details
-
Copy full SHA for e84f9f9 - Browse repository at this point
Copy the full SHA e84f9f9View commit details -
refactor RacingFleet::raceAll: movableStrategy를 인자로 받게 함.
movableStrategy 결정자를 책임자인 carRacing으로 이동
Configuration menu - View commit details
-
Copy full SHA for a1cc5e1 - Browse repository at this point
Copy the full SHA a1cc5e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 473befd - Browse repository at this point
Copy the full SHA 473befdView commit details -
fix RacingCarStatesDTO: carStates 필드 private로 변경
public으로 필드 접근 가능해서 private으로 변경
Configuration menu - View commit details
-
Copy full SHA for 8e9473b - Browse repository at this point
Copy the full SHA 8e9473bView commit details
Commits on Oct 14, 2024
-
refactor CarRacing.java, RacingHistories.java, RacingHistory.java: wr…
…apResults 필드를 histories로 변경 wrapResults를 DTO 필드가 아니라 Racinghistory를 나타내는 새로운 클래스를 만들어서 CarRacing에 저장함. 레이싱 결과 기록 관련 책임을 분리하여 응집도를 올림.
Configuration menu - View commit details
-
Copy full SHA for edd4f72 - Browse repository at this point
Copy the full SHA edd4f72View commit details -
test RacingHistoriesTest: RacingHistories에 대한 테스트 작성
RacingFleet를 통해 RacingState를 저장하는 함수에 관한 테스트 위주로 작성
Configuration menu - View commit details
-
Copy full SHA for 7f598ab - Browse repository at this point
Copy the full SHA 7f598abView commit details -
feat RacingHistories::recordRacingState :RacingState를 저장하는 메서드 구현
RacingFleet를 통해 RacingState를 저장하는 메서드 구현
Configuration menu - View commit details
-
Copy full SHA for b738591 - Browse repository at this point
Copy the full SHA b738591View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e0dc8 - Browse repository at this point
Copy the full SHA 61e0dc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b77a40 - Browse repository at this point
Copy the full SHA 0b77a40View commit details -
refactor RandomMovableStrategy.java: RandomMovableStrategy 의존성 주입하는 부…
…분을 main으로 옮김 테스트하기 어려운 RandomMovableStrategy의 의존관계를 Object Graph의 상위인 main으로 옮김
Configuration menu - View commit details
-
Copy full SHA for 0186187 - Browse repository at this point
Copy the full SHA 0186187View commit details -
refactor CarRacingTest.java, RacingCarSimulatorTest.java: RandomMovab…
…leStrategy 대신에 ()->true를 주입함 테스트가 특정 movableStrategy에 의존하지 않도록함.
Configuration menu - View commit details
-
Copy full SHA for 531142a - Browse repository at this point
Copy the full SHA 531142aView commit details