|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface GwtMock
Annotates a field to be filled with a mock object and returned via calls to
GWT.create. Any calls to GWT.create for a type matching the type of the field
will return that field. In order for this annotation to take effect, the test
must either be run with GwtMockitoTestRunner
or it must invoke
GwtMockito.initMocks(java.lang.Object)
.
GwtMockito
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |