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

Issue 2027143002: MacViews: Fix failing NativeWidgetMacTest.ChangeOpacity test. (Closed)

Created:
4 years, 6 months ago by karandeepb
Modified:
4 years, 6 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Fix failing NativeWidgetMacTest.ChangeOpacity test. NativeWidgetMacTest.ChangeOpacity test regressed in crrev.com/2009333002. The reason for the failure is that the expectation for [ns_window alphaValue] is a double value, while Widget::SetOpacity(..) takes a float value. Changing the expectation to a float literal fixes the test. BUG=607403 Committed: https://crrev.com/60f03b5ff77766b46bbec2c564f3cee40fbe5968 Cr-Commit-Position: refs/heads/master@{#397318}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/views/widget/native_widget_mac_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
karandeepb
PTAL Trent. Thanks.
4 years, 6 months ago (2016-06-02 00:05:14 UTC) #3
tapted
lgtm (also wow - EXPECT_DOUBLE_EQ has some epsilon check - it's bonkers that the epsilon ...
4 years, 6 months ago (2016-06-02 00:08:39 UTC) #4
karandeepb
On 2016/06/02 00:08:39, tapted wrote: > lgtm > > (also wow - EXPECT_DOUBLE_EQ has some ...
4 years, 6 months ago (2016-06-02 00:09:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2027143002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2027143002/1
4 years, 6 months ago (2016-06-02 00:11:01 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239300)
4 years, 6 months ago (2016-06-02 02:23:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2027143002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2027143002/1
4 years, 6 months ago (2016-06-02 02:47:04 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239502)
4 years, 6 months ago (2016-06-02 03:48:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2027143002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2027143002/1
4 years, 6 months ago (2016-06-02 05:56:08 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-02 06:42:28 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 06:44:35 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/60f03b5ff77766b46bbec2c564f3cee40fbe5968
Cr-Commit-Position: refs/heads/master@{#397318}

Powered by Google App Engine
This is Rietveld 408576698