[
https://issues.apache.org/jira/browse/FLINK-6444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209563#comment-16209563
]
ASF GitHub Bot commented on FLINK-6444:
---------------------------------------
Github user zhangminglei commented on the issue:
https://github.com/apache/flink/pull/4705
I have got an idea for how to get it's source code whether comes from
src/test. Since I can get it's class name. Then I use this name to search in
flink project. and judge where it comes from and whether this path contains
src/test and something like this. I think it works. @pnowojski What do you
think ?
> Add a check that '@VisibleForTesting' methods are only used in tests
> --------------------------------------------------------------------
>
> Key: FLINK-6444
> URL: https://issues.apache.org/jira/browse/FLINK-6444
> Project: Flink
> Issue Type: Improvement
> Components: Build System
> Reporter: Stephan Ewen
> Assignee: mingleizhang
>
> Some methods are annotated with {{@VisibleForTesting}}. These methods should
> only be called from tests.
> This is currently not enforced / checked during the build. We should add such
> a check.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)