JCLOUDS-457: Clean up for GlacierClientMockTest.

GlacierClientMockTest was growing uncontrollably. This commit
is an attempt to fix this problem.

The first measure taken moves the duplicated strings to constants
and the JSON response bodies to resource files. In addition, some
repeated code was moved to static classes, where they can be reused.

We also use @BeforeTest and @AfterTest to make instances of the
MockWebServer and shut them down for each test.
5 files changed
tree: cf4213d801f2907092b925137a7a8006c2407f15
  1. aws-elb/
  2. aws-iam/
  3. aws-rds/
  4. elb/
  5. glacier/
  6. iam/
  7. rds/
  8. .gitignore
  9. pom.xml
  10. README.md
README.md

jclouds Labs AWS

Repository for developing AWS providers and APIs

License

Licensed under the Apache License, Version 2.0