Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Trouble making FakeHttpServletRequest implement getParts() in Jetty 12

Hi,

On Fri, Sep 6, 2024 at 4:13 PM Glen Peterson via jetty-users
<jetty-users@xxxxxxxxxxx> wrote:
>
> Thanks for Jetty.  I've been enjoying it for years now!
>
> I'm trying to make a FakeHttpServletRequest with Jetty 12 for unit-testing and integration-testing my web applications.  I had one that worked with Jetty 11, but some things changed.

Considering it is probably fewer lines of code to set up a real
server, rather than try to mock everything, can you not consider just
doing it "normally", rather than trying to construct internal Jetty
classes that will be subject to backward incompatible changes?

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top