From b713966b01a0b4af3ea888230f2652d0fde9cdc4 Mon Sep 17 00:00:00 2001 From: Ramez Ragaa Date: Wed, 21 Feb 2024 20:26:50 +0200 Subject: [PATCH] revert: "test: enable and fix Given_Launcher to run on skia" This reverts commit 6cbcea2662da429563f0e8ed11f08e682a2a2c6c. --- .../Tests/Windows_System/Given_Launcher.cs | 21 +++---------------- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs index 6c138cb90132..5e892814dfc7 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs @@ -1,6 +1,5 @@ -#if __ANDROID__ || __IOS__ || __SKIA__ +#if __ANDROID__ || __IOS__ using System; -using System.Runtime.InteropServices; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Windows.ApplicationModel.Core; @@ -60,14 +59,7 @@ public async Task When_Settings_Uri_Is_Queried() new Uri("ms-settings:network-wifi"), LaunchQuerySupportType.Uri); - if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) - { - Assert.AreEqual(LaunchQuerySupportStatus.NotSupported, result); - } - else - { - Assert.AreEqual(LaunchQuerySupportStatus.Available, result); - } + Assert.AreEqual(LaunchQuerySupportStatus.Available, result); } [TestMethod] @@ -77,14 +69,7 @@ public async Task When_Unsupported_Special_Uri_Is_Queried() new Uri("ms-windows-store://home"), LaunchQuerySupportType.Uri); - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - Assert.AreEqual(LaunchQuerySupportStatus.Available, result); - } - else - { - Assert.AreEqual(LaunchQuerySupportStatus.NotSupported, result); - } + Assert.AreEqual(LaunchQuerySupportStatus.NotSupported, result); } private async Task DispatchAsync(Func asyncAction)