Skip to content

Commit 6d2eef6

Browse files
committed
remove .INSTANCE
1 parent b67eee5 commit 6d2eef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-perf/src/test/java/com/google/firebase/perf/session/gauges/GaugeManagerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public void testGaugeCounterStartsAJobToConsumeTheGeneratedMetrics() throws Inte
335335
PerfSession fakeSession = createTestSession(1);
336336
testGaugeManager.setApplicationProcessState(ApplicationProcessState.FOREGROUND);
337337
testGaugeManager.startCollectingGauges(fakeSession);
338-
GaugeCounter.INSTANCE.setGaugeManager(testGaugeManager);
338+
GaugeCounter.setGaugeManager(testGaugeManager);
339339

340340
// There's no job to log the gauges.
341341
assertThat(fakeScheduledExecutorService.isEmpty()).isTrue();
@@ -377,7 +377,7 @@ public void testUpdateAppStateHandlesMultipleAppStates() {
377377
fakeSession.setGaugeAndEventCollectionEnabled(true);
378378
testGaugeManager.setApplicationProcessState(ApplicationProcessState.FOREGROUND);
379379
testGaugeManager.startCollectingGauges(fakeSession);
380-
GaugeCounter.INSTANCE.setGaugeManager(testGaugeManager);
380+
GaugeCounter.setGaugeManager(testGaugeManager);
381381

382382
// Generate metrics that don't exceed the GaugeCounter.MAX_COUNT.
383383
generateMetricsAndIncrementCounter(10);

0 commit comments

Comments
 (0)