use of com.google.api.gax.grpc.testing.MockServiceHelper 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.MockServiceHelper 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.MockServiceHelper 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.MockServiceHelper in project google-cloud-java by GoogleCloudPlatform.
the class ErrorGroupServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockErrorGroupService = new MockErrorGroupService();
mockErrorStatsService = new MockErrorStatsService();
mockReportErrorsService = new MockReportErrorsService();
serviceHelper = new MockServiceHelper("in-process-1", Arrays.<MockGrpcService>asList(mockErrorGroupService, mockErrorStatsService, mockReportErrorsService));
serviceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project google-cloud-java by GoogleCloudPlatform.
the class GroupServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockGroupService = new MockGroupService();
mockMetricService = new MockMetricService();
serviceHelper = new MockServiceHelper("in-process-1", Arrays.<MockGrpcService>asList(mockGroupService, mockMetricService));
serviceHelper.start();
}
Aggregations