Skip to content

Commit

Permalink
#21 moved space tests to a separate project
Browse files Browse the repository at this point in the history
  • Loading branch information
sipakov committed May 25, 2023
1 parent f73b3c0 commit 445ef00
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.4.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AlgoTecture.Data.Persistence\AlgoTecture.Data.Persistence.csproj" />
<ProjectReference Include="..\AlgoTecture.Libraries.Reservations\AlgoTecture.Libraries.Reservations.csproj" />
<ProjectReference Include="..\AlgoTecture.Libraries.Spaces\AlgoTecture.Libraries.Spaces.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.4.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AlgoTecture.Libraries.Spaces\AlgoTecture.Libraries.Spaces.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Newtonsoft.Json;
using NUnit.Framework;

namespace AlgoTecture.Libraries.Reservations.Tests.Serialization;
namespace AlgoTecture.Libraries.Spaces.Tests.Serialization;

public class ClassToJsonSerializationTests
{
Expand Down
7 changes: 7 additions & 0 deletions AlgoTecture.sln
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AlgoTecture.Common", "AlgoT
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AlgoTecture.WebApi.QrCode", "AlgoTecture.WebApi.QrCode\AlgoTecture.WebApi.QrCode.csproj", "{7D6C8FF7-A8C4-48BE-BB41-AEBD3D30406C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AlgoTecture.Libraries.Spaces.Tests", "AlgoTecture.Libraries.Spaces.Tests\AlgoTecture.Libraries.Spaces.Tests.csproj", "{998D3762-0AF4-4ABF-807A-ED210BB6D1DF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -122,6 +124,10 @@ Global
{7D6C8FF7-A8C4-48BE-BB41-AEBD3D30406C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7D6C8FF7-A8C4-48BE-BB41-AEBD3D30406C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7D6C8FF7-A8C4-48BE-BB41-AEBD3D30406C}.Release|Any CPU.Build.0 = Release|Any CPU
{998D3762-0AF4-4ABF-807A-ED210BB6D1DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{998D3762-0AF4-4ABF-807A-ED210BB6D1DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{998D3762-0AF4-4ABF-807A-ED210BB6D1DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{998D3762-0AF4-4ABF-807A-ED210BB6D1DF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{FF969273-58F3-4C80-9C93-FB5C456C9BC2} = {680AD23C-CA3D-45C9-8EDC-27DBA0813A05}
Expand All @@ -137,5 +143,6 @@ Global
{6ECA29B2-5C36-4B88-99D7-21B0B0D9B3FA} = {680AD23C-CA3D-45C9-8EDC-27DBA0813A05}
{E362C37C-9C24-46B5-BEA0-1EAD2F3A8535} = {680AD23C-CA3D-45C9-8EDC-27DBA0813A05}
{1EC8134E-12A2-4EEB-83F7-A128164E15E7} = {DE18D2EC-8796-45EC-84C3-EA8D7A0E27C4}
{998D3762-0AF4-4ABF-807A-ED210BB6D1DF} = {DE18D2EC-8796-45EC-84C3-EA8D7A0E27C4}
EndGlobalSection
EndGlobal
1 change: 1 addition & 0 deletions AlgoTecture.sln.DotSettings.user
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
&lt;TestAncestor&gt;&#xD;
&lt;TestId&gt;NUnit3x::1EC8134E-12A2-4EEB-83F7-A128164E15E7::net6.0::AlgoTecture.Libraries.Reservations.Tests.ReservationTests&lt;/TestId&gt;&#xD;
&lt;TestId&gt;NUnit3x::1EC8134E-12A2-4EEB-83F7-A128164E15E7::net6.0::AlgoTecture.Libraries.Reservations.Tests.Serialization.ClassToJsonSerializationTests.ConversationClassToJsonSimpleTest&lt;/TestId&gt;&#xD;
&lt;TestId&gt;NUnit3x::998D3762-0AF4-4ABF-807A-ED210BB6D1DF::net6.0::AlgoTecture.Libraries.Spaces.Tests.Serialization.ClassToJsonSerializationTests.ConversationClassToJsonSimpleTest&lt;/TestId&gt;&#xD;
&lt;/TestAncestor&gt;&#xD;
&lt;/SessionState&gt;</s:String>

Expand Down

0 comments on commit 445ef00

Please sign in to comment.