com.google.gwtmockito
Annotation Type GwtMock


@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).

Author:
ekuefler@google.com (Erik Kuefler)
See Also:
GwtMockito



Copyright © 2013. All Rights Reserved.