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);
|
||||
|
||||
|
Reference in New Issue
Block a user