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

Implement sendRedirect() for TestableResponseImpl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.3
    • tapestry-test
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: