Skip to content

Commit

Permalink
revert: "test: enable and fix Given_Launcher to run on skia"
Browse files Browse the repository at this point in the history
This reverts commit 6cbcea2.
  • Loading branch information
ramezgerges committed Feb 21, 2024
1 parent 3eb214a commit b713966
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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]
Expand All @@ -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<Task> asyncAction)
Expand Down

0 comments on commit b713966

Please sign in to comment.