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

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

Issue 2884733003: Remove a duplicate and leaking test LayoutTableCellTest.AbsoluteColumnIndex (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | 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/LayoutTableCellTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp
index 62f879c66bf8fda0b312771b74509c05276589d4..8ae6c8cdd6f6fb8cd4d74e6daa11b5b003d5fcdd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp
@@ -88,15 +88,6 @@ class LayoutTableCellTest : public RenderingTest {
}
};
-TEST_F(LayoutTableCellTest, AbsoluteColumnIndex) {
- auto* cell = LayoutTableCell::CreateAnonymous(&GetDocument());
- EXPECT_FALSE(cell->HasSetAbsoluteColumnIndex());
- cell->SetAbsoluteColumnIndex(kMaxColumnIndex);
- EXPECT_TRUE(cell->HasSetAbsoluteColumnIndex());
- EXPECT_NE(kUnsetColumnIndex, cell->AbsoluteColumnIndex());
- EXPECT_EQ(kMaxColumnIndex, cell->AbsoluteColumnIndex());
-}
-
TEST_F(LayoutTableCellTest, ResetColspanIfTooBig) {
SetBodyInnerHTML("<table><td id='cell' colspan='14000'></td></table>");
ASSERT_EQ(GetCellByElementId("cell")->ColSpan(), 8190U);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698