Issue metadata
Sign in to add a comment
|
MacViews: Failing bubble views_unittests after r375729 |
||||||||||||||||||||||
Issue descriptionChrome Version : 50.0.2652.0 OS Version: OS X 10.11.3 5 views_unittests regressed with r375729 "MacViews: Add native drop shadow to dialogs on OSX 10.9.": BubbleBorderTest.GetBoundsOriginTest (../../ui/views/bubble/bubble_border_unittest.cc:321) BubbleBorderTest.GetSizeForContentsSizeTest (../../ui/views/bubble/bubble_border_unittest.cc:212) BubbleFrameViewTest.GetMaximumSize (../../ui/views/bubble/bubble_frame_view_unittest.cc:438) BubbleFrameViewTest.GetMinimumSize (../../ui/views/bubble/bubble_frame_view_unittest.cc:429) BubbleFrameViewTest.GetPreferredSize (../../ui/views/bubble/bubble_frame_view_unittest.cc:419) It's probably to do with forcing the shadow type to NO_ASSETS when the tests expect something else.
,
Mar 9 2016
,
Mar 15 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/59a5f4fd9d5b761d459878a1616a4c76bce36183 commit 59a5f4fd9d5b761d459878a1616a4c76bce36183 Author: karandeepb <karandeepb@chromium.org> Date: Tue Mar 15 01:43:35 2016 MacViews: Fix failing bubble frame view tests after r375729. r375729 changed all the bubble borders on MacViews to use BubbleBorder::NO_ASSETS. This caused the following tests to regress- BubbleFrameViewTest.GetMaximumSize BubbleFrameViewTest.GetMinimumSize BubbleFrameViewTest.GetPreferredSize These tests regressed since the constants kExpectedBorderHeight and kExpectedBorderWidth are set as per BubbleBorder::NO_SHADOWS. This CL fixes these tests by getting the border insets programmatically, rather than depending on fixed constants. BUG= 592856 Review URL: https://codereview.chromium.org/1774923002 Cr-Commit-Position: refs/heads/master@{#381148} [modify] https://crrev.com/59a5f4fd9d5b761d459878a1616a4c76bce36183/ui/views/bubble/bubble_frame_view_unittest.cc
,
Mar 15 2016
,
Apr 20 2016
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Mar 8 2016