use of com.google.api.gax.grpc.testing.MockServiceHelper in project gapic-generator-java by googleapis.
the class ConfigClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockConfigServiceV2 = new MockConfigServiceV2();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockConfigServiceV2));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project gapic-generator-java by googleapis.
the class StorageClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockStorage = new MockStorage();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockStorage));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper 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.MockServiceHelper 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.MockServiceHelper 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();
}
Aggregations