Skip to content

Commit faf22db

Browse files
committed
Updated xUnit to latest
1 parent abd2b1c commit faf22db

12 files changed

Lines changed: 74 additions & 53 deletions
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<RuleSet Name="Rules for StyleCop.Analyzers internal-only projects" Description="Code analysis rules for StyleCop.Analyzers internal-only projects." ToolsVersion="14.0">
3-
<Include Path="StyleCop.Analyzers.ruleset" Action="Default" />
3+
<Include Path="stylecop.analyzers.ruleset" Action="Default" />
44
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp" RuleNamespace="Microsoft.CodeAnalysis.CSharp">
55
<Rule Id="CS1573" Action="Hidden" />
66
<Rule Id="CS1591" Action="Hidden" />
77
<Rule Id="CS2008" Action="None" />
88
</Rules>
9+
<Rules AnalyzerId="xunit.analyzers" RuleNamespace="xunit.analyzers">
10+
<Rule Id="xUnit1004" Action="Info" />
11+
</Rules>
912
</RuleSet>

StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void TestProperties()
6666
var newModifiers = SyntaxFactory.TokenList();
6767
var wrapperWithModifiedModifiers = wrapper.WithModifiers(newModifiers);
6868
Assert.NotNull(wrapperWithModifiedModifiers.SyntaxNode);
69-
Assert.NotSame(syntaxNode.Modifiers, wrapperWithModifiedModifiers.Modifiers);
69+
Assert.NotEqual(syntaxNode.Modifiers, wrapperWithModifiedModifiers.Modifiers);
7070
Assert.Equal(0, wrapperWithModifiedModifiers.Modifiers.Count);
7171

7272
var newReturnType = SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.BoolKeyword));
@@ -78,7 +78,7 @@ public void TestProperties()
7878
var newIdentifier = SyntaxFactory.Identifier("NewIdentifier");
7979
var wrapperWithModifiedIdentifier = wrapper.WithIdentifier(newIdentifier);
8080
Assert.NotNull(wrapperWithModifiedIdentifier.SyntaxNode);
81-
Assert.NotSame(syntaxNode.Identifier, wrapperWithModifiedIdentifier.Identifier);
81+
Assert.NotEqual(syntaxNode.Identifier, wrapperWithModifiedIdentifier.Identifier);
8282
Assert.Equal(SyntaxKind.IdentifierToken, wrapperWithModifiedIdentifier.Identifier.Kind());
8383
Assert.Equal("NewIdentifier", wrapperWithModifiedIdentifier.Identifier.Text);
8484

@@ -97,7 +97,7 @@ public void TestProperties()
9797
var newConstraintClauses = SyntaxFactory.List<TypeParameterConstraintClauseSyntax>();
9898
var wrapperWithModifiedConstraintClauses = wrapper.WithConstraintClauses(newConstraintClauses);
9999
Assert.NotNull(wrapperWithModifiedConstraintClauses.SyntaxNode);
100-
Assert.NotSame(syntaxNode.ConstraintClauses, wrapperWithModifiedConstraintClauses.ConstraintClauses);
100+
Assert.NotEqual(syntaxNode.ConstraintClauses, wrapperWithModifiedConstraintClauses.ConstraintClauses);
101101
Assert.Equal(0, wrapperWithModifiedConstraintClauses.ConstraintClauses.Count);
102102

