use of com.google.api.gax.grpc.testing.MockGrpcService in project java-datalabeling by googleapis.
the class DataLabelingServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockDataLabelingService = new MockDataLabelingService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockDataLabelingService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-talent by googleapis.
the class JobServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockJobService = new MockJobService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockJobService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-talent by googleapis.
the class CompletionClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockCompletion = new MockCompletion();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockCompletion));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-talent by googleapis.
the class TenantServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockTenantService = new MockTenantService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockTenantService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-talent by googleapis.
the class EventServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockEventService = new MockEventService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockEventService));
mockServiceHelper.start();
}
Aggregations