public abstract class AwsTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
static AwsCredentialsProviderChain |
CREDENTIALS_PROVIDER_CHAIN |
| Constructor and Description |
|---|
AwsTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertValidException(SdkServiceException e)
Deprecated.
Use
isValidSdkServiceException() in a hamcrest matcher |
protected static String |
getResourceAsString(Class<?> clazz,
String location)
Reads a system resource fully into a String
|
static org.hamcrest.Matcher<SdkServiceException> |
isValidSdkServiceException() |
static void |
setUpCredentials()
Deprecated.
Extend from
AwsIntegrationTestBase to access credentials |
public static final AwsCredentialsProviderChain CREDENTIALS_PROVIDER_CHAIN
@Deprecated public static void setUpCredentials()
AwsIntegrationTestBase to access credentialsprotected static String getResourceAsString(Class<?> clazz, String location)
location - Relative or absolute location of system resource.RuntimeException - if any error occurs@Deprecated protected void assertValidException(SdkServiceException e)
isValidSdkServiceException() in a hamcrest matcherpublic static org.hamcrest.Matcher<SdkServiceException> isValidSdkServiceException()
Copyright © 2022. All rights reserved.