A C F G I R T U W

A

AsyncAnswers - Class in com.google.gwtmockito
A collection of answers useful for testing asynchronous GWT applications.
AsyncAnswers() - Constructor for class com.google.gwtmockito.AsyncAnswers
 

C

com.google.gwtmockito - package com.google.gwtmockito
 
com.google.gwtmockito.fakes - package com.google.gwtmockito.fakes
 

F

FakeClientBundleProvider - Class in com.google.gwtmockito.fakes
Provides fake implementations of ClientBundles.
FakeClientBundleProvider() - Constructor for class com.google.gwtmockito.fakes.FakeClientBundleProvider
 
FakeMessagesProvider<T> - Class in com.google.gwtmockito.fakes
Provides fake implementations of Messages, CssResource, and SafeHtmlTemplates.
FakeMessagesProvider() - Constructor for class com.google.gwtmockito.fakes.FakeMessagesProvider
 
FakeProvider<T> - Interface in com.google.gwtmockito.fakes
Interface implemented by an object capable of providing fake instances of a given type.
FakeUiBinderProvider - Class in com.google.gwtmockito.fakes
Provides fake implementations of UiBinder.
FakeUiBinderProvider() - Constructor for class com.google.gwtmockito.fakes.FakeUiBinderProvider
 

G

getAdditionalClasspaths() - Method in class com.google.gwtmockito.GwtMockitoTestRunner
Returns a list of additional sources from which the classloader should read while running tests.
getClassesToStub() - Method in class com.google.gwtmockito.GwtMockitoTestRunner
Returns a collection of classes whose non-abstract methods should always be replaced with no-ops.
getFake(Class<?>) - Method in class com.google.gwtmockito.fakes.FakeClientBundleProvider
Returns a new instance of the given type that implements methods as described in the class description.
getFake(Class<?>) - Method in class com.google.gwtmockito.fakes.FakeMessagesProvider
Returns a new instance of the given type that implements methods as described in the class description.
getFake(Class<?>) - Method in interface com.google.gwtmockito.fakes.FakeProvider
Returns a fake implementation of the given type.
getFake(Class<?>) - Method in class com.google.gwtmockito.fakes.FakeUiBinderProvider
Returns a new instance of FakeUiBinder that implements the given interface.
getParentClassloader() - Method in class com.google.gwtmockito.GwtMockitoTestRunner
Returns the classloader to use as the parent of GwtMockito's classloader.
GwtMock - Annotation Type in com.google.gwtmockito
Annotates a field to be filled with a mock object and returned via calls to GWT.create.
GwtMockito - Class in com.google.gwtmockito
A library to make Mockito-based testing of GWT applications easier.
GwtMockito() - Constructor for class com.google.gwtmockito.GwtMockito
 
GwtMockitoTestRunner - Class in com.google.gwtmockito
A JUnit4 test runner that executes a test using GwtMockito.
GwtMockitoTestRunner(Class<?>) - Constructor for class com.google.gwtmockito.GwtMockitoTestRunner
Creates a test runner which allows final GWT classes to be mocked.

I

initMocks(Object) - Static method in class com.google.gwtmockito.GwtMockito
Causes all calls to GWT.create to be intercepted to return a mock or fake object, and populates any GwtMock-annotated fields with mockito mocks.

R

returnFailure(Throwable) - Static method in class com.google.gwtmockito.AsyncAnswers
Invokes AsyncCallback.onFailure(java.lang.Throwable) on the first argument of type AsyncCallback passed to the method.
returnSuccess(T) - Static method in class com.google.gwtmockito.AsyncAnswers
Invokes AsyncCallback.onSuccess(T) on the first argument of type AsyncCallback passed to the method.
run(RunNotifier) - Method in class com.google.gwtmockito.GwtMockitoTestRunner
Runs the tests in this runner, ensuring that the custom GwtMockito classloader is installed as the context classloader.

T

tearDown() - Static method in class com.google.gwtmockito.GwtMockito
Resets GWT.create to its default behavior.

U

useProviderForType(Class<?>, FakeProvider<?>) - Static method in class com.google.gwtmockito.GwtMockito
Specifies that the given provider should be used to GWT.create instances of the given type and its subclasses.

W

withBefores(FrameworkMethod, Object, Statement) - Method in class com.google.gwtmockito.GwtMockitoTestRunner
Overridden to invoke GwtMockito.initMocks before starting each test.

A C F G I R T U W

Copyright © 2013. All Rights Reserved.