You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by wicket user <sa...@live.com> on 2012/08/24 06:40:34 UTC

junit for wicket webpage/panel

Hi, 

I am wondering how to cover  the junit cases for the webpages/ panel as the
constructors are only taking the id's , but in the constructors of the
webpages/panel i have created the some methods for ex: 

My Panel extends Panel{

MyPanel(String id){
super(id);
buildPage();

}


private void buildPage(){
add( .......components)
}

}


Can anybody suggests me how can I write Junit test cases on these kind of
webpages/panels . 

Thanks,



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/junit-for-wicket-webpage-panel-tp4651468.html
Sent from the Users forum mailing list archive at Nabble.com.

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