Skip to content

Commit c167b90

Browse files
committed
unit test
1 parent 2c531e3 commit c167b90

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
@@ -159,11 +159,11 @@ public void testStartCollectingGaugesStartsCollectingMetricsInForegroundState()
159159
testStartCollectingGaugesStartCollectingMetricsWithUnknownApplicationProcessStateInForegroundState() {
160160
PerfSession fakeSession = createTestSession(1);
161161
testGaugeManager.startCollectingGauges(fakeSession);
162-
verify(fakeCpuGaugeCollector, never())
162+
verify(fakeCpuGaugeCollector)
163163
.startCollecting(
164164
eq(DEFAULT_CPU_GAUGE_COLLECTION_FREQUENCY_FG_MS),
165165
ArgumentMatchers.nullable(Timer.class));
166-
verify(fakeMemoryGaugeCollector, never())
166+
verify(fakeMemoryGaugeCollector)
167167
.startCollecting(
168168
eq(DEFAULT_CPU_GAUGE_COLLECTION_FREQUENCY_FG_MS),
169169
ArgumentMatchers.nullable(Timer.class));

0 commit comments

Comments
 (0)