use of com.google.api.gax.grpc.testing.MockGrpcService in project java-bigquery-data-exchange by googleapis.
the class AnalyticsHubServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockAnalyticsHubService = new MockAnalyticsHubService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockAnalyticsHubService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project google-cloud-java by GoogleCloudPlatform.
the class SubscriptionAdminClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockPublisher = new MockPublisher();
mockIAMPolicy = new MockIAMPolicy();
mockSubscriber = new MockSubscriber();
serviceHelper = new MockServiceHelper("in-process-1", Arrays.<MockGrpcService>asList(mockPublisher, mockIAMPolicy, mockSubscriber));
serviceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project google-cloud-java by GoogleCloudPlatform.
the class SpeechClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSpeech = new MockSpeech();
serviceHelper = new MockServiceHelper("in-process-1", Arrays.<MockGrpcService>asList(mockSpeech));
serviceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project google-cloud-java by GoogleCloudPlatform.
the class LanguageServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockLanguageService = new MockLanguageService();
serviceHelper = new MockServiceHelper("in-process-1", Arrays.<MockGrpcService>asList(mockLanguageService));
serviceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project google-cloud-java by GoogleCloudPlatform.
the class LanguageServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockLanguageService = new MockLanguageService();
serviceHelper = new MockServiceHelper("in-process-1", Arrays.<MockGrpcService>asList(mockLanguageService));
serviceHelper.start();
}
Aggregations