@PowerMockIgnore(value={"javax.crypto.*","javax.management.*"})
public class DynamoDBFutureSpec_ALL
extends FutureTestTemplate<Set<String>,com.amazonaws.services.dynamodbv2.model.GetItemResult>
| Modifier and Type | Class and Description |
|---|---|
private class |
DynamoDBFutureSpec_ALL.UserDynamoDBDecoder |
| Modifier and Type | Field and Description |
|---|---|
private static String |
DYN_DB_PREFIX_OBJECT_ATTR |
org.junit.rules.ExpectedException |
exceptionRule |
| Constructor and Description |
|---|
DynamoDBFutureSpec_ALL() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel_returnsExpectedResultsIfTaskIsFinished() |
void |
cancel_returnsExpectedResultsIfTaskIsRunning() |
protected Future<Set<String>> |
createTestFuture(Future<com.amazonaws.services.dynamodbv2.model.GetItemResult> innerFuture) |
void |
get_long_TimeUnit_returnsExpectedResultsIfInnerFutureGetReturnsIt() |
void |
get_long_TimeUnit_throwsTimeoutExceptionIfInnerFutureGetWaitTimeElapsed() |
void |
get_returnsExpectedResultsIfInnerFutureGetReturnsIt() |
void |
setUp() |
void |
tearDown() |
getTestFuture, set_up, tear_down, test_cancel_ifTaskIsFinished, test_cancel_ifTaskIsRunning, test_get, test_getWithTimeout_ifWaitTimeElapsed, test_getWithTimeoutpublic org.junit.rules.ExpectedException exceptionRule
private static final String DYN_DB_PREFIX_OBJECT_ATTR
protected Future<Set<String>> createTestFuture(Future<com.amazonaws.services.dynamodbv2.model.GetItemResult> innerFuture)
createTestFuture in class FutureTestTemplate<Set<String>,com.amazonaws.services.dynamodbv2.model.GetItemResult>public void cancel_returnsExpectedResultsIfTaskIsFinished()
throws Exception
Exceptionpublic void cancel_returnsExpectedResultsIfTaskIsRunning()
throws Exception
Exceptionpublic void get_returnsExpectedResultsIfInnerFutureGetReturnsIt()
throws Exception
Exceptionpublic void get_long_TimeUnit_returnsExpectedResultsIfInnerFutureGetReturnsIt()
throws Exception
Exception