Skip to content

Commit

Permalink
Refactoring to individual solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
frankhaugen committed Aug 7, 2023
1 parent b0ea458 commit 97c48fd
Show file tree
Hide file tree
Showing 1,479 changed files with 2,750 additions and 139,139 deletions.
8 changes: 4 additions & 4 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net7.0</TargetFramework>
<OutputType>Library</OutputType>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -19,16 +19,16 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\icon.png">
<None Include="..\..\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="Frank.Libraries.Tests"/>
<InternalsVisibleTo Include="$(AssemblyName).Tests"/>
<InternalsVisibleTo Include="Frank.Libraries.Tests.Benchmark"/>
<InternalsVisibleTo Include="Frank.Libraries.Tests.Application"/>
<InternalsVisibleTo Include="LINQPadQuery"/>
</ItemGroup>
<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using AutoFixture;
using Frank.Libraries.AutoFixture;
using Frank.Libraries.Tests.TestingInfrastructure.Models;

namespace Frank.Libraries.Tests.AutoFixture;
namespace Frank.Libraries.AutoFixture.Tests;

public class AutoFixtureTests
{
Expand All @@ -13,4 +11,12 @@ public void TestFixtureCreation()
.Build<XmlTestModel>()
.Create();
}
}

public class XmlTestModel
{
public string? Name { get; set; }
public DateTime DateOfBirth { get; set; }
public int Salary { get; set; }
public Guid Id { get; set; }
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

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

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
Expand All @@ -22,4 +18,9 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Frank.Libraries.AutoFixture\Frank.Libraries.AutoFixture.csproj"/>
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Frank.Libraries.AutoFixture", "Frank.Libraries.AutoFixture\Frank.Libraries.AutoFixture.csproj", "{6324CAD5-F28D-4AE5-AD5F-00A83B8C9F76}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Frank.Libraries.AutoFixture.Tests", "Frank.Libraries.AutoFixture.Tests\Frank.Libraries.AutoFixture.Tests.csproj", "{E80B4078-6DD9-4D53-BA8E-681A04D12727}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -18,5 +20,9 @@ Global
{6324CAD5-F28D-4AE5-AD5F-00A83B8C9F76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6324CAD5-F28D-4AE5-AD5F-00A83B8C9F76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6324CAD5-F28D-4AE5-AD5F-00A83B8C9F76}.Release|Any CPU.Build.0 = Release|Any CPU
{E80B4078-6DD9-4D53-BA8E-681A04D12727}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E80B4078-6DD9-4D53-BA8E-681A04D12727}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E80B4078-6DD9-4D53-BA8E-681A04D12727}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E80B4078-6DD9-4D53-BA8E-681A04D12727}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
<PackageReference Include="AutoFixture" Version="4.18.0" />
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

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


<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
Expand All @@ -22,4 +20,9 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Frank.Libraries.AzureServiceBus\Frank.Libraries.AzureServiceBus.csproj"/>
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0"/>
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0"/>
</ItemGroup>
<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Frank.Libraries.AzureStorage.Blob;

namespace Frank.Libraries.Tests.AzureStorage.Blobs;
namespace Frank.Libraries.AzureStorage.Tests.Blobs;

public class FakeBlobStorageClient : IBlobStorageClient
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

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


<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
Expand All @@ -22,4 +20,10 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Frank.Libraries.AzureStorage\Frank.Libraries.AzureStorage.csproj"/>
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Frank.Libraries.AzureStorage.FileShare;

namespace Frank.Libraries.Tests.AzureStorage.Share;
namespace Frank.Libraries.AzureStorage.Tests.Share;

public class FakeFileShareClient : IFileShareClient
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Text.RegularExpressions;

namespace Frank.Libraries.AzureStorage.Blob;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
<PackagePath></PackagePath>
</None>
</ItemGroup>
<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using FluentAssertions;
using Frank.Libraries.Brreg;

namespace Frank.Libraries.Tests.Brreg;
namespace Frank.Libraries.Brreg.Tests;

public class BrregClientTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

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


