Package com.google.cloud.storage.testing (2.42.0)

GitHub Repository

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.storage for new applications.

Classes

Class Description
com.google.cloud.storage.testing.RemoteStorageHelper Utility to create a remote storage configuration for testing. Storage options can be obtained via the #getOptions() ()} method. Returned options have custom StorageOptions#getRetrySettings(): RetrySettings#getMaxAttempts() is 10, RetrySettings#getMaxRetryDelay() is 30000, RetrySettings#getTotalTimeout() is 120000 and RetrySettings#getInitialRetryDelay() is 250. HttpTransportOptions#getConnectTimeout() and HttpTransportOptions#getReadTimeout() are both set to 60000.
com.google.cloud.storage.testing.StorageRpcTestBase A stub implementation of StorageRpc which can be used outside of the Storage module for testing purposes. All the methods throw an UnsupportedOperationException.

Exceptions

Exception Description
com.google.cloud.storage.testing.RemoteStorageHelper.StorageHelperException