File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
firebase-perf/src/test/java/com/google/firebase/perf/session/gauges Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -156,13 +156,15 @@ public void testStartCollectingGaugesStartsCollectingMetricsInForegroundState()
156156
157157 @ Test
158158 public void
159- testStartCollectingGaugesDoesNotStartCollectingMetricsWithUnknownApplicationProcessState () {
159+ testStartCollectingGaugesStartCollectingMetricsWithUnknownApplicationProcessStateInForegroundState () {
160160 PerfSession fakeSession = createTestSession (1 );
161161 testGaugeManager .startCollectingGauges (fakeSession );
162+ // @see
163+ // com.google.firebase.perf.config.ConfigurationConstants.SessionsCpuCaptureFrequencyForegroundMs
162164 verify (fakeCpuGaugeCollector , never ())
163- .startCollecting (ArgumentMatchers .anyLong ( ), ArgumentMatchers .nullable (Timer .class ));
165+ .startCollecting (ArgumentMatchers .eq ( 100L ), ArgumentMatchers .nullable (Timer .class ));
164166 verify (fakeMemoryGaugeCollector , never ())
165- .startCollecting (ArgumentMatchers .anyLong ( ), ArgumentMatchers .nullable (Timer .class ));
167+ .startCollecting (ArgumentMatchers .eq ( 100L ), ArgumentMatchers .nullable (Timer .class ));
166168 }
167169
168170 @ Test
You can’t perform that action at this time.
0 commit comments