Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-145

Allow to pass a custom ServletContext to WicketTester

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0 branch (discontinued)
    • 2.0 branch (discontinued)
    • wicket
    • None

    Description

      In WicketTester, there is currently no way to test code that relies on particular servlet context attributes. For example when using Spring, it is sometimes desirable to put the Spring context in the (mock) servlet context's ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE attribute. The attached patch adresses that problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbq Jean-Baptiste Quenot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: