StrutsSpringTestCase extends StrutsTestCase which extends another class that
depends on JUnit 3 not JUnit 4.
So you cannot use JUnit 4 annotations and the SpringJUnit4ClassRunner.
You may find this blog article helpful:
http://www.brucephillips.name/blog/index.cfm/2009/12/2/Using-JUnit-To
> est interdite. Ce message sert à l'information seulement et n'aura pas
> n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
&
e les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sat, 12 Mar 2011 17:16:29 -0600
> Subject: NullPointerException Using StrutsSpringTestCase
> From: fergusonja...@gmail.com
> To: user@struts
(Sorry, hit the wrong key combination and hit send without meaning to...)
I am attempting to do some out-of-container testing of a Struts Action
which extends StrutsSpringTestCase. I've tried configuring the
application context two separate ways: via the @ContextConfiguration
annotation a
I am attempting to do some out-of-container testing of a Struts Action
which extends StrutsSpringTestCase. I've tried configuring the
application context two separate ways: via the @ContextConfiguration
annotation and by overriding getContextLoca
Done - https://issues.apache.org/jira/browse/WW-3402.
Quoting Lukasz Lenart :
Could you register a new issue with patch attached?
https://issues.apache.org/jira/browse/WW
*Advertencia legal: en virtud de lo establecido en la Ley Organica 15/1999 de
Proteccion de Datos de Caracter Person
can you update the StrutsSpringTestCase in the repository?
Many Thanks for this important discovery and the solution!
Saludos Cordiales desde EEUU
Martin
__
Porfavor no modifica o interrupta esa communicacion/Please do not modify or
interrupt this
Hi All,
I ran into an issue with the StrutsSpringTestCase class when doing my
unit tests. Basically the memory kept climbing until it crashed the
machine.
This class is actually loading the applicationContext for every test
case that extends it. And because the applicationContext is
2010/3/9 carl ballantyne :
> Hi All,
>
> I ran into an issue with the StrutsSpringTestCase class when doing my unit
> tests. Basically the memory kept climbing until it crashed the machine.
>
> This class is actually loading the applicationContext for every test case
> that ex
2010/3/9 carl ballantyne :
> Done - https://issues.apache.org/jira/browse/WW-3402.
And done from my side ;-)
Best regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
-
To unsubscribe, e-ma
am not using an Open
Session In View filter preferring to grab all my data before the view
layer.
I know this is a bit of a general problem and will be difficult for
people to analyse but maybe someone has run into this before.
I am using the StrutsSpringTestCase which is part of the struts
I just found that I can actually include xml files directly via
Spring. Guess I should RTFM first.
So I have created a myapp-application-test.xml which contains:
Does the trick and clean enough. The Spring team say they prefer not
to use this approach but since it is on
Hi Guys,
I have the following spring bean definition files:
myapp-application.xml
myapp-datasource.xml
myapp-datasource-test.xml
When unit testing I want to use myapp-application.xml and
myapp-datasource-test.xml. In the real world I want to use
myapp-application.xml and myapp-datasource.xml
13 matches
Mail list logo