You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Peter Petrovics (JIRA)" <ji...@apache.org> on 2010/06/02 12:45:40 UTC
[jira] Issue Comment Edited: (WW-3403) JUnit 4 StrutsTestCase
[ https://issues.apache.org/jira/browse/WW-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874530#action_12874530 ]
Peter Petrovics edited comment on WW-3403 at 6/2/10 6:44 AM:
-------------------------------------------------------------
I did the same :)
However I have a different StrutsTestCase.java which includes several additional methods like:
executeAction
findValueAfterExecute
getActionMapping
etc.
Might it be a newer version? I don't remember where did I find it but it would nice to check which is the up2date one.
was (Author: szerintedmi):
I did the same :)
However I have a different StrutsTestCase.java which includes several additional methods like:
executeAction
findValueAfterExecute
getActionMapping
etc.
Might it be newer version? I don't remember where did I find it but it would nice to check which is the up2date one.
> JUnit 4 StrutsTestCase
> ----------------------
>
> Key: WW-3403
> URL: https://issues.apache.org/jira/browse/WW-3403
> Project: Struts 2
> Issue Type: New Feature
> Components: Unit Tests
> Environment: any
> Reporter: Daniel Henry
> Priority: Minor
> Attachments: StrutsTestCase2.java, XWorkTestCase2.java
>
> Original Estimate: 0.25h
> Remaining Estimate: 0.25h
>
> I modified the XWorkTestCase and StrutsTestCase to be compatible with JUnit 4. The update is simple : XWorkTestCase no longer extends TestCase and change the setUp and tearDown methods from protected to public. Also add @Before to setUp methods and @After to tearDown. This has worked out well for us and would like to contribute back.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.