You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Chico Charlesworth (JIRA)" <ji...@apache.org> on 2009/01/09 15:35:59 UTC
[jira] Created: (SHINDIG-829) Ability to extend
AbstractLargeRestfulTests and access private fields
Ability to extend AbstractLargeRestfulTests and access private fields
---------------------------------------------------------------------
Key: SHINDIG-829
URL: https://issues.apache.org/jira/browse/SHINDIG-829
Project: Shindig
Issue Type: Bug
Components: RESTful API (Java)
Reporter: Chico Charlesworth
The setup method in org.apache.shindig.social.dataservice.integration.AbstractLargeRestfulTests from shindig/java/social-api is likely to be overridden if another unit test extends AbstractLargeRestfulTests. The problem though is that there isn't access to the servlet, req or res variables as they are private and there are no getter/setter methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHINDIG-829) Ability to extend
AbstractLargeRestfulTests and access private fields
Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner resolved SHINDIG-829.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.0.x-incubating
trunk
lgtm. patch applied.
> Ability to extend AbstractLargeRestfulTests and access private fields
> ---------------------------------------------------------------------
>
> Key: SHINDIG-829
> URL: https://issues.apache.org/jira/browse/SHINDIG-829
> Project: Shindig
> Issue Type: Bug
> Components: RESTful API (Java)
> Reporter: Chico Charlesworth
> Fix For: trunk, 1.0.x-incubating
>
> Attachments: fix-829-733045-bug.patch
>
>
> The setup method in org.apache.shindig.social.dataservice.integration.AbstractLargeRestfulTests from shindig/java/social-api is likely to be overridden if another unit test extends AbstractLargeRestfulTests. The problem though is that there isn't access to the servlet, req or res variables as they are private and there are no getter/setter methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-829) Ability to extend
AbstractLargeRestfulTests and access private fields
Posted by "Chico Charlesworth (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chico Charlesworth updated SHINDIG-829:
---------------------------------------
Attachment: fix-829-733045-bug.patch
This patch adds protected getter and setter methods for req, res and servlet private fields.
> Ability to extend AbstractLargeRestfulTests and access private fields
> ---------------------------------------------------------------------
>
> Key: SHINDIG-829
> URL: https://issues.apache.org/jira/browse/SHINDIG-829
> Project: Shindig
> Issue Type: Bug
> Components: RESTful API (Java)
> Reporter: Chico Charlesworth
> Attachments: fix-829-733045-bug.patch
>
>
> The setup method in org.apache.shindig.social.dataservice.integration.AbstractLargeRestfulTests from shindig/java/social-api is likely to be overridden if another unit test extends AbstractLargeRestfulTests. The problem though is that there isn't access to the servlet, req or res variables as they are private and there are no getter/setter methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.