File tree 2 files changed +6
-5
lines changed
google-cloud-storage/src/test/java/com/google/cloud/storage
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 23
23
import com .google .auth .oauth2 .ServiceAccountCredentials ;
24
24
import com .google .cloud .conformance .storage .v1 .SigningV4Test ;
25
25
import com .google .cloud .conformance .storage .v1 .TestFile ;
26
+ import com .google .cloud .conformance .storage .v1 .UrlStyle ;
26
27
import com .google .cloud .storage .Storage .SignUrlOption ;
27
28
import com .google .cloud .storage .testing .RemoteStorageHelper ;
28
29
import com .google .common .base .Charsets ;
@@ -104,14 +105,14 @@ public void test() {
104
105
105
106
SignUrlOption style = SignUrlOption .withPathStyle ();
106
107
107
- if (testData .getUrlStyle ().equals (SigningV4Test . UrlStyle .VIRTUAL_HOSTED_STYLE )) {
108
+ if (testData .getUrlStyle ().equals (UrlStyle .VIRTUAL_HOSTED_STYLE )) {
108
109
style = SignUrlOption .withVirtualHostedStyle ();
109
- } else if (testData .getUrlStyle ().equals (SigningV4Test . UrlStyle .PATH_STYLE )) {
110
+ } else if (testData .getUrlStyle ().equals (UrlStyle .PATH_STYLE )) {
110
111
style = SignUrlOption .withPathStyle ();
111
- } else if (testData .getUrlStyle ().equals (SigningV4Test . UrlStyle .BUCKET_BOUND_DOMAIN )) {
112
+ } else if (testData .getUrlStyle ().equals (UrlStyle .BUCKET_BOUND_HOSTNAME )) {
112
113
style =
113
114
SignUrlOption .withBucketBoundHostname (
114
- testData .getBucketBoundDomain (),
115
+ testData .getBucketBoundHostname (),
115
116
Storage .UriScheme .valueOf (testData .getScheme ().toUpperCase ()));
116
117
}
117
118
Original file line number Diff line number Diff line change 212
212
<dependency >
213
213
<groupId >com.google.cloud</groupId >
214
214
<artifactId >google-cloud-conformance-tests</artifactId >
215
- <version >0.0.7 </version >
215
+ <version >0.0.9 </version >
216
216
<scope >test</scope >
217
217
</dependency >
218
218
</dependencies >
You can’t perform that action at this time.
0 commit comments