diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/xunit/SkipIfCurrentRuntimeIsCoreClrAttribute.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/xunit/SkipIfCurrentRuntimeIsCoreClrAttribute.cs deleted file mode 100644 index 245736ad40..0000000000 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/xunit/SkipIfCurrentRuntimeIsCoreClrAttribute.cs +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Diagnostics; -using Microsoft.AspNetCore.Testing.xunit; - -namespace Microsoft.AspNetCore.Server.IntegrationTesting -{ - /// - /// Skips a test if the runtime used to run the test is CoreClr. - /// - [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] - public class SkipIfCurrentRuntimeIsCoreClrAttribute : Attribute, ITestCondition - { - public bool IsMet - { - get - { - return !Process.GetCurrentProcess().ProcessName.ToLower().Contains("coreclr"); - } - } - - public string SkipReason - { - get - { - return "Cannot run these test variations using CoreCLR runtime as helpers are not available on CoreCLR."; - } - } - } -}