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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to