You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Session A Mwamufiya <sm...@andrew.cmu.edu> on 2007/10/25 21:55:50 UTC
unit testsing struts 2 code that contains resource calls like
getText()
Hi,
Junit is unable to run getText() and retrieve text resources from a package.xml file, because it appears to be a functionality that is provided by the ActionSupport super class. Is there a way to setup my Junit test case to be able to run that code? I've setup my test case to use a mock http session already, so I'm not sure if this is doable as well.
Thanks,
Session
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org