File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
firebase-perf/src/test/java/com/google/firebase/perf/metrics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,8 @@ public void testStartFromBackground_within100ms() {
257
257
trace .onActivityResumed (activity1 );
258
258
Assert .assertNotNull (trace .getOnResumeTime ());
259
259
fakeExecutorService .runAll ();
260
- // There should be no trace sent.
260
+ // There should be a trace sent since the delay between the main thread and onActivityCreated
261
+ // is limited.
261
262
verify (transportManager , times (1 ))
262
263
.log (
263
264
traceArgumentCaptor .capture (),
@@ -282,8 +283,7 @@ public void testStartFromBackground_moreThan100ms() {
282
283
++currentTime ;
283
284
trace .onActivityResumed (activity1 );
284
285
Assert .assertNull (trace .getOnResumeTime ());
285
- // There should be a trace sent since the delay between the main thread and onActivityCreated
286
- // is limited.
286
+ // There should be no trace sent.
287
287
fakeExecutorService .runAll ();
288
288
verify (transportManager , times (0 ))
289
289
.log (
You can’t perform that action at this time.
0 commit comments