You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2022/05/24 09:04:00 UTC
[jira] [Closed] (SLING-11244) Update Sling XSS tests to use data providers (or similar)
[ https://issues.apache.org/jira/browse/SLING-11244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu closed SLING-11244.
-----------------------------------
> 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
> Priority: Major
> Fix For: XSS Protection API 2.2.20
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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.7#820007)