Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[MVC 구현하기 - 1단계] 에버(손채영) 미션 제출합니다. #694

Merged
merged 21 commits into from
Sep 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
df6fa40
test: 학습테스트 Reflection
helenason Sep 20, 2024
cb172db
feat: 핸들러 매핑 로직 추가
helenason Sep 20, 2024
6e4c0e8
feat: 뷰 로직 JspView로 위임
helenason Sep 20, 2024
f0cda4b
refactor: 핸들러 매핑 reflection 사용하도록
helenason Sep 20, 2024
2ecca46
feat: RequestMapping method 선언하지 않은 경우 모든 HTTP method 지원
helenason Sep 20, 2024
e312664
test: 유효하지 않은 요청의 경우 예외 발생
helenason Sep 20, 2024
4e45a35
refactor: 핸들 로직 reflection 사용하도록
helenason Sep 20, 2024
e76390e
refactor: DispatcherServlet service 메서드 ModelAndView를 다루도록
helenason Sep 20, 2024
aa674d8
style: 불필요한 import문 제거
helenason Sep 20, 2024
d4d274b
refactor: HandlerKey 캐싱
helenason Sep 22, 2024
0118167
refactor: HandlerExecution 내에서 매번 인스턴스 생성하지 않도록
helenason Sep 22, 2024
ba17506
test: EnumSource 활용하여 파라미터 주입
helenason Sep 22, 2024
de7370e
test: getMethods vs getDeclaredMethods 학습테스트 작성
helenason Sep 22, 2024
613a0c1
style: 재정의 메서드 순서 및 구조 통일
helenason Sep 22, 2024
5b297ce
style: EOF
helenason Sep 22, 2024
54f3b36
test: 학습테스트 Servlet
helenason Sep 22, 2024
fdd3078
test: 학습테스트 Filter
helenason Sep 22, 2024
8ace1d8
test: 포함 여부 확인 로직 수정
helenason Sep 22, 2024
6afede4
style: 불필요한 주석 제거
helenason Sep 22, 2024
279fc92
test: 동등성 대신 동일성 테스트하도록 및 테스트를 위한 비즈니스 코드 제거
helenason Sep 25, 2024
21fcb37
refactor: HandlerKey 캐시 자료구조 변경
helenason Sep 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions study/src/test/java/reflection/Junit3TestRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void getMethods() {
List<String> actual = Arrays.stream(methods)
.map(Method::getName)
.toList();
assertThat(actual).containsExactly(
assertThat(actual).containsOnly(
"test1",
"test2",
"equals",
Expand All @@ -64,7 +64,7 @@ void getDeclaredMethods() {
List<String> actual = Arrays.stream(methods)
.map(Method::getName)
.toList();
assertThat(actual).containsExactly(
assertThat(actual).containsOnly(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

"test1",
"test2",
"privateTest3");
Expand Down