rename CSSWrapType to shorter CSSWrap matching java and csharp
Summary: Java and csharp already use CSSWrap and not CSSWrapType. Let's consolidate and stick with the shorter of the two. Reviewed By: gkassabli Differential Revision: D4174257 fbshipit-source-id: ba0bfab996ba158b07863d8c72cf2a41262c9592
This commit is contained in:
committed by
Facebook Github Bot
parent
7a3df9999b
commit
b99172d28b
@@ -49,7 +49,7 @@
|
||||
|
||||
TEST(CSSLayoutTest, align_content_flex_start) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetWidth(root, 100);
|
||||
CSSNodeStyleSetHeight(root, 100);
|
||||
|
||||
@@ -147,7 +147,7 @@ TEST(CSSLayoutTest, align_content_flex_start) {
|
||||
TEST(CSSLayoutTest, align_content_flex_end) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetAlignContent(root, CSSAlignFlexEnd);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetWidth(root, 100);
|
||||
CSSNodeStyleSetHeight(root, 100);
|
||||
|
||||
@@ -245,7 +245,7 @@ TEST(CSSLayoutTest, align_content_flex_end) {
|
||||
TEST(CSSLayoutTest, align_content_center) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetAlignContent(root, CSSAlignCenter);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetWidth(root, 100);
|
||||
CSSNodeStyleSetHeight(root, 100);
|
||||
|
||||
@@ -343,7 +343,7 @@ TEST(CSSLayoutTest, align_content_center) {
|
||||
TEST(CSSLayoutTest, align_content_stretch) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetAlignContent(root, CSSAlignStretch);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetWidth(root, 100);
|
||||
CSSNodeStyleSetHeight(root, 100);
|
||||
|
||||
|
@@ -23,7 +23,7 @@ TEST(CSSLayoutTest, assert_default_values) {
|
||||
ASSERT_EQ(CSSAlignStretch, CSSNodeStyleGetAlignItems(root));
|
||||
ASSERT_EQ(CSSAlignAuto, CSSNodeStyleGetAlignSelf(root));
|
||||
ASSERT_EQ(CSSPositionTypeRelative, CSSNodeStyleGetPositionType(root));
|
||||
ASSERT_EQ(CSSWrapTypeNoWrap, CSSNodeStyleGetFlexWrap(root));
|
||||
ASSERT_EQ(CSSWrapNoWrap, CSSNodeStyleGetFlexWrap(root));
|
||||
ASSERT_EQ(CSSOverflowVisible, CSSNodeStyleGetOverflow(root));
|
||||
ASSERT_EQ(0, CSSNodeStyleGetFlexGrow(root));
|
||||
ASSERT_EQ(0, CSSNodeStyleGetFlexShrink(root));
|
||||
|
@@ -45,7 +45,7 @@
|
||||
|
||||
TEST(CSSLayoutTest, wrap_column) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetHeight(root, 100);
|
||||
|
||||
const CSSNodeRef root_child0 = CSSNodeNew();
|
||||
@@ -127,7 +127,7 @@ TEST(CSSLayoutTest, wrap_column) {
|
||||
TEST(CSSLayoutTest, wrap_row) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetFlexDirection(root, CSSFlexDirectionRow);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetWidth(root, 100);
|
||||
|
||||
const CSSNodeRef root_child0 = CSSNodeNew();
|
||||
@@ -210,7 +210,7 @@ TEST(CSSLayoutTest, wrap_row_align_items_flex_end) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetFlexDirection(root, CSSFlexDirectionRow);
|
||||
CSSNodeStyleSetAlignItems(root, CSSAlignFlexEnd);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetWidth(root, 100);
|
||||
|
||||
const CSSNodeRef root_child0 = CSSNodeNew();
|
||||
@@ -293,7 +293,7 @@ TEST(CSSLayoutTest, wrap_row_align_items_center) {
|
||||
const CSSNodeRef root = CSSNodeNew();
|
||||
CSSNodeStyleSetFlexDirection(root, CSSFlexDirectionRow);
|
||||
CSSNodeStyleSetAlignItems(root, CSSAlignCenter);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapTypeWrap);
|
||||
CSSNodeStyleSetFlexWrap(root, CSSWrapWrap);
|
||||
CSSNodeStyleSetWidth(root, 100);
|
||||
|
||||
const CSSNodeRef root_child0 = CSSNodeNew();
|
||||
|
Reference in New Issue
Block a user