|
14 | 14 | * limitations under the License. |
15 | 15 | */ |
16 | 16 |
|
17 | | -package com.google.gcloud.storage; |
| 17 | +package com.google.gcloud.storage.testing; |
18 | 18 |
|
19 | 19 | import com.google.common.collect.ImmutableMap; |
20 | 20 | import com.google.gcloud.AuthCredentials; |
| 21 | +import com.google.gcloud.storage.BlobInfo; |
21 | 22 | import com.google.gcloud.RetryParams; |
22 | | -import com.google.gcloud.storage.RemoteGcsHelper.Option.KeyFromClasspath; |
| 23 | +import com.google.gcloud.storage.Storage; |
| 24 | +import com.google.gcloud.storage.StorageException; |
| 25 | +import com.google.gcloud.storage.StorageOptions; |
| 26 | +import com.google.gcloud.storage.testing.RemoteGcsHelper.Option.KeyFromClasspath; |
23 | 27 |
|
24 | 28 | import java.io.FileInputStream; |
25 | 29 | import java.io.FileNotFoundException; |
@@ -54,7 +58,7 @@ private RemoteGcsHelper(StorageOptions options) { |
54 | 58 | } |
55 | 59 |
|
56 | 60 | /** |
57 | | - * Returns a {@StorageOptions} object to be used for testing. |
| 61 | + * Returns a {@link StorageOptions} object to be used for testing. |
58 | 62 | */ |
59 | 63 | public StorageOptions options() { |
60 | 64 | return options; |
@@ -99,7 +103,7 @@ public static String generateBucketName() { |
99 | 103 | * @param keyPath path to the JSON key to be used for running the tests |
100 | 104 | * @param options creation options |
101 | 105 | * @return A {@code RemoteGcsHelper} object for the provided options. |
102 | | - * @throws com.google.gcloud.storage.RemoteGcsHelper.GcsHelperException if the file pointed by |
| 106 | + * @throws com.google.gcloud.storage.testing.RemoteGcsHelper.GcsHelperException if the file pointed by |
103 | 107 | * {@code keyPath} does not exist |
104 | 108 | */ |
105 | 109 | public static RemoteGcsHelper create(String projectId, String keyPath, Option... options) |
@@ -145,7 +149,7 @@ public static RemoteGcsHelper create(String projectId, String keyPath, Option... |
145 | 149 | * |
146 | 150 | * @param options creation options |
147 | 151 | * @return A {@code RemoteGcsHelper} object for the provided options. |
148 | | - * @throws com.google.gcloud.storage.RemoteGcsHelper.GcsHelperException if environment variables |
| 152 | + * @throws com.google.gcloud.storage.testing.RemoteGcsHelper.GcsHelperException if environment variables |
149 | 153 | * {@code GCLOUD_TESTS_PROJECT_ID} and {@code GCLOUD_TESTS_KEY} are not set or if the file |
150 | 154 | * pointed by {@code GCLOUD_TESTS_KEY} does not exist |
151 | 155 | */ |
|
0 commit comments