From 375870bced754c58d2faef80f3120ee97b087225 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 19 Dec 2011 17:37:14 -0800 Subject: [PATCH] swift does not support quotes in blob names --- .../integration/SwiftBlobIntegrationLiveTest.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java b/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java index 186e54df45..71c4c128f2 100644 --- a/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java +++ b/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java @@ -20,10 +20,9 @@ package org.jclouds.openstack.swift.blobstore.integration; import org.jclouds.blobstore.domain.Blob; import org.jclouds.blobstore.integration.internal.BaseBlobIntegrationTest; +import org.testng.annotations.DataProvider; import org.testng.annotations.Test; -import static org.testng.AssertJUnit.assertEquals; - /** * * @author James Murty @@ -52,5 +51,12 @@ public class SwiftBlobIntegrationLiveTest extends BaseBlobIntegrationTest { assert blob.getPayload().getContentMetadata().getContentLanguage() == null; assert blob.getMetadata().getContentMetadata().getContentLanguage() == null; } - + + // swift doesn't support quotes + @Override + @DataProvider(name = "delete") + public Object[][] createData() { + return new Object[][] { { "normal" }, { "sp ace" }, { "qu?stion" }, { "unic₪de" }, { "path/foo" }, { "colon:" }, + { "asteri*k" }, { "{greaten" }, { "p|pe" } }; + } }