-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
WebAppContext Tests need cleanup #5137
Labels
Comments
joakime
added a commit
that referenced
this issue
Aug 12, 2020
Signed-off-by: Joakim Erdfelt <[email protected]>
Opened PR #5141 |
joakime
added a commit
that referenced
this issue
Aug 12, 2020
…sionListenerTest + Cleanup of SessionListenerTest with eye to resource cleanup Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 16, 2020
Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 16, 2020
+ `ordering()` is now `testClashingResource()` and properly tests assumptions when dealing with a ClassLoader. The old test assumed guaranteed order from a ClassLoader, which is not a feature of any Java ClassLoader. Especially so for URLClassLoader. Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 16, 2020
+ Partially reverting change in commit 31175e9 Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 21, 2020
Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 22, 2020
+ Cleanup of test-servlet-spec webapp + Removing unused methods + Commented System.err.println moved to java.util.logging + General checkstyle cleanup (empty lines, spacing, etc) + Eliminate bogus WebApp LIB ordering tests. + No ClassLoader has a order guarantee. + Moving HttpSessionListenerTest contents to existing SessionListenerTest + Cleanup of SessionListenerTest with eye to resource cleanup + Removing ServletContextListenerTest as it duplicates tests + Restoring WebAppClassLoaderTest test method + `ordering()` is now `testClashingResource()` and properly tests assumptions when dealing with a ClassLoader. The old test assumed guaranteed order from a ClassLoader, which is not a feature of any Java ClassLoader. Especially so for URLClassLoader. + Restoring clashing resource test Signed-off-by: Joakim Erdfelt <[email protected]>
PR #5141 merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As pointed out by @janbartel in PR #5131, the WebAppContext tests are a bit messy right now.
This is a tracking issue to cleanup the WebAppContext tests to be more sane and easier to maintain.
The text was updated successfully, but these errors were encountered: