@@ -70,54 +70,6 @@ void main() {
7070 expect (renderWrap.computeMinIntrinsicHeight (79 ), 250 );
7171 });
7272
73- test ('Compute intrinsic height test for width-in-height-out children' , () {
74- const double lineHeight = 15.0 ;
75- final RenderWrap renderWrap = RenderWrap ();
76- renderWrap.add (
77- RenderParagraph (
78- const TextSpan (
79- text: 'A very very very very very very very very long text' ,
80- style: TextStyle (fontSize: lineHeight),
81- ),
82- textDirection: TextDirection .ltr,
83- ),
84- );
85-
86- renderWrap.spacing = 0 ;
87- renderWrap.runSpacing = 0 ;
88- renderWrap.direction = Axis .horizontal;
89-
90- expect (renderWrap.computeMaxIntrinsicHeight (double .infinity), lineHeight);
91- expect (renderWrap.computeMaxIntrinsicHeight (600 ), 2 * lineHeight);
92- expect (renderWrap.computeMaxIntrinsicHeight (300 ), 3 * lineHeight);
93- });
94-
95- test ('Compute intrinsic width test for height-in-width-out children' , () {
96- const double lineHeight = 15.0 ;
97- final RenderWrap renderWrap = RenderWrap ();
98- renderWrap.add (
99- // Rotates a width-in-height-out render object to make it height-in-width-out.
100- RenderRotatedBox (
101- quarterTurns: 1 ,
102- child: RenderParagraph (
103- const TextSpan (
104- text: 'A very very very very very very very very long text' ,
105- style: TextStyle (fontSize: lineHeight),
106- ),
107- textDirection: TextDirection .ltr,
108- )
109- ),
110- );
111-
112- renderWrap.spacing = 0 ;
113- renderWrap.runSpacing = 0 ;
114- renderWrap.direction = Axis .vertical;
115-
116- expect (renderWrap.computeMaxIntrinsicWidth (double .infinity), lineHeight);
117- expect (renderWrap.computeMaxIntrinsicWidth (600 ), 2 * lineHeight);
118- expect (renderWrap.computeMaxIntrinsicWidth (300 ), 3 * lineHeight);
119- });
120-
12173 test ('Compute intrinsic width test' , () {
12274 final List <RenderBox > children = < RenderBox > [
12375 RenderConstrainedBox (
0 commit comments