Skip to content

Commit

Permalink
Enable VerifyCodeRefactoringOffered tests
Browse files Browse the repository at this point in the history
The underlying requirement that diagnostics be waitable through
FeatureAttribute.DiagnosticService was recently implemented (dotnet#24783),
so these tests should be reliable again.

Fixes dotnet#17393
  • Loading branch information
sharwell committed Feb 14, 2018
1 parent 56044ac commit 824d7c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ public CSharpChangeSignatureDialog(VisualStudioInstanceFactory instanceFactory)
{
}

[Fact(Skip = "https://github.com/dotnet/roslyn/issues/17393"),
Trait(Traits.Feature, Traits.Features.ChangeSignature)]
[Fact, Trait(Traits.Feature, Traits.Features.ChangeSignature)]
public void VerifyCodeRefactoringOffered()
{
SetUpEditor(@"
class C
{
public void Method(int a, string b) { }
public void Method$$(int a, string b) { }
}");

VisualStudio.Editor.InvokeCodeActionList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public BasicChangeSignatureDialog(VisualStudioInstanceFactory instanceFactory)
{
}

[Fact(Skip = "https://github.com/dotnet/roslyn/issues/17393"),
Trait(Traits.Feature, Traits.Features.ChangeSignature)]
[Fact, Trait(Traits.Feature, Traits.Features.ChangeSignature)]
public void VerifyCodeRefactoringOffered()
{
SetUpEditor(@"
Expand Down

0 comments on commit 824d7c6

Please sign in to comment.