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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableRowTest.cpp

Issue 2277893003: Re-enable LayoutTable{Cell,Row}DeathTest.* on non-Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-enable LayoutTable{Cell,Row}DeathTest.* on non-mac Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutTableRowTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRowTest.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRowTest.cpp
index 31c2a852e99c6a6b8939187d7727c45e670f277c..d285a44e6c3995fa7a86e640a77702226ee0a2a8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRowTest.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRowTest.cpp
@@ -47,15 +47,14 @@ protected:
LayoutTableRow* m_row;
};
-// TODO(esprehn): Disabled all of these tests because they're flaky: crbug.com/630625
-TEST_F(LayoutTableRowDeathTest, DISABLED_CanSetRow)
+TEST_F(LayoutTableRowDeathTest, CanSetRow)
{
static const unsigned rowIndex = 10;
m_row->setRowIndex(rowIndex);
EXPECT_EQ(rowIndex, m_row->rowIndex());
}
-TEST_F(LayoutTableRowDeathTest, DISABLED_CanSetRowToMaxRowIndex)
+TEST_F(LayoutTableRowDeathTest, CanSetRowToMaxRowIndex)
{
m_row->setRowIndex(maxRowIndex);
EXPECT_EQ(maxRowIndex, m_row->rowIndex());
@@ -63,14 +62,16 @@ TEST_F(LayoutTableRowDeathTest, DISABLED_CanSetRowToMaxRowIndex)
// FIXME: Re-enable these tests once ASSERT_DEATH is supported for Android.
// See: https://bugs.webkit.org/show_bug.cgi?id=74089
-#if !OS(ANDROID)
+// TODO(dgrogan): These tests started flaking on Mac try bots around 2016-07-28.
+// https://crbug.com/632816
+#if !OS(ANDROID) && !OS(MACOSX)
-TEST_F(LayoutTableRowDeathTest, DISABLED_CrashIfRowOverflowOnSetting)
+TEST_F(LayoutTableRowDeathTest, CrashIfRowOverflowOnSetting)
{
ASSERT_DEATH(m_row->setRowIndex(maxRowIndex + 1), "");
}
-TEST_F(LayoutTableRowDeathTest, DISABLED_CrashIfSettingUnsetRowIndex)
+TEST_F(LayoutTableRowDeathTest, CrashIfSettingUnsetRowIndex)
{
ASSERT_DEATH(m_row->setRowIndex(unsetRowIndex), "");
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698