struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Session A Mwamufiya" <smwam...@andrew.cmu.edu>
Subject unit testsing struts 2 code that contains resource calls like getText()
Date Thu, 25 Oct 2007 19:55:50 GMT
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


Mime
View raw message