103103
var newBody = SyntaxFactory.Block();
@@ -121,7 +121,7 @@ public void TestProperties()
121121
var addedModifiers = new SyntaxToken[] { SyntaxFactory.Token(SyntaxKind.AsyncKeyword) };
122122
var wrapperWithAddedModifiers = wrapper.AddModifiers(addedModifiers);
123123
Assert.NotNull(wrapperWithAddedModifiers.SyntaxNode);
124-
Assert.NotSame(syntaxNode.Modifiers, wrapperWithAddedModifiers.Modifiers);
124+
Assert.NotEqual(syntaxNode.Modifiers, wrapperWithAddedModifiers.Modifiers);
125125
Assert.Equal(2, wrapperWithAddedModifiers.Modifiers.Count);
126126
Assert.Equal(SyntaxKind.PrivateKeyword, wrapperWithAddedModifiers.Modifiers[0].Kind());
127127
Assert.Equal(SyntaxKind.AsyncKeyword, wrapperWithAddedModifiers.Modifiers[1].Kind());
@@ -145,7 +145,7 @@ public void TestProperties()
145145
var addedConstraintClauses = new TypeParameterConstraintClauseSyntax[] { SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.IdentifierName("constraint2")) };
146146
var wrapperWithAddedConstraintClauses = wrapper.AddConstraintClauses(addedConstraintClauses);
147147
Assert.NotNull(wrapperWithAddedConstraintClauses.SyntaxNode);
148-
Assert.NotSame(syntaxNode.ConstraintClauses, wrapperWithAddedConstraintClauses.ConstraintClauses);
148+
Assert.NotEqual(syntaxNode.ConstraintClauses, wrapperWithAddedConstraintClauses.ConstraintClauses);
149149
Assert.Equal(2, wrapperWithAddedConstraintClauses.ConstraintClauses.Count);
150150
Assert.Equal("constraint1", wrapperWithAddedConstraintClauses.ConstraintClauses[0].Name.Identifier.Text);
151151
Assert.Equal("constraint2", wrapperWithAddedConstraintClauses.ConstraintClauses[1].Name.Identifier.Text);

StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleTypeSyntaxWrapperTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void TestProperties()
5050
var newElements = wrapper.Elements.Replace(wrapper.Elements[0], (TupleElementSyntaxWrapper)SyntaxFactory.TupleElement(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.StringKeyword))));
5151
var wrapperWithModifiedElements = wrapper.WithElements(newElements);
5252
Assert.NotNull(wrapperWithModifiedElements.SyntaxNode);
53-
Assert.NotSame(syntaxNode.Elements[0], wrapperWithModifiedElements.Elements[0]);
53+
Assert.NotEqual(syntaxNode.Elements[0], (TupleElementSyntax)wrapperWithModifiedElements.Elements[0]);
5454
Assert.Equal(SyntaxKind.StringKeyword, ((PredefinedTypeSyntax)wrapperWithModifiedElements.Elements[0].Type).Keyword.Kind());
5555

5656
var wrapperWithAddedElements = wrapper.AddElements((TupleElementSyntaxWrapper)SyntaxFactory.TupleElement(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.ShortKeyword))));

StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\..\packages\xunit.runner.visualstudio.2.3.0-beta1-build1309\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\..\packages\xunit.runner.visualstudio.2.3.0-beta1-build1309\build\net20\xunit.runner.visualstudio.props')" />
3+
<Import Project="..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.props" Condition="Exists('..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.props')" />
4+
<Import Project="..\..\packages\xunit.runner.visualstudio.2.3.0-beta3-build3705\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\..\packages\xunit.runner.visualstudio.2.3.0-beta3-build3705\build\net20\xunit.runner.visualstudio.props')" />
45
<PropertyGroup>
56
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
67
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -15,6 +16,8 @@
1516
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
1617
<FileAlignment>512</FileAlignment>
1718
<TargetFrameworkProfile />
19+
<NuGetPackageImportStamp>
20+
</NuGetPackageImportStamp>
1821
</PropertyGroup>
1922
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2023
<DebugSymbols>true</DebugSymbols>
@@ -184,16 +187,16 @@
184187
<HintPath>..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll</HintPath>
185188
<Private>True</Private>
186189
</Reference>
187-
<Reference Include="xunit.assert, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
188-
<HintPath>..\..\packages\xunit.assert.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.assert.dll</HintPath>
190+
<Reference Include="xunit.assert, Version=2.3.0.3705, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
191+
<HintPath>..\..\packages\xunit.assert.2.3.0-beta3-build3705\lib\netstandard1.1\xunit.assert.dll</HintPath>
189192
<Private>True</Private>
190193
</Reference>
191-
<Reference Include="xunit.core, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
192-
<HintPath>..\..\packages\xunit.extensibility.core.2.2.0-beta4-build3444\lib\net45\xunit.core.dll</HintPath>
194+
<Reference Include="xunit.core, Version=2.3.0.3705, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
195+
<HintPath>..\..\packages\xunit.extensibility.core.2.3.0-beta3-build3705\lib\netstandard1.1\xunit.core.dll</HintPath>
193196
<Private>True</Private>
194197
</Reference>
195-
<Reference Include="xunit.execution.desktop, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
196-
<HintPath>..\..\packages\xunit.extensibility.execution.2.2.0-beta4-build3444\lib\net45\xunit.execution.desktop.dll</HintPath>
198+
<Reference Include="xunit.execution.desktop, Version=2.3.0.3705, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
199+
<HintPath>..\..\packages\xunit.extensibility.execution.2.3.0-beta3-build3705\lib\net452\xunit.execution.desktop.dll</HintPath>
197200
<Private>True</Private>
198201
</Reference>
199202
</ItemGroup>
@@ -470,14 +473,18 @@
470473
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.2.0-beta2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
471474
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.1.0-beta004\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
472475
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.1.0-beta004\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
476+
<Analyzer Include="..\..\packages\xunit.analyzers.0.5.0\analyzers\dotnet\cs\xunit.analyzers.dll" />
473477
</ItemGroup>
474478
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
475479
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
476480
<PropertyGroup>
477481
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
478482
</PropertyGroup>
479-
<Error Condition="!Exists('..\..\packages\xunit.runner.visualstudio.2.3.0-beta1-build1309\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\xunit.runner.visualstudio.2.3.0-beta1-build1309\build\net20\xunit.runner.visualstudio.props'))" />
483+
<Error Condition="!Exists('..\..\packages\xunit.runner.visualstudio.2.3.0-beta3-build3705\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\xunit.runner.visualstudio.2.3.0-beta3-build3705\build\net20\xunit.runner.visualstudio.props'))" />
484+
<Error Condition="!Exists('..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.props'))" />
485+
<Error Condition="!Exists('..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.targets'))" />
480486
</Target>
487+
<Import Project="..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.targets" Condition="Exists('..\..\packages\xunit.core.2.3.0-beta3-build3705\build\xunit.core.targets')" />
481488
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
482489
Other similar extension points exist, see Microsoft.Common.targets.
483490
<Target Name="BeforeBuild">

StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/packages.config

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@
5050
<package id="System.Xml.XmlDocument" version="4.3.0" targetFramework="net46" />
5151
<package id="System.Xml.XPath" version="4.3.0" targetFramework="net46" />
5252
<package id="System.Xml.XPath.XDocument" version="4.3.0" targetFramework="net46" />
53-
<package id="xunit" version="2.2.0-beta4-build3444" targetFramework="net452" />
53+
<package id="xunit" version="2.3.0-beta3-build3705" targetFramework="net46" />
5454
<package id="xunit.abstractions" version="2.0.1" targetFramework="net452" />
55-
<package id="xunit.assert" version="2.2.0-beta4-build3444" targetFramework="net452" />
56-
<package id="xunit.core" version="2.2.0-beta4-build3444" targetFramework="net452" />
57-
<package id="xunit.extensibility.core" version="2.2.0-beta4-build3444" targetFramework="net452" />
58-
<package id="xunit.extensibility.execution" version="2.2.0-beta4-build3444" targetFramework="net452" />
59-
<package id="xunit.runner.visualstudio" version="2.3.0-beta1-build1309" targetFramework="net452" developmentDependency="true" />
55+
<package id="xunit.analyzers" version="0.5.0" targetFramework="net46" />
56+
<package id="xunit.assert" version="2.3.0-beta3-build3705" targetFramework="net46" />
57+
<package id="xunit.core" version="2.3.0-beta3-build3705" targetFramework="net46" />
58+
<package id="xunit.extensibility.core" version="2.3.0-beta3-build3705" targetFramework="net46" />
59+
<package id="xunit.extensibility.execution" version="2.3.0-beta3-build3705" targetFramework="net46" />
60+
<package id="xunit.runner.visualstudio" version="2.3.0-beta3-build3705" targetFramework="net46" developmentDependency="true" />
6061
</packages>

