Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-428

Introduction of Tests for SessionMap, and fixes for sections that break the Map contract (see javadoc in Map).

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • WW 1.4.1
    • WW 1.4.1
    • Unit Tests
    • None

    Description

      I have produced a test case that tests the current map behaviour, with the goal of producing a couple of future improvements to it.

      The test cases use DynaMock classes available from MockObjects.com.

      I have attached the only new dependancy to this issue.

      The changes are to:

      1) SessionMapTestCase.java added.
      2) SessionMap updated.
      3) new jar file dependancy.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patch.txt
          0.7 kB
          Robert Dawson
        2. ASF.LICENSE.NOT.GRANTED--SessionMap.java
          3 kB
          Robert Dawson
        3. ASF.LICENSE.NOT.GRANTED--SessionMapTestCase.java
          4 kB
          Robert Dawson
        4. ASF.LICENSE.NOT.GRANTED--mockobjects-core-0.09.jar
          55 kB
          Robert Dawson

        Activity

          People

            Unassigned Unassigned
            rdawson Robert Dawson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: