[ 
https://issues.apache.org/jira/browse/NIFI-11767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17739632#comment-17739632
 ] 

David Handermann commented on NIFI-11767:
-----------------------------------------

No need to have separate methods, as long as one method exercises a good set of 
potential malicious inputs.

> Refactor Groovy tests in nifi-web-error and nifi-web-security to Java (and 
> JUnit 5)
> -----------------------------------------------------------------------------------
>
>                 Key: NIFI-11767
>                 URL: https://issues.apache.org/jira/browse/NIFI-11767
>             Project: Apache NiFi
>          Issue Type: Sub-task
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> The following tests are to be refactored
> # 
> /nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-error/src/test/groovy/org/apache/nifi/web/filter/CatchAllFilterTest.groovy
> # 
> ./nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/test/groovy/org/apache/nifi/web/security/ProxiedEntitiesUtilsTest.groovy
> # 
> ./nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/test/groovy/org/apache/nifi/web/security/requests/ContentLengthFilterTest.groovy



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to