|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.web.bindery.requestfactory.shared.testing.FakeRequest<T>
T - The return type of objects in the corresponding response.public class FakeRequest<T>
A no-op implementation of Request that can be used as a base type for writing unit tests.
| Constructor Summary | |
|---|---|
FakeRequest()
|
|
| Method Summary | |
|---|---|
void |
fire()
No-op. |
void |
fire(Receiver<? super T> receiver)
No-op. |
RequestContext |
getRequestContext()
Returns null. |
RequestContext |
to(Receiver<? super T> receiver)
Returns null. |
Request<T> |
with(java.lang.String... propertyRefs)
Returns this. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FakeRequest()
| Method Detail |
|---|
public void fire()
fire in interface Request<T>public void fire(Receiver<? super T> receiver)
fire in interface Request<T>receiver - a Receiver instancepublic RequestContext getRequestContext()
null.
getRequestContext in interface Request<T>public RequestContext to(Receiver<? super T> receiver)
null.
to in interface Request<T>receiver - a Receiver instance
RequestContext instancepublic Request<T> with(java.lang.String... propertyRefs)
this.
with in interface Request<T>propertyRefs - a list of reference property names as Strings
Request instance of type T
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||