GCS delimiter test should not be special cased.

GCS delimiter implementation now works similarly to the other
providers (fixed in a prior commit) and we do not need to special case
the test.
This commit is contained in:
Timur Alperovich 2015-09-29 21:27:35 -07:00
parent 2e1e109a0c
commit 06125793d2
1 changed files with 0 additions and 19 deletions

View File

@ -19,7 +19,6 @@ package org.jclouds.googlecloudstorage.blobstore.integration;
import static com.google.common.collect.Iterables.get;
import static org.jclouds.blobstore.options.ListContainerOptions.Builder.maxResults;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNull;
import java.io.IOException;
import java.util.Properties;
@ -30,7 +29,6 @@ import org.jclouds.blobstore.domain.BlobMetadata;
import org.jclouds.blobstore.domain.PageSet;
import org.jclouds.blobstore.domain.StorageMetadata;
import org.jclouds.blobstore.integration.internal.BaseContainerIntegrationTest;
import org.jclouds.blobstore.options.ListContainerOptions;
import org.jclouds.googlecloud.internal.TestProperties;
import org.testng.SkipException;
import org.testng.annotations.Test;
@ -78,23 +76,6 @@ public class GoogleCloudStorageContainerIntegrationLiveTest extends BaseContaine
}
}
/** Google Cloud Storage lists prefixes and objects in two different lists */
@Override
public void testListRootUsesDelimiter() throws InterruptedException {
String containerName = getContainerName();
try {
String prefix = "rootdelimiter";
addTenObjectsUnderPrefix(containerName, prefix);
add15UnderRoot(containerName);
PageSet<? extends StorageMetadata> container = view.getBlobStore().list(containerName,
new ListContainerOptions());
assertNull(container.getNextMarker());
assertEquals(container.size(), 15);
} finally {
returnContainer(containerName);
}
}
@Override
public void testDirectory() throws InterruptedException {
// TODO: testDirectory fails when querying blob with name "directory/directory"; querying "directory%2Fdirectory"