Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1078)

Issue 2915063002: Fix FeedbackCollectorTest#testGatheringOfDataNoScreenshot (Closed)

Created:
3 years, 6 months ago by ymalik
Modified:
3 years, 6 months ago
Reviewers:
nyquist
CC:
chromium-reviews
Target Ref:
refs/branch-heads/3112
Project:
chromium
Visibility:
Public.

Description

Fix FeedbackCollectorTest#testGatheringOfDataNoScreenshot This test was added in https://codereview.chromium.org/2897323002/ but was making incorrect assets. That is, when we're not expecting screeshots, the results from the connectivity task should trigger the test callback. It was passing locally because of timing. The things we were checking for in the tests would be set once FeedbackCollector#maybePostResult would post task a call to the callback in the test. The incorrect assert would be made before the callback would get called. TBR=nyquist@chromium.org BUG=726704 Review-Url: https://codereview.chromium.org/2906903002 Cr-Original-Commit-Position: refs/heads/master@{#475015} Review-Url: https://codereview.chromium.org/2915063002 . Cr-Commit-Position: refs/branch-heads/3112@{#90} Cr-Branched-From: b6460e24cf59f429d69de255538d0fc7a425ccf9-refs/heads/master@{#474897} Committed: https://chromium.googlesource.com/chromium/src/+/37b290974a762400695340bb7ac4585087e02b85

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -7 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/feedback/FeedbackCollector.java View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/feedback/FeedbackCollectorTest.java View 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
ymalik
3 years, 6 months ago (2017-06-01 15:11:19 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
37b290974a762400695340bb7ac4585087e02b85.

Powered by Google App Engine
This is Rietveld 408576698