JCLOUDS-948: Swift Cache-Control support

Not supported.
This commit is contained in:
Andrew Gaul 2016-01-15 03:54:05 -08:00
parent f292408af4
commit b63f74a6eb
1 changed files with 9 additions and 0 deletions

View File

@ -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;