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

ASF subversion and git services commented on GEODE-6265:
--------------------------------------------------------

Commit f640fb206d72259ffafc023bbe26f1e858a5b68a in geode's branch 
refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=f640fb2 ]

GEODE-6265: Rename TestingOnly to VisibleForTesting (#3070)

VisibleForTesting is an annotation which identifies a program
element that exists, or is more widely visible than otherwise
necessary, only for use in test code.

> Rename TestingOnly annotation to VisibleForTesting
> --------------------------------------------------
>
>                 Key: GEODE-6265
>                 URL: https://issues.apache.org/jira/browse/GEODE-6265
>             Project: Geode
>          Issue Type: Wish
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This was discussed recently on the dev-list and we decided to rename our 
> custom annotation TestingOnly which means that the annotated entity is 
> visible only for testing. For example, a method might be package-private 
> instead of private to allow unit tests to invoke it.
> Guava and AssertJ both use a similar annotation called VisibleForTesting. The 
> name is more descriptive and less ambiguous.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to