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

Issue 2100453002: Remove unnecessary mocking of TickClock for events (Closed)

Created:
4 years, 5 months ago by majidvp
Modified:
4 years, 5 months ago
Reviewers:
reveman, sadrul
CC:
chromium-reviews, oshima+watch_chromium.org, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@614409-confirm-timestamp-timebase
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary mocking of TickClock for events It is possible now to mock the clock used in ui/events so it is no longer necessary to have these individual mock tick clocks for events. BUG=614409 Committed: https://crrev.com/0eee00fdfb2ac517e576624a3766904dd95bffbb Cr-Commit-Position: refs/heads/master@{#403805}

Patch Set 1 #

Patch Set 2 : Fix ash #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : Mock tickclock in TouchExplorationControllerTest Setup #

Patch Set 5 : Fix touch_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -123 lines) Patch
M ash/system/web_notification/web_notification_tray_unittest.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M components/exo/touch_unittest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M ui/chromeos/touch_exploration_controller.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.cc View 3 chunks +1 line, -8 lines 0 comments Download
M ui/chromeos/touch_exploration_controller_unittest.cc View 1 2 3 7 chunks +11 lines, -22 lines 0 comments Download
M ui/events/test/event_generator.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/events/test/event_generator.cc View 1 2 14 chunks +24 lines, -79 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
majidvp
4 years, 5 months ago (2016-06-28 20:22:33 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100453002/40001
4 years, 5 months ago (2016-06-28 20:23:07 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-28 22:00:22 UTC) #8
sadrul
lgtm https://codereview.chromium.org/2100453002/diff/40001/ui/events/test/event_generator.cc File ui/events/test/event_generator.cc (right): https://codereview.chromium.org/2100453002/diff/40001/ui/events/test/event_generator.cc#newcode552 ui/events/test/event_generator.cc:552: ui::SetEventTickClockForTesting(WrapUnique(new TestTickClock())); Should you unset it from the ...
4 years, 5 months ago (2016-06-30 14:30:11 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100453002/80001
4 years, 5 months ago (2016-07-05 01:53:04 UTC) #11
majidvp
https://codereview.chromium.org/2100453002/diff/40001/ui/events/test/event_generator.cc File ui/events/test/event_generator.cc (right): https://codereview.chromium.org/2100453002/diff/40001/ui/events/test/event_generator.cc#newcode552 ui/events/test/event_generator.cc:552: ui::SetEventTickClockForTesting(WrapUnique(new TestTickClock())); On 2016/06/30 14:30:11, sadrul wrote: > Should ...
4 years, 5 months ago (2016-07-05 01:59:47 UTC) #12
majidvp
+reveman@: Please review components/exo
4 years, 5 months ago (2016-07-05 02:00:15 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 02:35:13 UTC) #16
reveman
components/exo lgtm
4 years, 5 months ago (2016-07-05 17:42:23 UTC) #17
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/2100453002/80001
4 years, 5 months ago (2016-07-05 18:16:13 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-05 18:21:07 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-05 18:21:13 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 18:23:27 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0eee00fdfb2ac517e576624a3766904dd95bffbb
Cr-Commit-Position: refs/heads/master@{#403805}

Powered by Google App Engine
This is Rietveld 408576698