Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-401

Sort the displayed parameters for the Event Renderer

    XMLWordPrintable

Details

    • N/A
    • N/A

    Description

      We use the Event Renderer in lots of integration tests and if code creating Blocks such as ImageBlock don't use a LinkedHashMap Map then the test randomly fail during the comparison since the key order is not guaranteed (see attached image)

      Thus a better solution is to always order alphabetically the parameters output by the Event Renderer

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: