You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Joost Schouten (JIRA)" <ji...@apache.org> on 2009/11/13 11:06:39 UTC
[jira] Created: (TAP5-929) Implement sendRedirect() for
TestableResponseImpl
Implement sendRedirect() for TestableResponseImpl
-------------------------------------------------
Key: TAP5-929
URL: https://issues.apache.org/jira/browse/TAP5-929
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-test
Reporter: Joost Schouten
When running my tests I would like my redirects to work so I can test that they redirect to the correct destinations. In my case a SecurityDispatcher that manages access rights for different users.
currently it throws a RuntimeException("TestableResponse: Method sendRedirect not yet implemented.") at:
059 public void sendRedirect(String URL) throws IOException
060 {
061 nyi("sendRedirect");
062 }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-929) Implement sendRedirect() for
TestableResponseImpl
Posted by "Joost Schouten (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777447#action_12777447 ]
Joost Schouten commented on TAP5-929:
-------------------------------------
a workaround for now is to use sendRedirect(Link) in your code in stead of sendRedirect(String url) as this is implemented.
> Implement sendRedirect() for TestableResponseImpl
> -------------------------------------------------
>
> Key: TAP5-929
> URL: https://issues.apache.org/jira/browse/TAP5-929
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-test
> Reporter: Joost Schouten
>
> When running my tests I would like my redirects to work so I can test that they redirect to the correct destinations. In my case a SecurityDispatcher that manages access rights for different users.
> currently it throws a RuntimeException("TestableResponse: Method sendRedirect not yet implemented.") at:
> 059 public void sendRedirect(String URL) throws IOException
> 060 {
> 061 nyi("sendRedirect");
> 062 }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-929) Implement sendRedirect() for
TestableResponseImpl
Posted by "Joost Schouten (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777447#action_12777447 ]
Joost Schouten commented on TAP5-929:
-------------------------------------
a workaround for now is to use sendRedirect(Link) in your code in stead of sendRedirect(String url) as this is implemented.
> Implement sendRedirect() for TestableResponseImpl
> -------------------------------------------------
>
> Key: TAP5-929
> URL: https://issues.apache.org/jira/browse/TAP5-929
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-test
> Reporter: Joost Schouten
>
> When running my tests I would like my redirects to work so I can test that they redirect to the correct destinations. In my case a SecurityDispatcher that manages access rights for different users.
> currently it throws a RuntimeException("TestableResponse: Method sendRedirect not yet implemented.") at:
> 059 public void sendRedirect(String URL) throws IOException
> 060 {
> 061 nyi("sendRedirect");
> 062 }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.