Enable passing Atmos tests Also clarify why we skip certain tests with SkipException.
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/4b10bcc0 Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/4b10bcc0 Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/4b10bcc0 Branch: refs/heads/master Commit: 4b10bcc054ad109cca6934d78316ead06b0217da Parents: 29397b5 Author: Andrew Gaul <[email protected]> Authored: Sun Oct 29 13:43:10 2017 -0700 Committer: Andrew Gaul <[email protected]> Committed: Sun Oct 29 13:43:10 2017 -0700 ---------------------------------------------------------------------- .../AtmosContainerIntegrationLiveTest.java | 5 +++ .../integration/AtmosIntegrationLiveTest.java | 44 ++------------------ 2 files changed, 8 insertions(+), 41 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/4b10bcc0/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java ---------------------------------------------------------------------- diff --git a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java index 8561ecd..c29f80c 100644 --- a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java +++ b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java @@ -65,4 +65,9 @@ public class AtmosContainerIntegrationLiveTest extends BaseContainerIntegrationT public void testDelimiterList() { throw new SkipException("Delimiter support is not yet implemented"); } + + @Override + public void testListContainerPrefix() throws InterruptedException { + throw new SkipException("Prefix support is not yet implemented"); + } } http://git-wip-us.apache.org/repos/asf/jclouds/blob/4b10bcc0/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java ---------------------------------------------------------------------- diff --git a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java index 8bed038..f999810 100644 --- a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java +++ b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java @@ -44,39 +44,8 @@ public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest { } @Override - @Test(enabled = false) - public void testGetIfMatch() { - // no etag support - } - - @Override - @Test(enabled = false) - public void testGetIfModifiedSince() { - // not supported - } - - @Override - @Test(enabled = false) - public void testGetIfNoneMatch() { - // no etag support - } - - @Override - @Test(enabled = false) - public void testGetIfUnmodifiedSince() { - // not supported - } - - @Override - @Test(enabled = false) - public void testGetRange() { - // TODO this should work - } - - @Override - @Test(enabled = false) public void testGetTwoRanges() { - // not supported + throw new SkipException("Atmos MIME-encodes multiple ranges"); } // not supported @@ -124,16 +93,9 @@ public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest { throw new SkipException("Expiration not yet implemented"); } - @Test(enabled = false) - // problem with the stub and md5, live is fine + @Override public void testMetadata() { - // TODO - } - - @Test(enabled = false) - // problem with the stub and md5, live is fine - public void testPutObject() throws Exception { - // TODO + throw new SkipException("Atmos cannot overwrite blob when Content-MD5 is set"); } @Override
