use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-monitoring by googleapis.
the class ServiceMonitoringServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockServiceMonitoringService = new MockServiceMonitoringService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockServiceMonitoringService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-monitoring by googleapis.
the class QueryServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockQueryService = new MockQueryService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockQueryService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-texttospeech by googleapis.
the class TextToSpeechClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockTextToSpeech = new MockTextToSpeech();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockTextToSpeech));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-monitoring by googleapis.
the class UptimeCheckServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockUptimeCheckService = new MockUptimeCheckService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockUptimeCheckService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dataproc by googleapis.
the class BatchControllerClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockBatchController = new MockBatchController();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockBatchController));
mockServiceHelper.start();
}
Aggregations