Package com.amazonaws.test
Class AWSIntegrationTestBase
java.lang.Object
com.amazonaws.test.AWSIntegrationTestBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static AWSCredentials
protected String
getResourceAsString
(String location) Reads a system resource fully into a Stringstatic void
Before of super class is guaranteed to be called before that of a subclass so the following is safe.
-
Constructor Details
-
AWSIntegrationTestBase
public AWSIntegrationTestBase()
-
-
Method Details
-
setUpCredentials
public static void setUpCredentials()Before of super class is guaranteed to be called before that of a subclass so the following is safe. http://junit-team.github.io/junit/javadoc/latest/org/junit/Before.html -
getCredentials
- Returns:
- AWSCredentials to use during tests. Setup by base fixture
-
getResourceAsString
Reads a system resource fully into a String- Parameters:
location
- Relative or absolute location of system resource.- Returns:
- String contents of resource file
- Throws:
RuntimeException
- if any error occurs
-