You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (JIRA)" <ji...@apache.org> on 2019/04/24 22:23:16 UTC

[jira] [Closed] (GEODE-6265) Rename TestingOnly annotation to VisibleForTesting

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

Owen Nichols closed GEODE-6265.
-------------------------------

> 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
>             Fix For: 1.9.0
>
>          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)