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 2016/05/06 22:28:26 UTC

jclouds-labs-google git commit: Handle unimplemented signed URL tests in providers

Repository: jclouds-labs-google
Updated Branches:
  refs/heads/master 0afde96b5 -> 98c10c212


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-labs-google/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/commit/98c10c21
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/tree/98c10c21
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/diff/98c10c21

Branch: refs/heads/master
Commit: 98c10c21230b72d6b31ac0d35c750c34608c8135
Parents: 0afde96
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-labs-google/blob/98c10c21/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobSignerLiveTest.java
----------------------------------------------------------------------
diff --git a/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobSignerLiveTest.java b/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobSignerLiveTest.java
new file mode 100644
index 0000000..7e7dd52
--- /dev/null
+++ b/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);
+      }
+   }
+}