StyleCop.Analyzers/StyleCop.Analyzers.Test/LightJson/JsonValueTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public void TestConversionOperators()
209209
{
210210
// (JsonValue)(DateTime?)
211211
DateTime time = DateTime.Now;
212-
Assert.NotNull((JsonValue)time);
212+
Assert.NotEqual((JsonValue)time, JsonValue.Null);
213213
Assert.Equal(time.ToString("o"), ((JsonValue)time).AsString);
214214
Assert.Equal(JsonValue.Null, (JsonValue)default(DateTime?));
215215

StyleCop.Analyzers/StyleCop.Analyzers.Test/LightJson/Serialization/JsonReaderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class JsonReaderTests
1515
public void TestKeyMatchesPreviousValue()
1616
{
1717
var jsonObject = JsonValue.Parse("{ \"x\": \"value\", \"value\": \"value\" }");
18-
Assert.NotNull(jsonObject);
18+
Assert.NotEqual(jsonObject, JsonValue.Null);
1919
Assert.Equal("value", jsonObject["x"].AsString);
2020
Assert.Equal("value", jsonObject["value"].AsString);
2121
Assert.Equal(jsonObject["x"], jsonObject["value"]);

StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SeparatedSyntaxListWrapperTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void TestBasicProperties()
2424

2525
if (list.UnderlyingList != null)
2626
{
27-
Assert.IsAssignableFrom(typeof(SeparatedSyntaxList<SyntaxNode>), list.UnderlyingList);
27+
Assert.IsAssignableFrom<SeparatedSyntaxList<SyntaxNode>>(list.UnderlyingList);
2828
var underlyingList = (SeparatedSyntaxList<SyntaxNode>)list.UnderlyingList;
2929
Assert.Equal(0, list.Count);
3030
}

StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/DebugMessagesUnitTestsBase.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ protected abstract IEnumerable<string> InitialArguments
3030
[Fact]
3131
public async Task TestConstantMessage_Field_PassAsync()
3232
{
33-
await this.TestConstantMessage_Field_PassAsync("\" foo \"").ConfigureAwait(false);
33+
await this.TestConstantMessage_Field_PassExecuterAsync("\" foo \"").ConfigureAwait(false);
3434
}
3535

3636
[Fact]
3737
public async Task TestConstantMessage_Field_PassExpressionAsync()
3838
{
39-
await this.TestConstantMessage_Field_PassAsync("\" \" + \"foo\" + \" \"").ConfigureAwait(false);
39+
await this.TestConstantMessage_Field_PassExecuterAsync("\" \" + \"foo\" + \" \"").ConfigureAwait(false);
4040
}
4141

4242
[Fact]
@@ -54,19 +54,19 @@ public async Task TestConstantMessage_Field_PassWrongTypeAsync()
5454
},
5555
};
5656

57-
await this.TestConstantMessage_Field_PassAsync("3", expected).ConfigureAwait(false);
57+
await this.TestConstantMessage_Field_PassExecuterAsync("3", expected).ConfigureAwait(false);
5858
}
5959

6060
[Fact]
6161
public async Task TestConstantMessage_Local_PassAsync()
6262
{
63-
await this.TestConstantMessage_Local_PassAsync("\" foo \"").ConfigureAwait(false);
63+
await this.TestConstantMessage_Local_PassExecuterAsync("\" foo \"").ConfigureAwait(false);
6464
}
6565

6666
[Fact]
6767
public async Task TestConstantMessage_Local_PassExpressionAsync()
6868
{
69-
await this.TestConstantMessage_Local_PassAsync("\" \" + \"foo\" + \" \"").ConfigureAwait(false);
69+
await this.TestConstantMessage_Local_PassExecuterAsync("\" \" + \"foo\" + \" \"").ConfigureAwait(false);
7070
}
7171

7272
[Fact]
@@ -84,19 +84,19 @@ public async Task TestConstantMessage_Local_PassWrongTypeAsync()
8484
},
8585
};
8686

87-
await this.TestConstantMessage_Local_PassAsync("3", expected).ConfigureAwait(false);
87+
await this.TestConstantMessage_Local_PassExecuterAsync("3", expected).ConfigureAwait(false);
8888
}
8989

