Use LTR and RTL instead obsolete enums
Summary: Use LTR and RTL instead obsolete LeftToRight and RightToLeft enums Reviewed By: emilsjolander Differential Revision: D4175897 fbshipit-source-id: d22af46d3292f9ad1754f571e95cb64b11722f7b
This commit is contained in:
committed by
Facebook Github Bot
parent
d1c555fede
commit
d80bac4234
@@ -74,7 +74,7 @@ namespace Facebook.CSSLayout
|
||||
root_child3.StyleWidth = 30;
|
||||
root_child3.StyleHeight = 30;
|
||||
root.Insert(3, root_child3);
|
||||
root.StyleDirection = CSSDirection.LeftToRight;
|
||||
root.StyleDirection = CSSDirection.LTR;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
@@ -102,7 +102,7 @@ namespace Facebook.CSSLayout
|
||||
Assert.AreEqual(30, root_child3.LayoutWidth);
|
||||
Assert.AreEqual(30, root_child3.LayoutHeight);
|
||||
|
||||
root.StyleDirection = CSSDirection.RightToLeft;
|
||||
root.StyleDirection = CSSDirection.RTL;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
@@ -158,7 +158,7 @@ namespace Facebook.CSSLayout
|
||||
root_child3.StyleWidth = 30;
|
||||
root_child3.StyleHeight = 30;
|
||||
root.Insert(3, root_child3);
|
||||
root.StyleDirection = CSSDirection.LeftToRight;
|
||||
root.StyleDirection = CSSDirection.LTR;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
@@ -186,7 +186,7 @@ namespace Facebook.CSSLayout
|
||||
Assert.AreEqual(30, root_child3.LayoutWidth);
|
||||
Assert.AreEqual(30, root_child3.LayoutHeight);
|
||||
|
||||
root.StyleDirection = CSSDirection.RightToLeft;
|
||||
root.StyleDirection = CSSDirection.RTL;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
@@ -243,7 +243,7 @@ namespace Facebook.CSSLayout
|
||||
root_child3.StyleWidth = 30;
|
||||
root_child3.StyleHeight = 30;
|
||||
root.Insert(3, root_child3);
|
||||
root.StyleDirection = CSSDirection.LeftToRight;
|
||||
root.StyleDirection = CSSDirection.LTR;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
@@ -271,7 +271,7 @@ namespace Facebook.CSSLayout
|
||||
Assert.AreEqual(30, root_child3.LayoutWidth);
|
||||
Assert.AreEqual(30, root_child3.LayoutHeight);
|
||||
|
||||
root.StyleDirection = CSSDirection.RightToLeft;
|
||||
root.StyleDirection = CSSDirection.RTL;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
@@ -328,7 +328,7 @@ namespace Facebook.CSSLayout
|
||||
root_child3.StyleWidth = 30;
|
||||
root_child3.StyleHeight = 30;
|
||||
root.Insert(3, root_child3);
|
||||
root.StyleDirection = CSSDirection.LeftToRight;
|
||||
root.StyleDirection = CSSDirection.LTR;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
@@ -356,7 +356,7 @@ namespace Facebook.CSSLayout
|
||||
Assert.AreEqual(30, root_child3.LayoutWidth);
|
||||
Assert.AreEqual(30, root_child3.LayoutHeight);
|
||||
|
||||
root.StyleDirection = CSSDirection.RightToLeft;
|
||||
root.StyleDirection = CSSDirection.RTL;
|
||||
root.CalculateLayout();
|
||||
|
||||
Assert.AreEqual(0, root.LayoutX);
|
||||
|
Reference in New Issue
Block a user