Rename java API
Summary: Rename java api to new use yoga naming Reviewed By: IanChilds Differential Revision: D4265345 fbshipit-source-id: 69ecfd8fac214f86b8b70647b9b909acd83d78b5
This commit is contained in:
committed by
Facebook Github Bot
parent
6339467b6d
commit
c6100d0771
@@ -18,11 +18,11 @@ import static org.junit.Assert.assertEquals;
|
||||
public class YGAlignItemsTest {
|
||||
@Test
|
||||
public void test_align_items_stretch() {
|
||||
final CSSNode root = new CSSNode();
|
||||
final YogaNode root = new YogaNode();
|
||||
root.setWidth(100f);
|
||||
root.setHeight(100f);
|
||||
|
||||
final CSSNode root_child0 = new CSSNode();
|
||||
final YogaNode root_child0 = new YogaNode();
|
||||
root_child0.setHeight(10f);
|
||||
root.addChildAt(root_child0, 0);
|
||||
root.setDirection(YogaDirection.LTR);
|
||||
@@ -54,12 +54,12 @@ public class YGAlignItemsTest {
|
||||
|
||||
@Test
|
||||
public void test_align_items_center() {
|
||||
final CSSNode root = new CSSNode();
|
||||
final YogaNode root = new YogaNode();
|
||||
root.setAlignItems(YogaAlign.CENTER);
|
||||
root.setWidth(100f);
|
||||
root.setHeight(100f);
|
||||
|
||||
final CSSNode root_child0 = new CSSNode();
|
||||
final YogaNode root_child0 = new YogaNode();
|
||||
root_child0.setWidth(10f);
|
||||
root_child0.setHeight(10f);
|
||||
root.addChildAt(root_child0, 0);
|
||||
@@ -92,12 +92,12 @@ public class YGAlignItemsTest {
|
||||
|
||||
@Test
|
||||
public void test_align_items_flex_start() {
|
||||
final CSSNode root = new CSSNode();
|
||||
final YogaNode root = new YogaNode();
|
||||
root.setAlignItems(YogaAlign.FLEX_START);
|
||||
root.setWidth(100f);
|
||||
root.setHeight(100f);
|
||||
|
||||
final CSSNode root_child0 = new CSSNode();
|
||||
final YogaNode root_child0 = new YogaNode();
|
||||
root_child0.setWidth(10f);
|
||||
root_child0.setHeight(10f);
|
||||
root.addChildAt(root_child0, 0);
|
||||
@@ -130,12 +130,12 @@ public class YGAlignItemsTest {
|
||||
|
||||
@Test
|
||||
public void test_align_items_flex_end() {
|
||||
final CSSNode root = new CSSNode();
|
||||
final YogaNode root = new YogaNode();
|
||||
root.setAlignItems(YogaAlign.FLEX_END);
|
||||
root.setWidth(100f);
|
||||
root.setHeight(100f);
|
||||
|
||||
final CSSNode root_child0 = new CSSNode();
|
||||
final YogaNode root_child0 = new YogaNode();
|
||||
root_child0.setWidth(10f);
|
||||
root_child0.setHeight(10f);
|
||||
root.addChildAt(root_child0, 0);
|
||||
|
Reference in New Issue
Block a user