JCLOUDS-948: Swift Cache-Control support Not supported.
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/b63f74a6 Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/b63f74a6 Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/b63f74a6 Branch: refs/heads/master Commit: b63f74a6ebb025b5cdeca7b35dff08e03af2378b Parents: f292408 Author: Andrew Gaul <[email protected]> Authored: Fri Jan 15 03:54:05 2016 -0800 Committer: Andrew Gaul <[email protected]> Committed: Fri Jan 15 13:22:15 2016 -0800 ---------------------------------------------------------------------- .../blobstore/integration/SwiftBlobIntegrationLiveTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/b63f74a6/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java ---------------------------------------------------------------------- diff --git a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java index 6f62958..6440788 100644 --- a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java +++ b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java @@ -16,6 +16,7 @@ */ package org.jclouds.openstack.swift.v1.blobstore.integration; +import static org.assertj.core.api.Assertions.assertThat; import static org.jclouds.openstack.keystone.v2_0.config.KeystoneProperties.CREDENTIAL_TYPE; import java.util.Properties; @@ -68,6 +69,14 @@ public class SwiftBlobIntegrationLiveTest extends BaseBlobIntegrationTest { return 422; } + // not supported + @Override + protected void checkCacheControl(Blob blob, String cacheControl) { + assertThat(blob.getPayload().getContentMetadata().getCacheControl()).isNull(); + assertThat(blob.getMetadata().getContentMetadata().getCacheControl()).isNull(); + } + + // not supported @Override protected void checkContentLanguage(Blob blob, String contentLanguage) { assert blob.getPayload().getContentMetadata().getContentLanguage() == null;
