struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stilwell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-3353) StrutsTestCase doesn't work with rest-plugin
Date Wed, 09 Dec 2009 18:17:42 GMT

     [ https://issues.apache.org/struts/browse/WW-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bill Stilwell updated WW-3353:
------------------------------

    Attachment: pom.xml
                GetOrdersStrutsTest.java

GetOrdersStrutsTest.java should be in \src\test\java\org\apache\struts2\rest\example
pom.xml is updated to use junit 4 and include jsp-api, which is required for some reason to
make this work.

> StrutsTestCase doesn't work with rest-plugin
> --------------------------------------------
>
>                 Key: WW-3353
>                 URL: https://issues.apache.org/struts/browse/WW-3353
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.8
>            Reporter: Bill Stilwell
>         Attachments: GetOrdersStrutsTest.java, pom.xml
>
>
> StrutsTestCase doesn't seem to work with rest-plugin. I can create action mapping/action
proxies, but they don't work - for e.g., a request for /orders/3 against the rest-showcase
controller doesn't call setId. 
> I will attach a sample unit test that demonstrates the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message