Issue 581: fix signing on path-based s3

This commit is contained in:
Adrian Cole 2011-05-29 20:56:51 -07:00
parent a98215a35f
commit de7ac18049
2 changed files with 2 additions and 7 deletions

View File

@ -39,13 +39,7 @@ import com.google.inject.TypeLiteral;
*/ */
// NOTE:without testName, this will not call @Before* and fail w/NPE during surefire // NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
@Test(groups = "unit", testName = "BindAsHostPrefixIfConfiguredNoPathTest") @Test(groups = "unit", testName = "BindAsHostPrefixIfConfiguredNoPathTest")
public class BindAsHostPrefixIfConfiguredNoPathTest extends BaseS3AsyncClientTest<S3AsyncClient> { public class BindAsHostPrefixIfConfiguredNoPathTest extends BaseS3AsyncClientTest {
@Override
protected TypeLiteral<RestAnnotationProcessor<S3AsyncClient>> createTypeLiteral() {
return new TypeLiteral<RestAnnotationProcessor<S3AsyncClient>>() {
};
}
public void testBucketWithHostnameStyle() throws IOException, SecurityException, NoSuchMethodException { public void testBucketWithHostnameStyle() throws IOException, SecurityException, NoSuchMethodException {

View File

@ -27,6 +27,7 @@ import java.lang.reflect.Method;
import java.net.URI; import java.net.URI;
import java.util.Properties; import java.util.Properties;
import org.jclouds.s3.S3AsyncClient;
import org.jclouds.s3.BaseS3AsyncClientTest; import org.jclouds.s3.BaseS3AsyncClientTest;
import org.jclouds.http.HttpRequest; import org.jclouds.http.HttpRequest;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;