Search in sources :

Example 1 with UploadOperationQueueingListener

use of com.microsoft.live.test.util.UploadOperationQueueingListener in project LiveSDK-for-Android by liveservices.

the class UploadTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    // some upload requests perform two http requests, so clear any responses that may have
    // been entered already. each test here is responsible for loading 1 or two responses.
    this.mockClient.clearHttpResponseQueue();
    this.responseQueue = new LinkedBlockingQueue<LiveOperation>();
    this.queueingListener = new UploadOperationQueueingListener(this.exceptionQueue, this.responseQueue);
}
Also used : UploadOperationQueueingListener(com.microsoft.live.test.util.UploadOperationQueueingListener) LiveOperation(com.microsoft.live.LiveOperation)

Aggregations

LiveOperation (com.microsoft.live.LiveOperation)1 UploadOperationQueueingListener (com.microsoft.live.test.util.UploadOperationQueueingListener)1