|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=SOURCE) public @interface VisibleForTesting
Denotes that the class, method or field has its visibility relaxed so that unit tests can access it.
Thevisibility
argument can be used to specific what the original
visibility should have been if it had not been made public or package-private for testing.
The default is to consider the element private.
Optional Element Summary | |
---|---|
VisibleForTesting.Visibility |
visibility
Intended visibility if the element had not been made public or package-private for testing. |
public abstract VisibleForTesting.Visibility visibility
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |