Class AWSIntegrationTestBase

java.lang.Object
com.amazonaws.test.AWSIntegrationTestBase

public abstract class AWSIntegrationTestBase extends Object
  • 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

      protected static AWSCredentials getCredentials()
      Returns:
      AWSCredentials to use during tests. Setup by base fixture
    • getResourceAsString

      protected String getResourceAsString(String location)
      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