You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2017/05/08 18:10:34 UTC
[32/50] jclouds git commit: Handle unimplemented signed URL tests in
providers
Handle unimplemented signed URL tests in providers
This commit makes it evident in source code which providers do not
support this feature.
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/f6210d58
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/f6210d58
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/f6210d58
Branch: refs/heads/master
Commit: f6210d58d3a34ac9261e0dbdffca2d52d5143512
Parents: a780cda
Author: Andrew Gaul <ga...@apache.org>
Authored: Fri May 6 14:38:57 2016 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Fri May 6 14:38:57 2016 -0700
----------------------------------------------------------------------
.../GoogleCloudStorageBlobSignerLiveTest.java | 102 +++++++++++++++++++
1 file changed, 102 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jclouds/blob/f6210d58/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobSignerLiveTest.java
----------------------------------------------------------------------
diff --git a/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobSignerLiveTest.java b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobSignerLiveTest.java
new file mode 100644
index 0000000..7e7dd52
--- /dev/null
+++ b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobSignerLiveTest.java
@@ -0,0 +1,102 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jclouds.googlecloudstorage.blobstore.integration;
+
+import java.io.IOException;
+
+import org.jclouds.blobstore.integration.internal.BaseBlobSignerLiveTest;
+import org.testng.SkipException;
+import org.testng.annotations.Test;
+
+@Test(groups = { "live" })
+public class GoogleCloudStorageBlobSignerLiveTest extends BaseBlobSignerLiveTest {
+ public GoogleCloudStorageBlobSignerLiveTest() {
+ provider = "google-cloud-storage";
+ }
+
+ @Test
+ public void testSignGetUrl() throws Exception {
+ try {
+ super.testSignGetUrl();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+
+ @Test
+ public void testSignGetUrlOptions() throws Exception {
+ try {
+ super.testSignGetUrlOptions();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+
+ @Test
+ public void testSignGetUrlWithTime() throws InterruptedException, IOException {
+ try {
+ super.testSignGetUrlWithTime();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+
+ @Test
+ public void testSignGetUrlWithTimeExpired() throws InterruptedException, IOException {
+ try {
+ super.testSignGetUrlWithTimeExpired();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+
+ @Test
+ public void testSignPutUrl() throws Exception {
+ try {
+ super.testSignPutUrl();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+
+ @Test
+ public void testSignPutUrlWithTime() throws Exception {
+ try {
+ super.testSignPutUrlWithTime();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+
+ @Test
+ public void testSignPutUrlWithTimeExpired() throws Exception {
+ try {
+ super.testSignPutUrlWithTimeExpired();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+
+ @Test
+ public void testSignRemoveUrl() throws Exception {
+ try {
+ super.testSignRemoveUrl();
+ } catch (UnsupportedOperationException uoe) {
+ throw new SkipException("not yet implemented in GCS", uoe);
+ }
+ }
+}