2010/8/18 Stephen Turner :
> I'm looking in struts2-junit-plugin-2.2.1.jar that came as part of
> struts2-2.2.1-all.zip and I see only these classes in the org/apache/struts2
> folder:
>
> StrutsTestCase.class
> StrutsTestCase$1.class
> StrutsSpringTestCase.class
>
> What am I missing?
This class
On Wed, 18 Aug 2010 16:22:37 -0400, Lukasz Lenart
wrote:
2010/8/18 Stephen Turner :
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find this
class in
a jar file. I do see the source code t
2010/8/18 Stephen Turner :
> Unit tests for interceptors in Struts 2.2.1
>
> In TokenInterceptorTest I see a reference to
> org.apache.struts2.TestConfigurationProvider, but I can't find this class in
> a jar file. I do see the source code though.
>
> Which jar should I be using for TestConfigurati
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find this class
in a jar file. I do see the source code though.
Which jar should I be using for TestConfigurationProvider?
Thanks,
Steve
-
ger); String
> result = interceptor.intercept(mockInvocation);
>
> verify(mockLogger); verify(mockInvocation); verify(mockProxy);
> assertEquals("Should return result from inner action", actionResult,
> result); }
>
> -Original Message- From: Session A Mwamufiya
}
-Original Message-
From: Session A Mwamufiya [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 July 2007 6:23 PM
To: Struts Users Mailing List
Subject: unit testing interceptors
Hi,
Has anyone created unit tests (with JUnit) for interceptors? I'd like
to have an ea
Hi,
Has anyone created unit tests (with JUnit) for interceptors? I'd like to have
an easy example to follow in order to unit test mine.
Thanks,
Session
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Hi All,
Does anyone have a link to a simple example for unit testing an interceptor and
creating a mock ActionInvocation? The example in the Struts 2 documentation
(http://struts.apache.org/2.0.8/docs/how-can-we-test-actions.html) is hard to
understand and reuse in my code.
Thanks for any hel
8 matches
Mail list logo