Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11244

Update Sling XSS tests to use data providers (or similar)

    XMLWordPrintableJSON

Details

    Description

      The AntiSamyPolicyTest and XSSFilterImplTest use multiple sources of data and for loops to validate behaviour.

      This works, and at the same time if we have multiple failures we only get notified of the first one. With major refactoring (such as SLING-7231) we could use a way of seeing how much of a test case fails.

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              rombert Robert Munteanu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h