You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/02/08 08:22:00 UTC
[jira] [Updated] (FLINK-25259) NO_CALLS_TO_VISIBLE_FOR_TESTING_METHODS should take the package into consideration
[ https://issues.apache.org/jira/browse/FLINK-25259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-25259:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)