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() {
257257 trace .onActivityResumed (activity1 );
258258 Assert .assertNotNull (trace .getOnResumeTime ());
259259 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.
261262 verify (transportManager , times (1 ))
262263 .log (
263264 traceArgumentCaptor .capture (),
@@ -282,8 +283,7 @@ public void testStartFromBackground_moreThan100ms() {
282283 ++currentTime ;
283284 trace .onActivityResumed (activity1 );
284285 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.
287287 fakeExecutorService .runAll ();
288288 verify (transportManager , times (0 ))
289289 .log (
You can’t perform that action at this time.
0 commit comments