Package com.google.cloud.datastore.testing (2.21.2)
GitHub Repository |
This package is not the recommended entry point to using this client library!
For this library, we recommend using com.google.cloud.datastore for new applications.
Classes
Class | Description |
---|---|
com.google.cloud.datastore.testing.LocalDatastoreHelper |
Utility to start and stop local Google Cloud Datastore emulators.
This class is unstable. |
com.google.cloud.datastore.testing.LocalDatastoreHelper.Builder |
A builder for LocalDatastoreHelper objects. |
com.google.cloud.datastore.testing.RemoteDatastoreHelper | Utility to create a remote datastore configuration for testing. Datastore options can be obtained via the #getOptions() method. Returned options use a randomly generated namespace (DatastoreOptions#getNamespace()) that can be used to run the tests. Once the tests are run, all entities in the namespace can be deleted using #deleteNamespace(). Returned options also have custom DatastoreOptions#getRetrySettings(): RetrySettings#getMaxAttempts() |