Commit Graph

26602 Commits

Author SHA1 Message Date
Joakim Erdfelt b1c00223aa
Protect on bad container resources 2022-10-17 15:21:33 -05:00
Joakim Erdfelt 02142c2e30
Improved warning on bad descriptor 2022-10-17 15:21:19 -05:00
Joakim Erdfelt 6ab8aa8d30
Skip welcomeServlet logic if requestTarget
does not resolve.
2022-10-17 15:21:04 -05:00
Joakim Erdfelt 1b790d51b4
Use WebAppContext.getResourceFactory() 2022-10-17 15:20:15 -05:00
Joakim Erdfelt f0856a4c7d
Fixed war file unpacking 2022-10-17 15:19:56 -05:00
Joakim Erdfelt a454150e7f
Improved addClassPath and addJars behavior
+ Less code
+ Corrected javadoc
2022-10-17 15:19:32 -05:00
Joakim Erdfelt 3e8697f926
Log bad Classpath URI entries 2022-10-17 15:18:43 -05:00
Joakim Erdfelt feadf3f56e
Improved setup of TestMetaData 2022-10-17 15:18:02 -05:00
Joakim Erdfelt d84de5d847
Improved reliability of test 2022-10-17 15:17:27 -05:00
Joakim Erdfelt 6b2425a23f
Improved ClassMatcher/Location behavior.
+ Reduces need for Resource / ResourceFactory.
+ Corrected path equals logic
2022-10-17 15:16:50 -05:00
Joakim Erdfelt f27e4e7273
Improved ClassMatcher/Location behavior.
+ Reduces need for Resource / ResourceFactory.
+ Corrected path equals logic
2022-10-17 15:16:39 -05:00
Joakim Erdfelt 564275280b
Failing on bad Runner inputs 2022-10-17 15:15:30 -05:00
Joakim Erdfelt 81b1a6688d
Better use of WebAppContext.getResourceFactory() 2022-10-17 15:15:05 -05:00
Joakim Erdfelt 0e25d98a9d
Handle bad ContextHandler.setBaseResource more clearly 2022-10-17 15:10:55 -05:00
Joakim Erdfelt 3ed1b2b94a
Minor IOTest cleanup 2022-10-17 15:10:18 -05:00
Jan Bartel e8b818db15 Reenable ee9 RequestScopedSessionSaveTest. 2022-10-17 17:15:02 +11:00
Jan Bartel d47c25d7c5 Reenable ee10 WebAppDefaultServletTest 2022-10-17 14:05:22 +11:00
Jan Bartel a3bf740f42 Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-10-17 11:36:40 +11:00
Jan Bartel c4ef972190 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-10-17 11:03:47 +11:00
Jan Bartel d9b6aa02f2
Issue #8712 Deprecate ELContextCleaner (#8713) 2022-10-17 11:02:16 +11:00
Simone Bordet a6f5e1fe8f
Merge pull request #8705 from eclipse/jetty-12.0.x-reenable-customrequestlog
Jetty 12 - Re-enabled RequestLog tests.
2022-10-14 10:30:12 +02:00
Joakim Erdfelt 45e706cb67
Move Resource.combine() methods to ResourceFactory 2022-10-13 14:08:21 -05:00
Joakim Erdfelt 28d448aef6
Fixing directory location name for additional classpath elements 2022-10-13 09:59:07 -05:00
Joakim Erdfelt b36e4d86c5
New test for tiny names and resource base name 2022-10-13 09:57:41 -05:00
Joakim Erdfelt a8e81ebb39
Using WorkDir properly 2022-10-13 09:57:12 -05:00
Joakim Erdfelt 5148de7105
Making tokenPath creating reliable 2022-10-13 09:56:43 -05:00
Joakim Erdfelt 06d82d30e5
Making tokenPath creating reliable 2022-10-13 09:56:33 -05:00
Joakim Erdfelt 39f77f7e26
Increasing reliability of test on ee9/ee8 2022-10-13 09:55:57 -05:00
Joakim Erdfelt 0bd1253679
Increasing reliability of test on ee9/ee8 2022-10-13 09:55:45 -05:00
Joakim Erdfelt 2be5a2bda4
Increasing reliability of test when run on different filesystems 2022-10-13 09:55:18 -05:00
Joakim Erdfelt 5ae363d4e1
Increasing reliability of test on ee9/ee8 2022-10-13 09:54:27 -05:00
Joakim Erdfelt fee44a65f5
Adding TODO about odd WEB-INF behavior 2022-10-13 09:54:02 -05:00
Joakim Erdfelt c9910cec13
ServerListener uses Path as it has to Write a file reliably 2022-10-13 09:53:39 -05:00
Joakim Erdfelt caf69690ca
Adding TODO about copyTo() with IncludeExcludeSet 2022-10-13 09:53:18 -05:00
Joakim Erdfelt 83823d8a68
More reliable tests (on windows) 2022-10-13 09:52:31 -05:00
Joakim Erdfelt 8a216c2bb4
Cannot test isContainedIn with null resource 2022-10-13 09:51:02 -05:00
Joakim Erdfelt 454ec0640e
More safety checks on null/empty/blank input params 2022-10-13 09:50:43 -05:00
Joakim Erdfelt c66d64f761
Perform URI check properly, skip ResourceFactory for LocationEntry check 2022-10-13 09:50:22 -05:00
Joakim Erdfelt 6f91c93c06
Use MavenPaths.targetTestDir() instead 2022-10-13 09:49:52 -05:00
Joakim Erdfelt 58b416952c
Cleanup AttributeNormalizerTest 2022-10-13 09:49:03 -05:00
Joakim Erdfelt 7b15479f3d
Use ResourceFactory managed by ContextHandler 2022-10-13 09:48:34 -05:00
Joakim Erdfelt 30be317df6
import cleanup 2022-10-13 09:48:08 -05:00
Joakim Erdfelt c32fc4972e
Use unwrapContainer instead 2022-10-13 09:47:26 -05:00
Joakim Erdfelt 4ac4b46973
Fix test-keystore order and behavior 2022-10-13 09:46:59 -05:00
Joakim Erdfelt 59f36172e9
Better NPE check on add all resources 2022-10-13 09:18:47 -05:00
Olivier Lamy 573f27fd88
cherry-pick of #7803 (#8708)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-10-13 15:53:38 +10:00
Joakim Erdfelt acb13e2e20
Merge pull request #8706 from eclipse/fix/jetty-12-util-windows-tests
Jetty 12 - Fixing `jetty-util` Tests on Windows
2022-10-12 13:23:51 -05:00
Simone Bordet 01d07569a2
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-10-12 20:21:58 +02:00
Joakim Erdfelt 5ee1d91ba2 Fixing jetty-util Tests on Windows 2022-10-12 11:46:57 -05:00
Simone Bordet 557696653d
Re-enable RequestLog tests.
Re-implemented features that were commented out.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-10-12 17:46:49 +02:00