use of com.google.api.gax.grpc.testing.MockGrpcService 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.MockGrpcService 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.MockGrpcService 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();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dataproc by googleapis.
the class ClusterControllerClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockClusterController = new MockClusterController();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockClusterController));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dataproc by googleapis.
the class JobControllerClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockJobController = new MockJobController();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockJobController));
mockServiceHelper.start();
}
Aggregations