Skip to content

Commit d607de6

Browse files
committed
chore: move source shared files to dedicated directory
1 parent b7677bf commit d607de6

26 files changed

+14
-28
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@
2020
<Using Include="Xunit.Abstractions" />
2121
</ItemGroup>
2222
<ItemGroup>
23-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\BenchmarkTestExecutor.cs" Link="BenchmarkTestExecutor.cs" />
24-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\Xunit\MisconfiguredEnvironmentException.cs" Link="MisconfiguredEnvironmentException.cs" />
25-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\Xunit\Extensions.cs" Link="Extensions.cs" />
26-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\TestConfigs.cs" Link="TestConfigs.cs" />
27-
<Compile Include="..\BenchmarkDotNet.Tests\Loggers\OutputLogger.cs" Link="OutputLogger.cs" />
28-
<Compile Include="..\BenchmarkDotNet.Tests\XUnit\SmartAssert.cs" Link="SmartAssert.cs" />
23+
<Compile Include="..\BenchmarkDotNet.IntegrationTests\Shared\**\*.cs" Link="Shared\%(RecursiveDir)%(Filename)%(Extension)" />
24+
<Compile Include="..\BenchmarkDotNet.Tests\Shared\Loggers\OutputLogger.cs" Link="Shared\%(RecursiveDir)%(Filename)%(Extension)" />
25+
<Compile Include="..\BenchmarkDotNet.Tests\Shared\XUnit\SmartAssert.cs" Link="Shared\%(RecursiveDir)%(Filename)%(Extension)" />
2926
</ItemGroup>
3027
<ItemGroup>
3128
<PackageReference Include="Microsoft.NETCore.Platforms" Version="7.0.4" />

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@
2626
</PropertyGroup>
2727

2828
<ItemGroup>
29-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\BenchmarkTestExecutor.cs" Link="BenchmarkTestExecutor.cs" />
30-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\Xunit\MisconfiguredEnvironmentException.cs" Link="MisconfiguredEnvironmentException.cs" />
31-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\Xunit\Extensions.cs" Link="Extensions.cs" />
32-
<Compile Include="..\BenchmarkDotNet.IntegrationTests\TestConfigs.cs" Link="TestConfigs.cs" />
33-
<Compile Include="..\BenchmarkDotNet.Tests\Loggers\OutputLogger.cs" Link="OutputLogger.cs" />
34-
<Compile Include="..\BenchmarkDotNet.Tests\XUnit\*.cs" />
29+
<Compile Include="..\BenchmarkDotNet.IntegrationTests\Shared\**\*.cs" Link="Shared\%(RecursiveDir)%(Filename)%(Extension)" />
30+
<Compile Include="..\BenchmarkDotNet.Tests\Shared\Loggers\OutputLogger.cs" Link="Shared\Loggers\%(RecursiveDir)%(Filename)%(Extension)" />
31+
<Compile Include="..\BenchmarkDotNet.Tests\Shared\XUnit\**\*.cs" Link="Shared\XUnit\%(RecursiveDir)%(Filename)%(Extension)"/>
3532
</ItemGroup>
33+
3634
<ItemGroup>
3735
<Content Include="xunit.runner.json">
3836
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

tests/BenchmarkDotNet.IntegrationTests/BenchmarkDotNet.IntegrationTests.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@
3333
<ProjectReference Include="..\BenchmarkDotNet.IntegrationTests.FSharp\BenchmarkDotNet.IntegrationTests.FSharp.fsproj" />
3434
<ProjectReference Include="..\BenchmarkDotNet.IntegrationTests.VisualBasic\BenchmarkDotNet.IntegrationTests.VisualBasic.vbproj" />
3535
<ProjectReference Include="..\BenchmarkDotNet.IntegrationTests.Static\BenchmarkDotNet.IntegrationTests.Static.csproj" />
36-
<ProjectReference Include="..\BenchmarkDotNet.Tests\BenchmarkDotNet.Tests.csproj" />
3736
<ProjectReference Include="..\..\src\BenchmarkDotNet\BenchmarkDotNet.csproj" />
3837
</ItemGroup>
38+
<ItemGroup>
39+
<Compile Include="..\BenchmarkDotNet.Tests\Shared\**\*.cs" Link="Shared\%(RecursiveDir)%(Filename)%(Extension)"/>
40+
</ItemGroup>
3941
<ItemGroup>
4042
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
4143
</ItemGroup>

tests/BenchmarkDotNet.IntegrationTests/ExporterIOTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using BenchmarkDotNet.Loggers;
66
using BenchmarkDotNet.Reports;
77
using BenchmarkDotNet.Running;
8+
using BenchmarkDotNet.Tests;
89
using BenchmarkDotNet.Tests.XUnit;
910
using System.Collections.Immutable;
1011

tests/BenchmarkDotNet.IntegrationTests/BenchmarkTestExecutor.cs renamed to tests/BenchmarkDotNet.IntegrationTests/Shared/BenchmarkTestExecutor.cs

File renamed without changes.

tests/BenchmarkDotNet.IntegrationTests/Xunit/Extensions.cs renamed to tests/BenchmarkDotNet.IntegrationTests/Shared/Extensions.cs

File renamed without changes.

tests/BenchmarkDotNet.IntegrationTests/Xunit/MisconfiguredEnvironmentException.cs renamed to tests/BenchmarkDotNet.IntegrationTests/Shared/MisconfiguredEnvironmentException.cs

File renamed without changes.

tests/BenchmarkDotNet.IntegrationTests/TestConfigs.cs renamed to tests/BenchmarkDotNet.IntegrationTests/Shared/TestConfigs.cs

File renamed without changes.

tests/BenchmarkDotNet.IntegrationTests/TestCultureInfo.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

tests/BenchmarkDotNet.Tests/BenchmarkDotNet.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<ProjectReference Include="..\..\src\BenchmarkDotNet.Diagnostics.dotTrace\BenchmarkDotNet.Diagnostics.dotTrace.csproj" />
4242
<ProjectReference Include="..\..\src\BenchmarkDotNet.Diagnostics.dotMemory\BenchmarkDotNet.Diagnostics.dotMemory.csproj" />
4343
<ProjectReference Include="..\..\src\BenchmarkDotNet\BenchmarkDotNet.csproj" />
44+
</ItemGroup>
45+
<ItemGroup>
46+
4447
</ItemGroup>
4548
<ItemGroup>
4649
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />

0 commit comments

Comments
 (0)