You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1011,13 +1011,15 @@ export class SafeAreaTests extends testModule.UITest<any> {
1011
1011
isBottomAlignedWith(grid,cells[2][1]);
1012
1012
isBottomAlignedWith(grid,cells[2][2]);
1013
1013
1014
-
check(height(cells[0][1])>=height(cells[1][1]),`cell01 height<${height(cells[0][1])}> not greater or equal cell11 height<${height(cells[1][1])}>`);
1015
-
lessOrCloseEnough(height(cells[1][1]),height(cells[2][1]),`cell11 height<${height(cells[1][1])}> not less or equal cell21 height<${height(cells[2][1])}>`);
1014
+
greaterOrCloseEnough(height(cells[0][1]),height(cells[1][1]),`cell01 height<${height(cells[0][1])}> not greater or close enough cell11 height<${height(cells[1][1])}>`);
1015
+
lessOrCloseEnough(height(cells[1][1]),height(cells[2][1]),`cell11 height<${height(cells[1][1])}> not less or close enough cell21 height<${height(cells[2][1])}>`);
equal(height(grid),sumOfNestedGridHeights,`grid height<${height(grid)}> sum of nested grids height <${sumOfNestedGridHeights}>`);
1018
1019
1019
-
check(width(cells[1][0])>=width(cells[1][1]),`cell10 width<${width(cells[1][0])}> not greater or equal cell11 width<${width(cells[1][1])}>`);
1020
-
check(width(cells[1][1])<=width(cells[1][2]),`cell11 width<${width(cells[1][1])}> not less or equal cell12 width<${width(cells[1][2])}>`);
1020
+
greaterOrCloseEnough(width(cells[1][0]),width(cells[1][1]),`cell10 width<${width(cells[1][0])}> not greater or close enough cell11 width<${width(cells[1][1])}>`);
1021
+
lessOrCloseEnough(width(cells[1][1]),width(cells[1][2]),`cell11 width<${width(cells[1][1])}> not less or close enough cell12 width<${width(cells[1][2])}>`);
<Button id="child0" text="Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet" height="100%"></Button>
<Button id="child0" text="Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet." height="100%"></Button>
<Button id="child0" text="Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet" height="100%"></Button>
<Button id="child0" text="Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet." height="100%"></Button>
<Button text="Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet"/>
1443
+
<Button text="Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet."/>
@@ -182,13 +182,15 @@ export class ListViewSafeAreaTest extends UITest<ListView> {
182
182
isRightAlignedWith(root,cells[1][2]);
183
183
isRightAlignedWith(root,cells[2][2]);
184
184
185
-
check(height(cells[0][1])>=height(cells[1][1]),`cell01 height<${height(cells[0][1])}> not greater or equal cell11 height<${height(cells[1][1])}>`);
186
-
lessOrCloseEnough(height(cells[1][1]),height(cells[2][1]),`cell11 height<${height(cells[1][1])}> not less or equal cell21 height<${height(cells[2][1])}>`);
185
+
greaterOrCloseEnough(height(cells[0][1]),height(cells[1][1]),`cell01 height<${height(cells[0][1])}> not greater or close enough cell11 height<${height(cells[1][1])}>`);
186
+
lessOrCloseEnough(height(cells[1][1]),height(cells[2][1]),`cell11 height<${height(cells[1][1])}> not less or close enough cell21 height<${height(cells[2][1])}>`);
equal(height(root),sumOfNestedListViewHeights,`grid height<${height(root)}> sum of nested list views height <${sumOfNestedListViewHeights}>`);
189
190
190
-
check(width(cells[1][0])>=width(cells[1][1]),`cell10 width<${width(cells[1][0])}> not greater or equal cell11 width<${width(cells[1][1])}>`);
191
-
check(width(cells[1][1])<=width(cells[1][2]),`cell11 width<${width(cells[1][1])}> not less or equal cell12 width<${width(cells[1][2])}>`);
191
+
greaterOrCloseEnough(width(cells[1][0]),width(cells[1][1]),`cell10 width<${width(cells[1][0])}> not greater or close enough cell11 width<${width(cells[1][1])}>`);
192
+
lessOrCloseEnough(width(cells[1][1]),width(cells[1][2]),`cell11 width<${width(cells[1][1])}> not less or close enough cell12 width<${width(cells[1][2])}>`);
@@ -425,13 +425,14 @@ class ScrollLayoutSafeAreaTest extends UITest<ScrollView> {
425
425
isBottomAlignedWith(grid,cells[2][1]);
426
426
isBottomAlignedWith(grid,cells[2][2]);
427
427
428
-
check(height(cells[0][1])>=height(cells[1][1]),`cell01 height<${height(cells[0][1])}> not greater or equal cell11 height<${height(cells[1][1])}>`);
429
-
lessOrCloseEnough(height(cells[1][1]),height(cells[2][1]),`cell11 height<${height(cells[1][1])}> not less or equal cell21 height<${height(cells[2][1])}>`);
428
+
greaterOrCloseEnough(height(cells[0][1]),height(cells[1][1]),`cell01 height<${height(cells[0][1])}> not greater or close enough cell11 height<${height(cells[1][1])}>`);
429
+
lessOrCloseEnough(height(cells[1][1]),height(cells[2][1]),`cell11 height<${height(cells[1][1])}> not less or close enough cell21 height<${height(cells[2][1])}>`);
equal(height(grid),sumOfNestedScrollViewHeights,`grid height<${height(grid)}> sum of nested scroll views height <${sumOfNestedScrollViewHeights}>`);
432
433
433
-
check(width(cells[1][0])>=width(cells[1][1]),`cell10 width<${width(cells[1][0])}> not greater or equal cell11 width<${width(cells[1][1])}>`);
434
-
check(width(cells[1][1])<=width(cells[1][2]),`cell11 width<${width(cells[1][1])}> not less or equal cell12 width<${width(cells[1][2])}>`);
434
+
greaterOrCloseEnough(width(cells[1][0]),width(cells[1][1]),`cell10 width<${width(cells[1][0])}> not greater or close enough cell11 width<${width(cells[1][1])}>`);
435
+
lessOrCloseEnough(width(cells[1][1]),width(cells[1][2]),`cell11 width<${width(cells[1][1])}> not less or close enough cell12 width<${width(cells[1][2])}>`);
0 commit comments