[ 
https://issues.apache.org/jira/browse/LANG-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory resolved LANG-1491.
-----------------------------------
    Fix Version/s: 3.19.0
       Resolution: Fixed

All tests that can should not be package-private.

 

> Unit tests visibility is non-conforming with JUnit 5
> ----------------------------------------------------
>
>                 Key: LANG-1491
>                 URL: https://issues.apache.org/jira/browse/LANG-1491
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 3.9
>            Reporter: Peter Verhas
>            Priority: Major
>             Fix For: 3.19.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The used JUnit 5 library does not require that the unit test classes and 
> methods be {{public}}.
> All these {{public}} keywords are only noise in the source code and have to 
> be deleted. Otherwise, the code becomes inconsistent as the new and modified 
> tests will be package protected as per required by the test library and the 
> old tests remain public unnecessarily.



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

Reply via email to