@@ -715,12 +715,12 @@ public void TestUpdateIconRectFMethod()
715
715
TrailingViewPosition = ViewPosition . Outside
716
716
} ;
717
717
InvokePrivateMethod ( inputLayout , "UpdateIconRectF" ) ;
718
- var outRectExpected = new RectF ( ) { X = 21 , Y = 2 , Width = - 43 , Height = - 24 } ;
718
+ var outRectExpected = new RectF ( ) { X = 21 , Y = 2 , Width = 1 , Height = - 24 } ;
719
719
var resultOutRect = GetPrivateField ( inputLayout , "_outlineRectF" ) ;
720
- Assert . Equal ( resultOutRect , outRectExpected ) ;
721
- var backgroundRectExpected = new RectF ( ) { X = 19 , Y = 0 , Width = - 39 , Height = - 22 } ;
720
+ Assert . Equal ( outRectExpected , resultOutRect ) ;
721
+ var backgroundRectExpected = new RectF ( ) { X = 19 , Y = 0 , Width = 1 , Height = - 22 } ;
722
722
var resultBackgroundRect = GetPrivateField ( inputLayout , "_backgroundRectF" ) ;
723
- Assert . Equal ( resultBackgroundRect , backgroundRectExpected ) ;
723
+ Assert . Equal ( backgroundRectExpected , resultBackgroundRect ) ;
724
724
var _passwordToggleIconRectF = new RectF ( ) { X = - 83 , Y = - 27 , Width = 32 , Height = 32 } ;
725
725
var resultPassToggleRect = GetPrivateField ( inputLayout , "_passwordToggleIconRectF" ) ;
726
726
Assert . Equal ( resultPassToggleRect , _passwordToggleIconRectF ) ;
@@ -816,7 +816,7 @@ public void TestUpdateHelperTextPositionMethod()
816
816
TrailingView = new Entry ( ) ,
817
817
TrailingViewPosition = ViewPosition . Outside
818
818
} ;
819
- var expected = new RectF ( ) { X = 60 , Y = - 18 , Width = - 96 , Height = 16 } ;
819
+ var expected = new RectF ( ) { X = 60 , Y = - 18 , Width = 1 , Height = 16 } ;
820
820
InvokePrivateMethod ( inputLayout , "UpdateHelperTextPosition" ) ;
821
821
var result = GetPrivateField ( inputLayout , "_helperTextRect" ) ;
822
822
Assert . Equal ( expected , result ) ;
@@ -873,7 +873,7 @@ public void TestUpdateErrorTextPositionMethod()
873
873
{
874
874
var inputLayout = new SfTextInputLayout ( ) ;
875
875
InvokePrivateMethod ( inputLayout , "UpdateErrorTextPosition" ) ;
876
- RectF expectedRect = new RectF ( ) { X = 16 , Y = - 18 , Width = - 33 , Height = 16 } ;
876
+ RectF expectedRect = new RectF ( ) { X = 16 , Y = - 18 , Width = 1 , Height = 16 } ;
877
877
var result = GetPrivateField ( inputLayout , "_errorTextRect" ) ;
878
878
Assert . Equal ( expectedRect , result ) ;
879
879
}
0 commit comments