swift does not support quotes in blob names

This commit is contained in:
Adrian Cole 2011-12-19 17:37:14 -08:00
parent 6d6d68fdde
commit 375870bced
1 changed files with 9 additions and 3 deletions

View File

@ -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
@ -53,4 +52,11 @@ public class SwiftBlobIntegrationLiveTest extends BaseBlobIntegrationTest {
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" }, { "{great<r}" }, { "lesst>en" }, { "p|pe" } };
}
}