diff options
Diffstat (limited to 'Source/WebKit/chromium/tests/RenderTableCellTest.cpp')
-rw-r--r-- | Source/WebKit/chromium/tests/RenderTableCellTest.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Source/WebKit/chromium/tests/RenderTableCellTest.cpp b/Source/WebKit/chromium/tests/RenderTableCellTest.cpp index 049b53534..b4c554a76 100644 --- a/Source/WebKit/chromium/tests/RenderTableCellTest.cpp +++ b/Source/WebKit/chromium/tests/RenderTableCellTest.cpp @@ -91,25 +91,12 @@ TEST_F(RenderTableCellDeathTest, CanSetColumn) EXPECT_EQ(columnIndex, m_cell->col()); } -TEST_F(RenderTableCellDeathTest, CanSetRow) -{ - static const unsigned rowIndex = 10; - m_cell->setRow(rowIndex); - EXPECT_EQ(rowIndex, m_cell->row()); -} - TEST_F(RenderTableCellDeathTest, CanSetColumnToMaxColumnIndex) { m_cell->setCol(maxColumnIndex); EXPECT_EQ(maxColumnIndex, m_cell->col()); } -TEST_F(RenderTableCellDeathTest, CanSetRowToMaxRowIndex) -{ - m_cell->setRow(maxRowIndex); - EXPECT_EQ(maxRowIndex, m_cell->row()); -} - // 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) @@ -119,21 +106,11 @@ TEST_F(RenderTableCellDeathTest, CrashIfColumnOverflowOnSetting) ASSERT_DEATH(m_cell->setCol(maxColumnIndex + 1), ""); } -TEST_F(RenderTableCellDeathTest, CrashIfRowOverflowOnSetting) -{ - ASSERT_DEATH(m_cell->setRow(maxRowIndex + 1), ""); -} - TEST_F(RenderTableCellDeathTest, CrashIfSettingUnsetColumnIndex) { ASSERT_DEATH(m_cell->setCol(unsetColumnIndex), ""); } -TEST_F(RenderTableCellDeathTest, CrashIfSettingUnsetRowIndex) -{ - ASSERT_DEATH(m_cell->setRow(unsetRowIndex), ""); -} - #endif } |