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

Issue 2906903002: Fix FeedbackCollectorTest#testGatheringOfDataNoScreenshot (Closed)

Created:
3 years, 7 months ago by ymalik
Modified:
3 years, 6 months ago
Reviewers:
nyquist
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
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-Commit-Position: refs/heads/master@{#475015} Committed: https://chromium.googlesource.com/chromium/src/+/ac576561b36502cca1a685ab92d3ef9f03546154

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: 12 (9 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906903002/1
3 years, 7 months ago (2017-05-26 15:54:01 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/ac576561b36502cca1a685ab92d3ef9f03546154
3 years, 7 months ago (2017-05-26 15:58:53 UTC) #10
nyquist
3 years, 6 months ago (2017-06-01 17:48:01 UTC) #12
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698