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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc

Issue 2530083003: [LayoutNG] Remove all mentions of NGBox and NGInlineBox. (Closed)
Patch Set: rebase master Created 4 years, 1 month 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
Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
index 20e0e2f2c351d76b8441ffb1c60105ecb99679e6..ad9bd2487eed0f17ed49d7671340eda4454959be 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
@@ -39,9 +39,9 @@ class NGInlineNodeForTest : public NGInlineNode {
void SegmentText() { NGInlineNode::SegmentText(); }
};
-class NGInlineBoxTest : public ::testing::Test {};
+class NGInlineNodeTest : public ::testing::Test {};
-TEST_F(NGInlineBoxTest, SegmentASCII) {
+TEST_F(NGInlineNodeTest, SegmentASCII) {
RefPtr<ComputedStyle> style = ComputedStyle::create();
NGInlineNodeForTest* box = new NGInlineNodeForTest(style.get());
box->AppendText("Hello");
@@ -53,7 +53,7 @@ TEST_F(NGInlineBoxTest, SegmentASCII) {
EXPECT_EQ(LTR, item.Direction());
}
-TEST_F(NGInlineBoxTest, SegmentHebrew) {
+TEST_F(NGInlineNodeTest, SegmentHebrew) {
RefPtr<ComputedStyle> style = ComputedStyle::create();
NGInlineNodeForTest* box = new NGInlineNodeForTest(style.get());
box->AppendText(u"\u05E2\u05D1\u05E8\u05D9\u05EA");
@@ -65,7 +65,7 @@ TEST_F(NGInlineBoxTest, SegmentHebrew) {
EXPECT_EQ(RTL, item.Direction());
}
-TEST_F(NGInlineBoxTest, SegmentSplit1To2) {
+TEST_F(NGInlineNodeTest, SegmentSplit1To2) {
RefPtr<ComputedStyle> style = ComputedStyle::create();
NGInlineNodeForTest* box = new NGInlineNodeForTest(style.get());
box->AppendText(u"Hello \u05E2\u05D1\u05E8\u05D9\u05EA");
@@ -81,7 +81,7 @@ TEST_F(NGInlineBoxTest, SegmentSplit1To2) {
EXPECT_EQ(RTL, item.Direction());
}
-TEST_F(NGInlineBoxTest, SegmentSplit3To4) {
+TEST_F(NGInlineNodeTest, SegmentSplit3To4) {
RefPtr<ComputedStyle> style = ComputedStyle::create();
NGInlineNodeForTest* box = new NGInlineNodeForTest(style.get());
box->AppendText("Hel");

Powered by Google App Engine
This is Rietveld 408576698