Skip to content

Commit 713a001

Browse files
committed
Fix comment
1 parent 65aba32 commit 713a001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

firebase-perf/src/test/java/com/google/firebase/perf/metrics/AppStartTraceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)