diff --git a/src/Uno.Toolkit.RuntimeTests/Tests/NavigationBarTests.cs b/src/Uno.Toolkit.RuntimeTests/Tests/NavigationBarTests.cs index 55076477a..3637f0165 100644 --- a/src/Uno.Toolkit.RuntimeTests/Tests/NavigationBarTests.cs +++ b/src/Uno.Toolkit.RuntimeTests/Tests/NavigationBarTests.cs @@ -244,6 +244,7 @@ public RedNavBarPage() }; } } +<<<<<<< HEAD [TestMethod] [RequiresFullWindow] @@ -274,6 +275,8 @@ private static void AssertNavigationBar(Frame frame) Assert.IsTrue(renderedNativeNavBar!.Height > 0, "Native toolbar height is not greater than 0"); Assert.IsTrue(renderedNativeNavBar!.Width > 0, "Native toolbar width is not greater than 0"); } +======= +>>>>>>> 8f4a08f (fix: Properly resubscribe to nested prop changes (#622)) #endif #if __IOS__ @@ -403,11 +406,15 @@ private static void AssertNavigationBar(Frame frame) Assert.AreSame(renderedNativeNavItem, presenter.NavigationController.TopViewController.NavigationItem); Assert.AreSame(renderedNativeNavBar, presenter.NavigationController.NavigationBar); +<<<<<<< HEAD Assert.IsTrue(renderedNativeNavBar!.Bounds.Height > 0, "Native toolbar height is not greater than 0"); Assert.IsTrue(renderedNativeNavBar!.Bounds.Width > 0, "Native toolbar width is not greater than 0"); } #endif #endif +======= + +>>>>>>> 8f4a08f (fix: Properly resubscribe to nested prop changes (#622)) private sealed partial class FirstPage : Page { @@ -540,6 +547,7 @@ public static class NavigationBarTestHelper public static UINavigationItem? GetNativeNavItem(this NavigationBar? navBar) => navBar ?.TryGetRenderer() ?.Native; +<<<<<<< HEAD #elif __ANDROID__ public static AndroidX.AppCompat.Widget.Toolbar? GetNativeNavBar(this NavigationBar? navBar) => navBar @@ -547,6 +555,10 @@ public static class NavigationBarTestHelper ?.Native; #endif public static Task NavigateAndGetNavBar(this Frame frame) where TPage : Page +======= +#endif + public static async Task NavigateAndGetNavBar(this Frame frame) where TPage : Page +>>>>>>> 8f4a08f (fix: Properly resubscribe to nested prop changes (#622)) { return frame.NavigateAndGetNavBar(typeof(TPage)); }