Move few GivenWeWantToRequireWindowsForDesktopApps tests (#8205)
Fix https://github.com/dotnet/installer/issues/8203
This commit is contained in:
parent
225274f1f4
commit
3232fe7ac1
4 changed files with 131 additions and 1 deletions
|
@ -0,0 +1,18 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.DotNet.Tools.Test.Utilities
|
||||
{
|
||||
public class PlatformSpecificTheory : TheoryAttribute
|
||||
{
|
||||
public PlatformSpecificTheory(TestPlatforms platforms)
|
||||
{
|
||||
if (PlatformSpecificFact.ShouldSkip(platforms))
|
||||
{
|
||||
this.Skip = "This test is not supported on this platform.";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue