Sure, got you Luk. Thanks for getting back to me.
Thanks and Regards,
Saravanan.S
From: Lukasz Lenart
Sent: Monday, May 13, 2024 12:14 PM
To: Struts Users Mailing List
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
CAUTION: This
pon., 29 kwi 2024 o 09:15 SARAVANAN SIVAGURU
napisał(a):
> I would suggest to align the library version on the struts library as same
> as the tomee one. As both are from Apache community we need to have in
> alignment to make it work as expected.
>
This is a bad idea to align to a given versio
ccept liability for any damage you may sustain as a result of software viruses
From: SARAVANAN SIVAGURU
Sent: Thursday, April 25, 2024 4:43 PM
To: Struts Users Mailing List
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
CAUTION: This
the same.
>
> Thanks and Regards,
> Saravanan.S
> FTMS/NFT APP-DEV Team
>
> From: SARAVANAN SIVAGURU
> Sent: Thursday, April 25, 2024 12:20 PM
> To: Struts Users Mailing List
> Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 |
> Testi
From: SARAVANAN SIVAGURU
Sent: Thursday, April 25, 2024 12:20 PM
To: Struts Users Mailing List
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
Hi Luk
Thank you, let me check by taking the PR in my local and keep you posted.
Thanks and Regards
Struts-6.4.0 | Testing
CAUTION: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
I upgraded commons-text to ver 1.12.0
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F
t; Thanks and Regards,
> Saravanan.S
>
> From: SARAVANAN SIVAGURU
> Sent: Tuesday, April 23, 2024 6:45 PM
> To: Struts Users Mailing List
> Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 |
> Testing
>
> Hi Luk
&g
-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
Hi Luk
Please find the attachment for the 6.5 version dependency.
Thanks and Regards,
Saravanan.S
From: SARAVANAN SIVAGURU
Sent: Tuesday, April 23, 2024 2:31 PM
To: Struts Users Mailing List
Subject
It turns out it was an issue with one of the dependency versions.
Wyatt
-Original Message-
From: Lukasz Lenart
Sent: Monday, April 22, 2024 9:38 PM
To: Struts Users Mailing List
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
Why do you use org.apache.commons:commons-text:1.12.0? With Struts 6.4
you have used org.apache.commons:commons-text:1.11.0 and the same
version should be used with Struts 6.5
Regards
Lukasz
-
To unsubscribe, e-mail: user-unsubsc
Sure, I will do
Thanks and Regards,
Saravanan.S
From: Lukasz Lenart
Sent: Tuesday, April 23, 2024 2:29 PM
To: Struts Users Mailing List
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
CAUTION: This email originated from outside
wt., 23 kwi 2024 o 10:54 SARAVANAN SIVAGURU
napisał(a):
> Hi Luk
>
> Somehow I was unable to share the report files as a attachment in html
> format. Am attaching the text file, output of the gradle dependencies
> command for the my application.
>
This is for Struts 6.4.0, but could you use Stru
pon., 22 kwi 2024 o 22:40 Tellis, Wyatt
napisał(a):
> We’ve run into this issue as well. Using the workaround of specifying the
> location via:
>
>
>
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
> /WEB-INF/tiles.xml
>
>
> doesn’t work.
You can specify all the
Mailing List
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
Also the very recent change which got merged with 7. 0. 0-M3 SNAPSHOT version
had break the code and gave the same error as I mentioned below. Thanks and
Regards, Saravanan. S FTMS/NFT APP-DEV Team Mob
Could you run "gradle dependencies" and post the outcome?
tiles.xml fails in Struts-6.4.0 | Testing
Hi Luk
I have tested by cloning the PR and building in my local and facing the same
issue as below mentioned.
When I tried with 6.4.0 version also am facing the same issue.
Exception
javax.servlet.ServletException: Filter execution threw an exception
ult of software viruses
From: SARAVANAN SIVAGURU
Sent: Monday, April 22, 2024 3:06 PM
To: Struts Users Mailing List
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
Got it, I will test the PR specifically by cloning in local.
An
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing
CAUTION: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
This fix wasn't integrated with the SNA
This fix wasn't integrated with the SNAPSHOT version yet - it exists
only in the PR, if you want to test it you must clone the PR locally
and build it.
pon., 22 kwi 2024 o 11:08 SARAVANAN SIVAGURU
napisał(a):
>
> Hi Luk
>
> Faced any issues during the testing of the fix with 6.5
Hi Luk
Faced any issues during the testing of the fix with 6.5-SNAPSHOT version like
below,
java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range
org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Compa
Hi,
> "None of us are resistant to new ideas or ways of looking at
things"
Happy LEARNING
https://www.robotshop.com/uk/37-modules-sensor-kit-arduino.html
https://www.raspberrypi.org/
https://beagleboard.org/bone
On Wed, 4 Dec 2019 at 14:11, Dave Newton wrote:
> On Wed, Dec 4, 2019 at 07
On one occasion I had to make use of external procedure (dynamic link
library (DLL)) on a database.
The Oracle documents showed,Oracle database provides two ways of
interacting with host operating system.
PL/SQL which can create and write files to disk or a developer can create
dll (in C or other
On Wed, Dec 4, 2019 at 07:56 Zahid Rahman wrote:
> The space and defence don't share what they are doing. So I don't think
> yours is reasonable statement that you know what is happening in the
> aerospace and defence industry.
Hm. I don't think your assumption that I haven't done defense c
The space and defence don't share what they are doing. So I don't think
yours is reasonable statement that you know what is happening in the
aerospace and defence industry.
Anyway you jumped to a conclusion of reverse engineering when I was
referring to the benefit of traceability when using
On Wed, Dec 4, 2019 at 07:37 Zahid Rahman wrote:
> I'm not talking of reverse engineering, my point is traceability.
Sure you are--you specifically brought up decompiling, which is the first
step of reverse-engineering. And in a jar with no debug info, or
obfuscation, it's not the last step.
(
On Wed, Dec 4, 2019 at 06:36 Zahid Rahman wrote:
> You're right except in a bespoke hardware , software environment they tend
> to use 68k Motorola chip to eliminate internal unknown risks.
I haven't worked on a 68k product for twenty years--I'd be *very* surprised
if anyone had designed one in
I'm not talking of reverse engineering, my point is traceability.
If you can decompile code then if there is a problem then there is a chance
that you can trace it. With .exe or dll you cannot trace the problem.
On Wed, 4 Dec 2019, 11:06 Dave Newton, wrote:
> On Wed, Dec 4, 2019 at 01:16 Zah
You're right except in a bespoke hardware , software environment they tend
to use 68k Motorola chip to eliminate internal unknown risks.
On Wed, 4 Dec 2019, 11:06 Dave Newton, wrote:
> On Wed, Dec 4, 2019 at 01:16 Zahid Rahman wrote:
>
> > .exe and DLLs (C,C++) have unknown internals (AF
Thanks for a most respectful reply.
I will give details of an incident later.
On Wed, 4 Dec 2019, 11:06 Dave Newton, wrote:
> On Wed, Dec 4, 2019 at 01:16 Zahid Rahman wrote:
>
> > .exe and DLLs (C,C++) have unknown internals (AFAIK DLLs can't be
> > decompiled).
>
>
> They're just code like
On Wed, Dec 4, 2019 at 01:16 Zahid Rahman wrote:
> .exe and DLLs (C,C++) have unknown internals (AFAIK DLLs can't be
> decompiled).
They're just code like anything else. And I don’t quite understand why
there’s a distinction made here between reverse engineering an exe and a
jar.
I also chos
So at the beginning of a project you have made a decision
that you will be doing black box testing and using unknown internals.
In a best practice environment finding one self doing black box testing is
avoided altogether.
I also chose Java because one can decompile classes , so any unknown
behaviou
Hi,
I am writing a test case extending from strutsspringtestcase and invoking
the actions as below:
ActionProxy proxy = getActionProxy("/login");
LoginAction action = (LoginAction) proxy.getAction();
String result = proxy.execute();
Also, I am creating mocked objects using mockito as below:
@Moc
> Date: Fri, 13 Jun 2014 19:01:31 +0530
> Subject: Re: Issues in Struts2 unit testing
> From: akrajmscjavaquest...@gmail.com
> To: user@struts.apache.org
>
> Hi Paul,
>
> I placed the break points in struts code. But the control is not redirected
> to strut
a","no-cache");
> > response.setHeader("Cache-Control","no-store");
> > response.setHeader("Expires","0");
> > response.setDateHeader("Expires",-1);
> > response.setCharacterEncoding
t;);
> > > }
> > > }
> > >
> > > else {
> > > return "login";
> > >
> > > }
> > > response.setHeader("Pragma","no-cache");
> > > response.s
eader("Pragma","no-cache");
> > response.setHeader("Cache-Control","no-store");
> > response.setHeader("Expires","0");
> > response.setDateHeader("Expires",-1);
> > response
;Expires",-1);
> response.setCharacterEncoding("UTF-8");
> return invocation.invoke();
>
> }
> }
>
> I debug the application by placing the break point. When the control go to
> " return invocation.invoke();" it throws error.
>
1:11 AM, Krishnaraj A <
> > akrajmscjavaquest...@gmail.com> wrote:
> >
> > > Hi Team,
> > >
> > > Iam new to using Struts2 unit testing. Iam using the Struts 2 JUnit
> > plugin
> > > <http://struts.apache.org/2.3.1.2
bug the application by placing the break point. When the control go to
" return invocation.invoke();" it throws error.
java.lang.
IllegalStateException: Action has already executed
Thanks,
Krishnaraj
On Thu, Jun 12, 2014 at 8:45 PM, Dave Newton wrote:
> Without knowing what&
impossible to help.
>
> Dave
>
>
> On Thu, Jun 12, 2014 at 11:11 AM, Krishnaraj A <
> akrajmscjavaquest...@gmail.com> wrote:
>
> > Hi Team,
> >
> > Iam new to using Struts2 unit testing. Iam using the Struts 2 JUnit
> plugin
> > <http://struts.
Without knowing what's in your interceptor stack it's impossible to help.
Dave
On Thu, Jun 12, 2014 at 11:11 AM, Krishnaraj A <
akrajmscjavaquest...@gmail.com> wrote:
> Hi Team,
>
> Iam new to using Struts2 unit testing. Iam using the Struts 2 JUnit plugin
> <h
Hi Team,
Iam new to using Struts2 unit testing. Iam using the Struts 2 JUnit plugin
<http://struts.apache.org/2.3.1.2/docs/junit-plugin.html>. The normal
actions which is working fine. But I have issue when I am testing the
action which has interceptor.
/MainAdm
gt; >> > I have managed to sort it out. My project has two maven modules and
> >> one
> >> >> > parent pom common for those modules.
> >> >> > Tests are located in on of the submodules.
> >> >> > As turns out, when I add servlet-api a
>> >> > I have managed to sort it out. My project has two maven modules and
>> one
>> >> > parent pom common for those modules.
>> >> > Tests are located in on of the submodules.
>> >> > As turns out, when I add servlet-api and jsp-api d
present.
> >> > However, when I move those two dependencies to the module's pom which
> >> tests
> >> > are located in, error disappears.
> >> > So that problem is solved.
> >> > Unfortunately, there is another issue. I have almost given u
ated in, error disappears.
>> > So that problem is solved.
>> > Unfortunately, there is another issue. I have almost given up but my
>> desire
>> > to start automatically testing Struts actions is stronger so I still
>> > struggle :)
>> > I have S
the module's pom which
> tests
> > are located in, error disappears.
> > So that problem is solved.
> > Unfortunately, there is another issue. I have almost given up but my
> desire
> > to start automatically testing Struts actions is stronger so I still
> &g
rror is present.
> However, when I move those two dependencies to the module's pom which tests
> are located in, error disappears.
> So that problem is solved.
> Unfortunately, there is another issue. I have almost given up but my desire
> to start automatically testing St
to the module's pom which tests
are located in, error disappears.
So that problem is solved.
Unfortunately, there is another issue. I have almost given up but my desire
to start automatically testing Struts actions is stronger so I still
struggle :)
I have Spring dependencies in the actions i
What Struts version do you use? And can you post source of the test?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/11/24 Damian Blazejewski :
> Hello,
>
> I have a problem executing Struts 2 action test case.
> I get the following error:
>
>
> *Absent Code attribute in metho
Hello,
I have a problem executing Struts 2 action test case.
I get the following error:
*Absent Code attribute in method that is not native or abstract in class
file javax/servlet/jsp/PageContext *
I have no clue what can be wrong.
Thank you in advance for your help.
Here are my dependencies:
= ServletActionContext.getServletContext().getResource(path);
ServletActionContext.getServletContext() returns a spring
MockServletContext which does not seem to be able to retrieve a
resource relative to the context path.
Has anyone succeeded in testing xslt result type in this kind of situation
n do to give something
> back to the community).
>
> It is how-ever loosely based on this:
> http://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/
> <http://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring
the least I can do to give
something back to the community).
It is how-ever loosely based on this:
http://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/
<http://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/>
an
2012/3/22 Mounir Benzid :
> :-) Ok, but actually this isn't my code and not even my blog. I just
> stumbled over the solution while googling at 2 am .
> So there is not connection between me and [1]. Sorry for the
> misunderstanding.
>
> But I can contact the author and see if s/he is willing to
Am 22.03.2012 16:05, schrieb Łukasz Lenart:
2012/3/22 Mounir Benzid:
You mean some code demonstrating how I did my tests using [1] ?
An example would be nice, but I'm talking about your test class from
the blog entry. It must be donated to ASF if I want to use it and the
simplest way is to att
2012/3/22 Mounir Benzid :
> You mean some code demonstrating how I did my tests using [1] ?
An example would be nice, but I'm talking about your test class from
the blog entry. It must be donated to ASF if I want to use it and the
simplest way is to attach it as a patch to the issue.
Regards
--
Am 20.03.2012 11:26, schrieb Łukasz Lenart:
Mounir
could you prepare a patch with your test case class from here [1] and
attach it to https://issues.apache.org/jira/browse/WW-3778 with
granting license to ASF ? I'd like to include your code in S2
[1] http://www.zapjava.com/tutorials/spring-strut
2012/3/20 Łukasz Lenart :
> As I see there is a small mess with the test classes. Struts 2 has
> three StrutsTestCase classes, in core in junit plugin and in testng
> plugin. It would be nice to clean them up. Remove StrutsTestCase from
> core and two other StrutsTestCase classes rename accordingly
Mounir
could you prepare a patch with your test case class from here [1] and
attach it to https://issues.apache.org/jira/browse/WW-3778 with
granting license to ASF ? I'd like to include your code in S2
[1] http://www.zapjava.com/tutorials/spring-struts2-junit4-annotations/
Regards
--
Łukasz ht
As I see there is a small mess with the test classes. Struts 2 has
three StrutsTestCase classes, in core in junit plugin and in testng
plugin. It would be nice to clean them up. Remove StrutsTestCase from
core and two other StrutsTestCase classes rename accordingly,
Also adding support for the Con
Am 19.03.2012 20:54, schrieb Łukasz Lenart:
If you'll follow the last comments, you'll find another approach.
Always you can prepare your solution and register an issue to
integrate your solution with S2
Regards
I found this blog post. So far this solves the problems I had with the
old bases
itura http://confitura.pl/
2012/3/19 Mounir Benzid :
>
>
> A co-worker of mine discovered the below test helper class that we are
> currently employing for some very basic action testing stuff
> https://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring
A co-worker of mine discovered the below test helper class that we are
currently employing for some very basic action testing stuff
https://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/
Since this is from 2007 I'm wondering if this is still the
Replying to my own post after reading some source code. If you have additional
advice to add, I'd love to hear it.
I have now learned about the ConversionErrorInterceptor:
http://struts.apache.org/2.0.14/docs/conversion-error-interceptor.html
http://struts.apache.org/2.3.1.2/xwo
I've got accessor/mutators on my action for an integer ID parameter like this:
NewUserAction {
int _userGroupId = -1;
// execute, validate, other methods
setUserGroupId( int id ) { this._userGroupId = id; }
getUserGroupId() { return _userGroupId; }
}
But when I
For future reference, I found the answer in
http://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/
Basically, you need to initialize the tiles listener. As I already used
setupBeforeInitDispatcher to set the applicationContext attribute, I
added the code
Hi there,
I trying to test an application with the help of StrutsTestCase (a class
that extends from StrutsSpringTestCase, to be more precise).
StrutsTestCase (which is in the struts junit plugin) involves proxied
actions to make tests more light.
I have used the same method in another applicatio
JIRA issue created: https://issues.apache.org/jira/browse/WW-3733
Thank you for the assistance.
Bruce
--
View this message in context:
http://struts.1045723.n5.nabble.com/Problem-With-Struts-2-3-1-and-Testing-Struts-Portlet-tp5103393p5110605.html
Sent from the Struts - User mailing list
ction
> -
> file:/Users/bphillips/eclipse_workspaces/kucard/Struts2HelloWorldPortlet/target/classes/struts.xml:11:74
> at
> com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:224)
>
> I get the same error if the project is using the Struts Spring plugin or
>
a:224)
I get the same error if the project is using the Struts Spring plugin or
not.
I think the error is in the Struts unit testing framework as I can still run
the project successfully. For example after updating the struts.version in
pom.xml enter this command in the terminal window:
mv
work perfectly with junit. With the debugging mode
I found that not any of my actions mapped with annotations are found by the
xwork DefaultConfiguration and ConventionUnknownHandler classes.
--
View this message in context:
http://struts.1045723.n5.nabble.com/unit-testing-with-junit-spring-st
--
View this message in context:
http://struts.1045723.n5.nabble.com/unit-testing-with-junit-spring-struts2-NullPointerException-with-HttpServletRequest-tp4394036p4913525.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
run tests against my actions.
> Anybody know any work arounds?
>
> thanks
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/unit-testing-with-junit-spring-struts2-NullPointerException-with-HttpServletRequest-tp4394036p4903696
s?
thanks
--
View this message in context:
http://struts.1045723.n5.nabble.com/unit-testing-with-junit-spring-struts2-NullPointerException-with-HttpServletRequest-tp4394036p4903696.html
Sent from the Struts - User mailing list archive at
Hi,
I'd like to introduce this simple library, which is based on the
StrutsJUnit4TestCase class that comes with the Struts 2 distribution.
Usage
This library is primarily intended for integration tests, meaning you
can test your actions and interceptors against a complete struts
interceptor stac
the xml configuration should have nothing
to do with it, as the reflection code only seems to be able to find the
execute() method which is part of the action interface.
I have been deep in this with the debugger and I am actually pretty sure
by now
that this is a defect in the testing framework
2011/6/17 UV :
> When I try to test an action with a method="actionMethod" attribute
> configured in a StrutsTestCase
> the AnnotationValidationInterceptor fails in getActionMethod#75 cause it
> cannot find the method
Try to name your method actionMethod instead of getActionMethod and of
return t
Hi,
the setup is unit testing with maven + spring + struts using
StrutsSpringTestCase super class
(which is an extended org.apache.struts2.StrutsTestCase with access to
spring config).
So this is working well with actions not having the methodname configured.
Whenever I do configure such a
; configured in a StrutsTestCase
> the AnnotationValidationInterceptor fails in getActionMethod#75 cause it
> cannot find the method
> using the configured name on the proxy used in the testing framework.
>
> My only workaround so far was using execute() method on actions only and
>
Hi,
When I try to test an action with a method="actionMethod" attribute
configured in a StrutsTestCase
the AnnotationValidationInterceptor fails in getActionMethod#75 cause it
cannot find the method
using the configured name on the proxy used in the testing framework.
My only wor
struts v2.1.8.1 + spring 3.0 + junit 4.0. it should be
> noted that i am using convention plugin for spring.
>
> my action class extends ActionSupport and implements
> ServletRequestAware and ServletResponseAware. the method i am testing
> inside my action class never returns a stri
hi,
i am using struts v2.1.8.1 + spring 3.0 + junit 4.0. it should be
noted that i am using convention plugin for spring.
my action class extends ActionSupport and implements
ServletRequestAware and ServletResponseAware. the method i am testing
inside my action class never returns a string
solution renders as a button anyway in IE6, IE7, IE8, Firefox and Chrome,
> does anyone know what the point of is? (It also
> might be worth a mention in the tag reference as well)
>
>
> Regards
> --
> View this message in context:
> http://old.nabble.com/Struts-2-Testing-
ng itself on IE6 as well. Since your
solution renders as a button anyway in IE6, IE7, IE8, Firefox and Chrome,
does anyone know what the point of is? (It also
might be worth a mention in the tag reference as well)
Regards
--
View this message in context:
http://old.nabble.com/Struts-2-Testing---od
Freelander 2
> Range Rover 2004.5 to 2005
> Range Rover 2006
> Range Rover 2007 to 2009
> Range Rover 2010 on
> Range Rover Sport 2005 to 2009
> Range Rover Sport 2010 on
>
>
>
>
>
> Next
>
>
> value="Su
.
--
View this message in context:
http://old.nabble.com/Struts-2-Testing---odd-behaviour-tp30308915p30328168.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@
On Fri, Nov 26, 2010 at 12:09 PM, Ashlon Hill wrote:
> so there is a typo in value="{platformName}" ?
>
If not in functionality (I'm not sure what that would do) then in clarity:
either use an OGNL escape, or don't, but don't go 50%.
Dave
tentType="text/html; charset=ISO-8859-1"
> > >pageEncoding="ISO-8859-1"%>
> > > <%@ taglib prefix="s" uri="/struts-tags" %>
> > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> > >
> > />
> > Edit Ecu Text
> >
> >
> > Select Platform
> >
> >
> > listKey="id"
> > listValue="platformName"
> >value="{platformName}"/>
> >
> >
> >
> >
> >
-strict.dtd";>
>
>
>
> Edit Ecu Text
>
>
> Select Platform
>
>
> listValue="platformName"
> value="{platformName}"/>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/S
ng="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
Edit Ecu Text
Select Platform
--
View this message in context:
http://old.nabble.com/Struts-2-Testing---odd-behavio
I'm using Struts 2.1.8 with the convention plugin to configure struts2
with annotations instead of xml files. When I write unit tests for
actions using StrutsSpringTestCase or StrutsTestCase, it appears that
the convention plugin isn't scanning my java packages for action
classes when the rest of t
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
-
You can try this :
http://cimballisblog.blogspot.com/2009/09/unit-testing-struts2-actions-with.html
Cimballi
On Tue, Aug 3, 2010 at 3:01 PM, akash uppal wrote:
>
>
>
> Dan - Is your Struts 2 application using Spring? If it isn't you shouldn't
> need to use the StrutsS
ugin much with a Struts 2 - Spring application.
Bruce
dolsen wrote:
>
> When I follow the web site
> http://www.brucephillips.name/blog/index.cfm/2009/9/5/Unit-Testing-A-Struts-2-Action-Class--Struts-2-JUnit-Plugin
> I get the following error when trying to run my test case. I then
y you would
get the error you did).
If you are using Spring then I don't have any good advice for you as I've
not used the JUnit plugin much with a Struts 2 - Spring application.
Bruce
dolsen wrote:
>
> When I follow the web site
> http://www.brucephillips.name/blog/index.cf
1 - 100 of 512 matches
Mail list logo