2018-12-15 04:08:38 +00:00
|
|
|
// 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 RequiresAspNetCore : FactAttribute
|
|
|
|
{
|
|
|
|
public RequiresAspNetCore()
|
|
|
|
{
|
2018-12-26 17:48:10 +00:00
|
|
|
if (RepoDirectoriesProvider.Stage2AspNetCore == null)
|
2018-12-15 04:08:38 +00:00
|
|
|
{
|
|
|
|
this.Skip = $"This test requires a AspNetCore but it isn't present.";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|