-
Notifications
You must be signed in to change notification settings - Fork 2
[BE] 차트데이터의 서비스 로직의 모든 단위테스트 및 리펙토링 추가 #114
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d969b94
refactor:테스트 하기 좋게 코드 리펙토링(SRP에 맞게 리펙토링)
bongj9 c81e2d5
refactor:시간 데이터를 파라미터로 받도록 수정(테스트할때마다 시간이 달라지는점때문에 수정)
bongj9 6888f2f
refactor:결합도가 높은 메서드들을 테스트 하기 좋게 메서드 분리,SRP 원칙에 따라 리펙토링
bongj9 9c1ae72
refactor:결합도가 높은 메서드들을 테스트 하기 좋게 메서드 분리,SRP 원칙에 따라 리펙토링
bongj9 c8c7ad7
refactor:결합도가 높은 메서드들을 테스트 하기 좋게 메서드 분리,SRP 원칙에 따라 리펙토링
bongj9 126229c
refactor:결합도가 높은 메서드들을 테스트 하기 좋게 메서드 분리,SRP 원칙에 따라 리펙토링
bongj9 dc2eecb
refactor:테스트시 CCMap에서 null을 허용하는 예외를 발견
bongj9 23f3053
test:ChartSubscription unitTest
bongj9 57ca2d7
test: MinuteOhlcDataService unitTest
bongj9 61b9d1e
test: RealTimeDataPrevRate unitTest
bongj9 ca22a83
test: RealTimeOhlcService unitTest
bongj9 1d3b2d9
test: RealTimeTradeService unitTest
bongj9 60407ee
test: WebsocketSendService unitTest
bongj9 b199067
refactor:필드 생성방식을 리플렉션에서 기본 생성자로 변경
bongj9 88a8149
Test:updateTradeCache, generateRealTimeData, calculateChangeRate 메서드 …
bongj9 d2ad2cf
Refactor:테스트에서 발견된 ohlcv로직 변경(List를 reverse를 하여 시작가 종가를 찾았으나 불필요한 방법인…
bongj9 a9e077c
Refactor:역순을 확인한 test 삭제(본 서비스에서 해당 기능을 삭제했기 때문)
bongj9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
시간 주입받는 식으로 변경하셨네요 ㅋㅋ 실행력 굿,,