Till Rohrmann created FLINK-25259:
-------------------------------------
Summary: NO_CALLS_TO_VISIBLE_FOR_TESTING_METHODS should take the
package into consideration
Key: FLINK-25259
URL: https://issues.apache.org/jira/browse/FLINK-25259
Project: Flink
Issue Type: Improvement
Components: Tests
Affects Versions: 1.15.0
Reporter: Till Rohrmann
Fix For: 1.15.0
The new architecture test {{NO_CALLS_TO_VISIBLE_FOR_TESTING_METHODS}} checks
whether production code calls a method that is annotated with
{{@VisibleForTesting}}. This can lead to false positives if this method is
called from production code in the same package. Therefore, I suggest to take
also the package into consideration when checking for this condition.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)