mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Add EPP metrics to flows
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132591518
This commit is contained in:
parent
36c6d59fee
commit
aa4ca42cdd
4 changed files with 88 additions and 9 deletions
|
@ -52,6 +52,7 @@ public class EppControllerTest extends ShardableTestCase {
|
|||
|
||||
@Mock SessionMetadata sessionMetadata;
|
||||
@Mock TransportCredentials transportCredentials;
|
||||
@Mock EppMetrics eppMetrics;
|
||||
@Mock BigQueryMetricsEnqueuer metricsEnqueuer;
|
||||
@Mock FlowComponent.Builder flowComponentBuilder;
|
||||
@Mock FlowComponent flowComponent;
|
||||
|
@ -76,10 +77,11 @@ public class EppControllerTest extends ShardableTestCase {
|
|||
when(result.getCode()).thenReturn(Code.SuccessWithNoMessages);
|
||||
|
||||
eppController = new EppController();
|
||||
eppController.metric = new EppMetric.Builder();
|
||||
eppController.metricBuilder = new EppMetric.Builder();
|
||||
eppController.bigQueryMetricsEnqueuer = metricsEnqueuer;
|
||||
eppController.clock = new FakeClock();
|
||||
eppController.flowComponentBuilder = flowComponentBuilder;
|
||||
eppController.eppMetrics = eppMetrics;
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue