Skip to content

Commit

Permalink
Move RazorBlade.Tests to RazorBlade.Library.Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Apr 6, 2024
1 parent c22d353 commit 4b3f702
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ItemGroup>

<ItemGroup>
<Compile Include="../RazorBlade.Tests/Support/AssertExtensions.cs" Link="Support/%(Filename)%(Extension)" />
<Compile Include="../RazorBlade.Library.Tests/Support/AssertExtensions.cs" Link="Support/%(Filename)%(Extension)" />
</ItemGroup>

<!-- netstandard2.0 -->
Expand Down
1 change: 1 addition & 0 deletions src/RazorBlade.Analyzers/RazorBlade.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<ItemGroup>
<ProjectReference Include="../RazorBlade.Library/RazorBlade.Library.csproj" PrivateAssets="all" ReferenceOutputAssembly="false" />
<AdditionalFiles Include="../RazorBlade.Library/**/*.cs" Exclude="../RazorBlade.Library/obj/**/*.cs" Role="Library" Visible="false" />
<AdditionalFiles Remove="../RazorBlade.Library/Properties/**/*.cs" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using NUnit.Framework;
using RazorBlade.Tests.Support;

namespace RazorBlade.Tests;
namespace RazorBlade.Library.Tests;

[TestFixture]
public class HtmlHelperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using NUnit.Framework;
using RazorBlade.Tests.Support;

namespace RazorBlade.Tests;
namespace RazorBlade.Library.Tests;

[TestFixture]
public class HtmlLayoutTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using NUnit.Framework;
using RazorBlade.Tests.Support;

namespace RazorBlade.Tests;
namespace RazorBlade.Library.Tests;

[TestFixture]
public class HtmlStringTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NUnit.Framework;
using RazorBlade.Tests.Support;

namespace RazorBlade.Tests;
namespace RazorBlade.Library.Tests;

[TestFixture]
public class HtmlTemplateTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NUnit.Framework;
using RazorBlade.Tests.Support;

namespace RazorBlade.Tests;
namespace RazorBlade.Library.Tests;

[TestFixture]
public class PlainTextTemplateTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="../RazorBlade/RazorBlade.csproj" />
<ProjectReference Include="../RazorBlade.Library/RazorBlade.Library.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using NUnit.Framework;
using RazorBlade.Tests.Support;

namespace RazorBlade.Tests;
namespace RazorBlade.Library.Tests;

[TestFixture]
public class RazorTemplateTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Threading;
using System.Threading.Tasks;

// ReSharper disable once CheckNamespace
namespace RazorBlade.Tests.Support;

public class StepSemaphore
Expand Down
3 changes: 3 additions & 0 deletions src/RazorBlade.Library/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("RazorBlade.Library.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5ce694e4395f7f9cc7100c366e7398e8df1fe52c62ca0ca588e91a0be53528293ec89b7cef8fa3fec3f8aa6eacee60b832737e4a97ce567b8c8045649657ba26a0873c137d8b06b246cc5713478ccc863f3e6d9ea088ec7d4a5e2945d273a8ea4cc8e4e9c349719941183b366dbdee43051eeb9e0a8c0dc426e69e40cbead9a")]
2 changes: 1 addition & 1 deletion src/RazorBlade.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{12E535CC
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorBlade.IntegrationTest", "RazorBlade.IntegrationTest\RazorBlade.IntegrationTest.csproj", "{2FE5A803-86C8-42D2-A0DB-61D156DB6EB9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorBlade.Tests", "RazorBlade.Tests\RazorBlade.Tests.csproj", "{4013CD72-9A23-4796-9C8D-1AB6B082D01E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorBlade.Library.Tests", "RazorBlade.Library.Tests\RazorBlade.Library.Tests.csproj", "{4013CD72-9A23-4796-9C8D-1AB6B082D01E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorBlade.Analyzers.Tests", "RazorBlade.Analyzers.Tests\RazorBlade.Analyzers.Tests.csproj", "{8D894247-5CD6-43CC-854A-313E50BE1644}"
EndProject
Expand Down
3 changes: 0 additions & 3 deletions src/RazorBlade/Properties/AssemblyInfo.cs

This file was deleted.

1 change: 1 addition & 0 deletions src/RazorBlade/RazorBlade.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<ItemGroup>
<ProjectReference Include="../RazorBlade.Library/RazorBlade.Library.csproj" ReferenceOutputAssembly="false" />
<Compile Include="../RazorBlade.Library/**/*.cs" Exclude="../RazorBlade.Library/obj/**/*.cs" Visible="false" />
<Compile Remove="../RazorBlade.Library/Properties/**/*.cs" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4b3f702

Please sign in to comment.