gentest
: allow for different default values
Summary: @public We use Chrome for generating test cases, which since v67 (or so) for `min-width` and `min-height` has a default value of either `0px` (CSS 2) or `auto` (CSS 3), depending on style properties. Our setup only allowed for a single default value, and our test cases produce *both.* This changes the test gen logic to allow for more than one value. Reviewed By: SidharthGuglani Differential Revision: D14682387 fbshipit-source-id: e76361f5cc0b88f9c2d74a5f3248c66abd6907a7
This commit is contained in:
committed by
Facebook Github Bot
parent
c235301b52
commit
1fc8472d35
@@ -218,8 +218,6 @@ public class YGDisplayTest {
|
||||
root_child1_child0.setFlexShrink(1f);
|
||||
root_child1_child0.setFlexBasisPercent(0f);
|
||||
root_child1_child0.setWidth(20f);
|
||||
root_child1_child0.setMinWidth(0f);
|
||||
root_child1_child0.setMinHeight(0f);
|
||||
root_child1.addChildAt(root_child1_child0, 0);
|
||||
|
||||
final YogaNode root_child2 = createNode(config);
|
||||
|
Reference in New Issue
Block a user