gt; Cheers,
> Doug
>
--
View this message in context:
http://www.nabble.com/Struts-2.1.6-Test-Examples-tp23524593p23541135.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-ma
On Wed, May 13, 2009 at 3:00 PM, Kawczynski, David
wrote:
> I'm certainly no magician, but was still able to do this.
>
> If your action depends on session info, implement SessionAware
> and provide it with a Map of name-value pairs in the testcase.
>
> If your action depends on request info, impl
();
SomeAction someAction =
(SomeAction)springContext.getBean("someAction");
-Original Message-
From: Jim Collings [mailto:jlistn...@gmail.com]
Sent: Wednesday, May 13, 2009 2:24 PM
To: Struts Users Mailing List
Subject: Re: Struts 2.1.6 Test Examples
Ya. That
Ya. That sounds like a magic trick. ;-)
On 5/13/09, Doug Pham wrote:
> Hi All,
> In the main page one of the bullet point is:
> Easy-to-test Actions - Test Struts2 Actions directly, without resorting to
> mock HTTP objects.
>
> I would love to see a few examples of these.
>
> Cheers,
> Doug
Hi All,
In the main page one of the bullet point is:
Easy-to-test Actions - Test Struts2 Actions directly, without resorting to mock
HTTP objects.
I would love to see a few examples of these.
Cheers,
Doug
5 matches
Mail list logo