Commit 43c03acc authored by Alexei Filippov's avatar Alexei Filippov Committed by Commit Bot

Disable LayoutProviderTest.LegacyFontSizeConstants test

BUG=961938
TBR=msw@chromium.org,etienneb@chromium.org

Change-Id: Ic4ed7e67cdee714b46c06b913e1fee28fc2985e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1606773Reviewed-by: default avatarAlexei Filippov <alph@chromium.org>
Commit-Queue: Alexei Filippov <alph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#658826}
parent c9f26c80
...@@ -63,7 +63,13 @@ class LayoutProviderTest : public testing::Test { ...@@ -63,7 +63,13 @@ class LayoutProviderTest : public testing::Test {
// Check legacy font sizes. No new code should be using these constants, but if // Check legacy font sizes. No new code should be using these constants, but if
// these tests ever fail it probably means something in the old UI will have // these tests ever fail it probably means something in the old UI will have
// changed by mistake. // changed by mistake.
TEST_F(LayoutProviderTest, LegacyFontSizeConstants) { // https://crbug.com/961938
#if defined(OS_MACOSX)
#define MAYBE_LegacyFontSizeConstants DISABLED_LegacyFontSizeConstants
#else
#define MAYBE_LegacyFontSizeConstants LegacyFontSizeConstants
#endif
TEST_F(LayoutProviderTest, MAYBE_LegacyFontSizeConstants) {
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
gfx::FontList label_font = rb.GetFontListWithDelta(ui::kLabelFontSizeDelta); gfx::FontList label_font = rb.GetFontListWithDelta(ui::kLabelFontSizeDelta);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment