use of com.google.api.gax.grpc.testing.MockGrpcService in project gapic-generator-java by googleapis.
the class SchemaServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSchemaService = new MockSchemaService();
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockSchemaService, mockIAMPolicy));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project gapic-generator-java by googleapis.
the class SubscriptionAdminClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSubscriber = new MockSubscriber();
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockSubscriber, mockIAMPolicy));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project gapic-generator-java by googleapis.
the class BaseBigtableDataClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockBigtable = new MockBigtable();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockBigtable));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project gapic-generator-java by googleapis.
the class CloudRedisClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockCloudRedis = new MockCloudRedis();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockCloudRedis));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project gapic-generator-java by googleapis.
the class IAMPolicyClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockIAMPolicy));
mockServiceHelper.start();
}
Aggregations