9090
[Fact]
9191
public async Task TestConstantMessage_Inline_PassAsync()
9292
{
93-
await this.TestConstantMessage_Inline_PassAsync("\" foo \"").ConfigureAwait(false);
93+
await this.TestConstantMessage_Inline_PassExecuterAsync("\" foo \"").ConfigureAwait(false);
9494
}
9595

9696
[Fact]
9797
public async Task TestConstantMessage_Inline_PassExpressionAsync()
9898
{
99-
await this.TestConstantMessage_Inline_PassAsync("\" \" + \"foo\" + \" \"").ConfigureAwait(false);
99+
await this.TestConstantMessage_Inline_PassExecuterAsync("\" \" + \"foo\" + \" \"").ConfigureAwait(false);
100100
}
101101

102102
[Fact]
@@ -114,7 +114,7 @@ public async Task TestConstantMessage_Inline_PassWrongTypeAsync()
114114
},
115115
};
116116

117-
await this.TestConstantMessage_Inline_PassAsync("3", expected).ConfigureAwait(false);
117+
await this.TestConstantMessage_Inline_PassExecuterAsync("3", expected).ConfigureAwait(false);
118118
}
119119

120120
[Fact]
@@ -315,7 +315,7 @@ protected override Solution CreateSolution(ProjectId projectId, string language)
315315
}
316316
}
317317

318-
private async Task TestConstantMessage_Field_PassAsync(string argument, params DiagnosticResult[] expected)
318+
private async Task TestConstantMessage_Field_PassExecuterAsync(string argument, params DiagnosticResult[] expected)
319319
{
320320
var testCodeFormat = @"using System.Diagnostics;
321321
public class Foo
@@ -330,7 +330,7 @@ public void Bar()
330330
await this.VerifyCSharpDiagnosticAsync(string.Format(this.BuildTestCode(testCodeFormat), argument), expected, CancellationToken.None).ConfigureAwait(false);
331331
}
332332

333-
private async Task TestConstantMessage_Local_PassAsync(string argument, params DiagnosticResult[] expected)
333+
private async Task TestConstantMessage_Local_PassExecuterAsync(string argument, params DiagnosticResult[] expected)
334334
{
335335
var testCodeFormat = @"using System.Diagnostics;
336336
public class Foo
@@ -345,7 +345,7 @@ public void Bar()
345345
await this.VerifyCSharpDiagnosticAsync(string.Format(this.BuildTestCode(testCodeFormat), argument), expected, CancellationToken.None).ConfigureAwait(false);
346346
}
347347

348-
private async Task TestConstantMessage_Inline_PassAsync(string argument, params DiagnosticResult[] expected)
348+
private async Task TestConstantMessage_Inline_PassExecuterAsync(string argument, params DiagnosticResult[] expected)
349349
{
350350
var testCodeFormat = @"using System.Diagnostics;
351351
public class Foo

StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/SA1412UnitTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ await codeFixer.RegisterCodeFixesAsync(
117117
[MemberData(nameof(NonUtf8Encodings))]
118118
public async Task TestFixAllAsync(int codepage)
119119
{
120-
await this.TestFixAllAsync(codepage, FixAllScope.Project).ConfigureAwait(false);
121-
await this.TestFixAllAsync(codepage, FixAllScope.Solution).ConfigureAwait(false);
120+
await this.TestFixAllExecuterAsync(codepage, FixAllScope.Project).ConfigureAwait(false);
121+
await this.TestFixAllExecuterAsync(codepage, FixAllScope.Solution).ConfigureAwait(false);
122122
}
123123

124124
protected override IEnumerable<DiagnosticAnalyzer> GetCSharpDiagnosticAnalyzers()
@@ -152,7 +152,7 @@ protected override Project CreateProjectImpl(string[] sources, string language,
152152
return solution.GetProject(projectId);
153153
}
154154

155-
private async Task TestFixAllAsync(int codepage, FixAllScope scope)
155+
private async Task TestFixAllExecuterAsync(int codepage, FixAllScope scope)
156156
{
157157
string[] testCode = new[] { "class Foo { }", "class Bar { }" };
158158

0 commit comments

Comments
 (0)