|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using Xunit;
namespace Roslyn.VisualStudio.NewIntegrationTests.CSharp
{
[Trait(Traits.Feature, Traits.Features.ErrorList)]
[Trait(Traits.Feature, Traits.Features.NetCore)]
public class CSharpErrorListNetCore : CSharpErrorListCommon
{
public CSharpErrorListNetCore()
: base(WellKnownProjectTemplates.CSharpNetCoreClassLibrary)
{
}
public override async Task InitializeAsync()
{
await base.InitializeAsync().ConfigureAwait(false);
// The CSharpNetCoreClassLibrary template does not open a file automatically.
await TestServices.SolutionExplorer.OpenFileAsync(ProjectName, WellKnownProjectTemplates.CSharpNetCoreClassLibraryClassFileName, HangMitigatingCancellationToken);
}
}
}
|