C++ style enums 11/N: Align (#1395)
Summary: X-link: https://github.com/facebook/react-native/pull/39497 Pull Request resolved: https://github.com/facebook/yoga/pull/1395 Moves internal usages of YGAlign to Align bypass-github-export-checks Changelog: [Internal] Reviewed By: rshest Differential Revision: D49337511 fbshipit-source-id: bb9906fcd22780d2cfd8d1360ef69f66b9701bb6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
61763e7d0a
commit
5bf81b1ef8
@@ -104,30 +104,30 @@ ACCESSOR_TEST(
|
||||
|
||||
ACCESSOR_TEST(
|
||||
alignContent,
|
||||
YGAlignFlexStart,
|
||||
YGAlignAuto,
|
||||
YGAlignFlexStart,
|
||||
YGAlignCenter,
|
||||
YGAlignFlexEnd,
|
||||
YGAlignStretch)
|
||||
Align::FlexStart,
|
||||
Align::Auto,
|
||||
Align::FlexStart,
|
||||
Align::Center,
|
||||
Align::FlexEnd,
|
||||
Align::Stretch)
|
||||
|
||||
ACCESSOR_TEST(
|
||||
alignItems,
|
||||
YGAlignStretch,
|
||||
YGAlignFlexStart,
|
||||
YGAlignFlexEnd,
|
||||
YGAlignBaseline,
|
||||
YGAlignSpaceBetween,
|
||||
YGAlignSpaceAround)
|
||||
Align::Stretch,
|
||||
Align::FlexStart,
|
||||
Align::FlexEnd,
|
||||
Align::Baseline,
|
||||
Align::SpaceBetween,
|
||||
Align::SpaceAround)
|
||||
|
||||
ACCESSOR_TEST(
|
||||
alignSelf,
|
||||
YGAlignAuto,
|
||||
YGAlignFlexStart,
|
||||
YGAlignCenter,
|
||||
YGAlignAuto,
|
||||
YGAlignFlexEnd,
|
||||
YGAlignStretch)
|
||||
Align::Auto,
|
||||
Align::FlexStart,
|
||||
Align::Center,
|
||||
Align::Auto,
|
||||
Align::FlexEnd,
|
||||
Align::Stretch)
|
||||
|
||||
ACCESSOR_TEST(
|
||||
positionType,
|
||||
|
Reference in New Issue
Block a user