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

Issue 2845123003: Add more tests to test OverviewButtonTray. (Closed)

Created:
3 years, 7 months ago by wutao
Modified:
3 years, 6 months ago
Reviewers:
jonross, oshima, bruthig
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add more tests to test OverviewButtonTray and ScreenRotationAnimator. Add more tests to test the hide animation of OverviewButtonTray and interaction with ScreenRotationAnimator. BUG=718198 TEST=OverviewButtonTrayTest.HideAnimationAlwaysCompletes* and ScreenRotationAnimator[Smooth|Slow]AnimationTest.OverviewButtonTrayHideAnimation* Review-Url: https://codereview.chromium.org/2845123003 Cr-Commit-Position: refs/heads/master@{#476111} Committed: https://chromium.googlesource.com/chromium/src/+/310d861a8399fae1b082cd0d83db69b98d1df7da

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add tests in Screen Rotation Animator for interaction with OverviewButtonTray hide animation. #

Total comments: 2

Patch Set 3 : Rebase. #

Patch Set 4 : Fix nits in patch 2. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -13 lines) Patch
M ash/rotator/screen_rotation_animator_unittest.cc View 1 2 3 4 chunks +75 lines, -0 lines 0 comments Download
M ash/system/overview/overview_button_tray_unittest.cc View 1 2 4 chunks +22 lines, -13 lines 0 comments Download
M testing/buildbot/filters/ash_unittests_mash.filter View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M testing/buildbot/filters/ash_unittests_mus.filter View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 55 (32 generated)
wutao
Hi Ben, Please have a look first on the tests added for OverviewButtonTrayTest. Thanks, Tao
3 years, 7 months ago (2017-04-27 17:49:14 UTC) #2
bruthig
Hey Tao, Just a few notes but feel free to add OWNERs. BTW I am ...
3 years, 7 months ago (2017-04-27 20:41:35 UTC) #7
wutao
+jonross@. OnAbort for VisibilityTransition does not progress visibility to the target value. So we need ...
3 years, 7 months ago (2017-04-28 21:21:30 UTC) #9
jonross
https://codereview.chromium.org/2845123003/diff/1/ash/system/overview/overview_button_tray_unittest.cc File ash/system/overview/overview_button_tray_unittest.cc (right): https://codereview.chromium.org/2845123003/diff/1/ash/system/overview/overview_button_tray_unittest.cc#newcode236 ash/system/overview/overview_button_tray_unittest.cc:236: std::unique_ptr<ui::ScopedAnimationDurationScaleMode> rotate_duration( On 2017/04/28 21:21:30, wutao wrote: > On ...
3 years, 7 months ago (2017-05-01 17:26:58 UTC) #10
wutao1
On 2017/05/01 17:26:58, jonross wrote: > https://codereview.chromium.org/2845123003/diff/1/ash/system/overview/overview_button_tray_unittest.cc > File ash/system/overview/overview_button_tray_unittest.cc (right): > > https://codereview.chromium.org/2845123003/diff/1/ash/system/overview/overview_button_tray_unittest.cc#newcode236 > ...
3 years, 7 months ago (2017-05-01 17:42:45 UTC) #11
jonross
On 2017/05/01 17:42:45, wutao1 wrote: > On 2017/05/01 17:26:58, jonross wrote: > > > https://codereview.chromium.org/2845123003/diff/1/ash/system/overview/overview_button_tray_unittest.cc ...
3 years, 7 months ago (2017-05-01 18:02:21 UTC) #12
wutao
On 2017/05/01 18:02:21, jonross wrote: > On 2017/05/01 17:42:45, wutao1 wrote: > > On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 19:19:46 UTC) #13
jonross
On 2017/05/01 19:19:46, wutao wrote: > Please see the stack trace in the test: > ...
3 years, 7 months ago (2017-05-01 20:19:54 UTC) #14
wutao
On 2017/05/01 20:19:54, jonross wrote: > On 2017/05/01 19:19:46, wutao wrote: > > Please see ...
3 years, 7 months ago (2017-05-01 21:12:53 UTC) #15
jonross
On 2017/05/01 21:12:53, wutao wrote: > On 2017/05/01 20:19:54, jonross wrote: > > On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 21:26:40 UTC) #16
wutao
On 2017/05/01 21:26:40, jonross wrote: > On 2017/05/01 21:12:53, wutao wrote: > > On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 21:40:01 UTC) #17
jonross
On 2017/05/01 21:40:01, wutao wrote: > On 2017/05/01 21:26:40, jonross wrote: > > On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 21:55:17 UTC) #18
wutao
On 2017/05/01 21:55:17, jonross wrote: > On 2017/05/01 21:40:01, wutao wrote: > > On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 22:05:56 UTC) #19
jonross
On 2017/05/01 22:05:56, wutao wrote: > Therefore in this cl, it could make sense to ...
3 years, 7 months ago (2017-05-02 13:45:25 UTC) #20
wutao
Hi Jon, please have a look of the new tests. Thanks, Tao
3 years, 7 months ago (2017-05-03 22:28:24 UTC) #23
jonross
On 2017/05/03 22:28:24, wutao wrote: > Hi Jon, please have a look of the new ...
3 years, 7 months ago (2017-05-03 23:37:06 UTC) #26
jonross
On 2017/05/03 22:28:24, wutao wrote: > Hi Jon, please have a look of the new ...
3 years, 7 months ago (2017-05-03 23:37:08 UTC) #27
wutao
On 2017/05/03 23:37:08, jonross wrote: > On 2017/05/03 22:28:24, wutao wrote: > > Hi Jon, ...
3 years, 7 months ago (2017-05-04 00:02:02 UTC) #30
oshima
https://codereview.chromium.org/2845123003/diff/20001/ash/rotator/screen_rotation_animator_unittest.cc File ash/rotator/screen_rotation_animator_unittest.cc (right): https://codereview.chromium.org/2845123003/diff/20001/ash/rotator/screen_rotation_animator_unittest.cc#newcode419 ash/rotator/screen_rotation_animator_unittest.cc:419: std::unique_ptr<ui::ScopedAnimationDurationScaleMode> hide_duration( can't you just create on a stack? ...
3 years, 7 months ago (2017-05-06 21:02:20 UTC) #31
wutao
Hi Oshima, ptal. Thank you, Tao https://codereview.chromium.org/2845123003/diff/20001/ash/rotator/screen_rotation_animator_unittest.cc File ash/rotator/screen_rotation_animator_unittest.cc (right): https://codereview.chromium.org/2845123003/diff/20001/ash/rotator/screen_rotation_animator_unittest.cc#newcode419 ash/rotator/screen_rotation_animator_unittest.cc:419: std::unique_ptr<ui::ScopedAnimationDurationScaleMode> hide_duration( On ...
3 years, 6 months ago (2017-05-31 17:29:55 UTC) #32
oshima
lgtm
3 years, 6 months ago (2017-05-31 22:23:02 UTC) #43
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/2845123003/60001
3 years, 6 months ago (2017-06-01 00:32:19 UTC) #52
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 00:37:22 UTC) #55
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/310d861a8399fae1b082cd0d83db...

Powered by Google App Engine
This is Rietveld 408576698