Skip to content

Commit 66c4e51

Browse files
handler code change
1 parent 76ec830 commit 66c4e51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Controls/tests/DeviceTests/Elements/TemplatedView/TemplatedViewTests.Android.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public async Task RotationXConsistent()
5757
{
5858
var templatedView = new TemplatedView() { RotationX = 33.0 };
5959
var expected = templatedView.RotationX;
60-
var handler = await CreateHandlerAsync<SearchBarHandler>(templatedView);
60+
var handler = await CreateHandlerAsync<ContentViewHandler>(templatedView);
6161
var platformRotationX = await InvokeOnMainThreadAsync(() => handler.PlatformView.RotationX);
6262
Assert.Equal(expected, platformRotationX);
6363
}
@@ -68,7 +68,7 @@ public async Task RotationYConsistent()
6868
{
6969
var templatedView = new TemplatedView() { RotationY = 87.0 };
7070
var expected = templatedView.RotationY;
71-
var handler = await CreateHandlerAsync<SearchBarHandler>(templatedView);
71+
var handler = await CreateHandlerAsync<ContentViewHandler>(templatedView);
7272
var platformRotationY = await InvokeOnMainThreadAsync(() => handler.PlatformView.RotationY);
7373
Assert.Equal(expected, platformRotationY);
7474
}
@@ -79,7 +79,7 @@ public async Task RotationConsistent()
7979
{
8080
var templatedView = new TemplatedView() { Rotation = 23.0 };
8181
var expected = templatedView.Rotation;
82-
var handler = await CreateHandlerAsync<SearchBarHandler>(templatedView);
82+
var handler = await CreateHandlerAsync<ContentViewHandler>(templatedView);
8383
var platformRotation = await InvokeOnMainThreadAsync(() => handler.PlatformView.Rotation);
8484
Assert.Equal(expected, platformRotation);
8585
}

0 commit comments

Comments
 (0)