Skip to content

Commit b7677bf

Browse files
committed
chore: cleanup xunit namespaces with implicit using
1 parent 7a31c2a commit b7677bf

File tree

108 files changed

+97
-183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+97
-183
lines changed

tests/BenchmarkDotNet.Analyzers.Tests/AnalyzerTests/Attributes/BenchmarkCancellationAttributeAnalyzerTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using BenchmarkDotNet.Analyzers.Attributes;
22
using BenchmarkDotNet.Analyzers.Tests.Fixtures;
3-
using Xunit;
43

54
namespace BenchmarkDotNet.Analyzers.Tests.AnalyzerTests.Attributes;
65

tests/BenchmarkDotNet.Analyzers.Tests/AnalyzerTests/General/AsyncBenchmarkAnalyzerTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using BenchmarkDotNet.Analyzers.General;
22
using BenchmarkDotNet.Analyzers.Tests.Fixtures;
3-
using Xunit;
43

54
namespace BenchmarkDotNet.Analyzers.Tests.AnalyzerTests.General;
65

tests/BenchmarkDotNet.Analyzers.Tests/BenchmarkDotNet.Analyzers.Tests.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
99
<SuppressTfmSupportBuildErrors>true</SuppressTfmSupportBuildErrors>
1010
<NoWarn>$(NoWarn);CS1591</NoWarn>
11-
</PropertyGroup>
11+
</PropertyGroup>
12+
<ItemGroup>
13+
<Using Include="Xunit" />
14+
<Using Include="Xunit.Abstractions" />
15+
</ItemGroup>
1216
<ItemGroup>
1317
<None Remove="BenchmarkDotNet.Analyzers.Tests.csproj.DotSettings" />
1418
</ItemGroup>

tests/BenchmarkDotNet.Analyzers.Tests/CodeFixTests/AsyncBenchmarkCodeFixProviderTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using BenchmarkDotNet.Analyzers.General;
22
using BenchmarkDotNet.Analyzers.Tests.Fixtures;
33
using BenchmarkDotNet.CodeFixers;
4-
using Xunit;
54

65
namespace BenchmarkDotNet.Analyzers.Tests.CodeFixTests;
76

tests/BenchmarkDotNet.Analyzers.Tests/Fixtures/CodeFixTestFixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using Microsoft.CodeAnalysis.CSharp.Testing;
44
using Microsoft.CodeAnalysis.Diagnostics;
55
using Microsoft.CodeAnalysis.Testing;
6-
using Xunit;
76

87
namespace BenchmarkDotNet.Analyzers.Tests.Fixtures;
98

tests/BenchmarkDotNet.Exporters.Plotting.Tests/BenchmarkDotNet.Exporters.Plotting.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
66
<GenerateDocumentationFile>false</GenerateDocumentationFile>
77
</PropertyGroup>
8+
<ItemGroup>
9+
<Using Include="Xunit" />
10+
<Using Include="Xunit.Abstractions" />
11+
</ItemGroup>
812
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' ">
913
<PackageReference Include="Microsoft.NETCore.Platforms" Version="7.0.4" />
1014
</ItemGroup>

tests/BenchmarkDotNet.Exporters.Plotting.Tests/ScottPlotExporterTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using BenchmarkDotNet.Loggers;
44
using BenchmarkDotNet.Tests.Mocks;
55
using System.Diagnostics.CodeAnalysis;
6-
using Xunit.Abstractions;
76

87
namespace BenchmarkDotNet.Exporters.Plotting.Tests
98
{

tests/BenchmarkDotNet.IntegrationTests.ManualRunning.MultipleFrameworks/BenchmarkDotNet.IntegrationTests.ManualRunning.MultipleFrameworks.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
<DebugSymbols>true</DebugSymbols>
1616
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1717
</PropertyGroup>
18+
<ItemGroup>
19+
<Using Include="Xunit" />
20+
<Using Include="Xunit.Abstractions" />
21+
</ItemGroup>
1822
<ItemGroup>
1923
<Compile Include="..\BenchmarkDotNet.IntegrationTests\BenchmarkTestExecutor.cs" Link="BenchmarkTestExecutor.cs" />
2024
<Compile Include="..\BenchmarkDotNet.IntegrationTests\Xunit\MisconfiguredEnvironmentException.cs" Link="MisconfiguredEnvironmentException.cs" />

tests/BenchmarkDotNet.IntegrationTests.ManualRunning.MultipleFrameworks/MultipleFrameworksTest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
using BenchmarkDotNet.Attributes;
1+
using BenchmarkDotNet.Attributes;
22
using BenchmarkDotNet.Configs;
33
using BenchmarkDotNet.Extensions;
44
using BenchmarkDotNet.Jobs;
5-
using Xunit;
6-
using Xunit.Abstractions;
75

86
namespace BenchmarkDotNet.IntegrationTests.ManualRunning
97
{

tests/BenchmarkDotNet.IntegrationTests.ManualRunning/BenchmarkDotNet.IntegrationTests.ManualRunning.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
<DebugSymbols>true</DebugSymbols>
1313
</PropertyGroup>
1414

15+
<ItemGroup>
16+
<Using Include="Xunit" />
17+
<Using Include="Xunit.Abstractions" />
18+
</ItemGroup>
19+
1520
<PropertyGroup Condition="'$(CustomProp)'=='true'">
1621
<DefineConstants>$(DefineConstants);CUSTOM_PROP</DefineConstants>
1722
</PropertyGroup>

0 commit comments

Comments
 (0)