You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Jan Kriesten <kr...@mail.footprint.de> on 2008/11/23 13:11:55 UTC

Testing with jetty embedded in test + httpunit

Hi,

running a Wicket application with jetty:run works just fine.

Now I thought it should be possible to launch an embedded jetty within a test
and have httpunit run against it.

Written the test and starting up the internal jetty: Everything seems to be
fine, application is launched with the complete environment (spring injection,
spring security listener).

Now comes httpunit: Requesting the TestSuitePage ==> 500 servlet exception! :-O

12:49:17.426 ERROR o.a.w.RequestCycle - Markup of type 'html' for component
'test.TestSuitePage' not found

I double checked that TestSuitePage.html is actually in place and copied to the
test-classes folder.

Has anyone a clue what I'm doing wrong or which settings I have to adjust to
make Wicket happy?


Best regards, --- Jan.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Testing with jetty embedded in test + httpunit

Posted by Jan Kriesten <kr...@mail.footprint.de>.
grml - problem solved.

Sometimes one's just too stupid... :-(

Best regards, --- Jan.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org