You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andy Law <an...@roslin.ed.ac.uk> on 2009/02/02 13:23:28 UTC

FIXED - My tests fail in 2.1.6 - can someone help?


Andy Law wrote:
> 
> 've hit a painful problem as I try to migrate to 2.1.6 (from 2.0.14).
> 
> I have a class that extends ActionSupport and which calls getText() from
> within a routine. I want to test the routine to ensure that it is working
> properly. My test runs fine when I compile with 2.0.14 but disappears into
> a morass of mock object hell under 2.1.6.
> 
> 

Apologies: I should have searched harder before shouting. The answer is at
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-UpdateUnitTests

(or at http://tinyurl.com/b6b4v5)

Later,

Andy
-- 
View this message in context: http://www.nabble.com/My-tests-fail-in-2.1.6---can-someone-help--tp21787233p21788755.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org