@Config(shadows=com.android.volley.mock.ShadowSystemClock.class)
public class RequestQueueIntegrationTest
extends java.lang.Object
RequestQueue
, that verify its behavior in conjunction with real dispatcher, queues and
Requests. Network is mocked outConstructor and Description |
---|
RequestQueueIntegrationTest() |
Modifier and Type | Method and Description |
---|---|
void |
add_dedupeByCacheKey()
Asserts that requests with same cache key are processed in order.
|
void |
add_requestFinishedListenerCanceled()
Verify RequestFinishedListeners are informed when requests are canceled
Needs to be an integration test because relies on Request -> dispatcher -> RequestQueue interaction
|
void |
add_requestFinishedListenerError()
Verify RequestFinishedListeners are informed when request errors
Needs to be an integration test because relies on Request -> dispatcher -> RequestQueue interaction
|
void |
add_requestFinishedListenerSuccess()
Verify RequestFinishedListeners are informed when requests are successfully delivered
Needs to be an integration test because relies on Request -> dispatcher -> RequestQueue interaction
|
void |
add_requestProcessedInCorrectOrder() |
void |
setUp() |
public void setUp() throws java.lang.Exception
java.lang.Exception
public void add_requestProcessedInCorrectOrder() throws java.lang.Exception
java.lang.Exception
public void add_dedupeByCacheKey() throws java.lang.Exception
java.lang.Exception
public void add_requestFinishedListenerCanceled() throws java.lang.Exception
java.lang.Exception
public void add_requestFinishedListenerSuccess() throws java.lang.Exception
java.lang.Exception
public void add_requestFinishedListenerError() throws java.lang.Exception
java.lang.Exception