hi, 
there is not any add method in the WicketTester.and you also cannot add the 
SpringComponentInjector directly, since it cannot find 
any true application context in this environment.  I think someone should 
update the related wiki.
> Message: 2
> Date: Fri, 5 Jan 2007 10:04:51 -0800
> From: "Igor Vaynberg" <[EMAIL PROTECTED]>
> Subject: Re: [Wicket-user] cannot run the annoation unit test in 2.0
> To: wicket-user@lists.sourceforge.net
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> try this
> 
> WicketTester test = new WicketTester();
> test.add(new SpringComponentInjector());
> 
> -igor
> 
> 
> 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to