On 6/5/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Hi Ryan,
> I don't think you can test it like that unless you have a default
> constructor, and even then I don't think it will work (I'm a bit
> spotty on this). What I have always done is this:
>
> tester.startPanel(new TestPanelSource () {
>      Panel getTestPanel(final String panelId) {
>            return new TestPanel(panelId);
>      }
> });
>
> Hope that fixes it for you.

No luck.  Using the TestPanelSource still has the same issues.  I've
also tried using tester.startPage() instead of using panels, and I
still get the same exception:

org.apache.maven.surefire.booter.SurefireExecutionException: There is
no application attached to current thread main

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to