<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.11.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
Expand All @@ -22,4 +21,9 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Frank.Libraries.Brreg\Frank.Libraries.Brreg.csproj"/>
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
<PackageReference Include="Flurl.Http" Version="3.2.4"/>
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using FluentAssertions;
using Frank.Libraries.Calculators.BeerCalculators;

namespace Frank.Libraries.Tests.Calculators.BeerCalculators;
namespace Frank.Libraries.Calculators.Tests.BeerCalculators;

public class GravityCalculatorTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Frank.Libraries.Calculators.Types;
using Xunit.Abstractions;

namespace Frank.Libraries.Tests.Calculators.Converters;
namespace Frank.Libraries.Calculators.Tests.Converters;

public class CoordinatesConverterTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using FluentAssertions;
using Frank.Libraries.Calculators.Converters;

namespace Frank.Libraries.Tests.Calculators.Converters;
namespace Frank.Libraries.Calculators.Tests.Converters;

public class TemperatureConverterTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Xunit.Abstractions;

namespace Frank.Libraries.Tests.Calculators.EuclideanCalculators;
namespace Frank.Libraries.Calculators.Tests.EuclideanCalculators;

public class EuclideanDistanceCalculatorTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Frank.Libraries.Extensions;
using Xunit.Abstractions;

namespace Frank.Libraries.Tests.Calculators.FluentCalculation;
namespace Frank.Libraries.Calculators.Tests.FluentCalculation;

public class FluentCalculatorBasicOperationsTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Frank.Libraries.Extensions;
using Xunit.Abstractions;

namespace Frank.Libraries.Tests.Calculators.FluentCalculation;
namespace Frank.Libraries.Calculators.Tests.FluentCalculation;

public class FluentCalculatorPrimitivesConversionsTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

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


<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.11.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
Expand All @@ -22,4 +21,10 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Frank.Libraries.Extensions\Frank.Libraries.Extensions\Frank.Libraries.Extensions.csproj"/>
<ProjectReference Include="..\Frank.Libraries.Calculators\Frank.Libraries.Calculators.csproj"/>
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
<!-- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>-->
<!-- </PackageReference>-->
</ItemGroup>
<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using FluentAssertions;
using Frank.Libraries.Calculators.FluentCalculation;

namespace Frank.Libraries.Tests.FluentCalculation;
namespace Frank.Libraries.CodeGeneration.Tests.FluentCalculation;

public class FluentCalculatorBasicOperationsTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using FluentAssertions;
using Frank.Libraries.Calculators.FluentCalculation;
using Frank.Libraries.Tests.TestingInfrastructure;
using TestingInfrastructure;
using Xunit.Abstractions;

namespace Frank.Libraries.Tests.FluentCalculation;
namespace Frank.Libraries.CodeGeneration.Tests.FluentCalculation;

public class FluentCalculatorExponentialOperationsTests : TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System.Numerics;
using Frank.Libraries.Calculators.FluentCalculation;
using Frank.Libraries.Calculators.Types;
using Frank.Libraries.Tests.TestingInfrastructure;
using TestingInfrastructure;
using Xunit.Abstractions;

namespace Frank.Libraries.Tests.FluentCalculation;
namespace Frank.Libraries.CodeGeneration.Tests.FluentCalculation;

public class FluentCalculatorGeometricCalculationTests : TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using FluentAssertions;
using Frank.Libraries.Calculators.FluentCalculation;

namespace Frank.Libraries.Tests.FluentCalculation;
namespace Frank.Libraries.CodeGeneration.Tests.FluentCalculation;

public class FluentCalculatorPrimitivesConversionsTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

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


<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.11.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
Expand All @@ -22,4 +21,11 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Frank.Libraries.Calculators\Frank.Libraries.Calculators\Frank.Libraries.Calculators.csproj"/>
<ProjectReference Include="..\..\Shared\TestingInfrastructure\TestingInfrastructure.csproj"/>
<ProjectReference Include="..\Frank.Libraries.CodeGeneration\Frank.Libraries.CodeGeneration.csproj"/>
</ItemGroup>

<Import Project="..\..\Directory.Build.props" Condition="Exists('..\..\Directory.Build.props')"/>
</Project>
Loading

0 comments on commit 97c48fd

Please sign in to comment.