use of com.google.api.gax.grpc.testing.MockGrpcService 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.MockGrpcService 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();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-webrisk by googleapis.
the class WebRiskServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockWebRiskService = new MockWebRiskService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockWebRiskService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-webrisk by googleapis.
the class WebRiskServiceV1Beta1ClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockWebRiskServiceV1Beta1 = new MockWebRiskServiceV1Beta1();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockWebRiskServiceV1Beta1));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-securitycenter by googleapis.
the class SecurityCenterClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSecurityCenter = new MockSecurityCenter();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockSecurityCenter));
mockServiceHelper.start();
}
Aggregations