Robert Munteanu created SLING-11244:
---------------------------------------

             Summary: Update Sling XSS tests to use data providers (or similar)
                 Key: SLING-11244
                 URL: https://issues.apache.org/jira/browse/SLING-11244
             Project: Sling
          Issue Type: Improvement
          Components: XSS Protection API
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu
             Fix For: XSS Protection API 2.2.20


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to