Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-929

Implement sendRedirect() for TestableResponseImpl

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.3
    • Component/s: tapestry-test
    • Labels:
      None

      Description

      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 }

        Attachments

          Activity

            People

            • Assignee:
              igor.drobiazko Igor Drobiazko
              Reporter:
              joostschouten Joost Schouten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: