split test project

pull/59/head
theKBro 3 years ago
parent a71e2b7d88
commit cb02acc1b2
  1. 84
      LightweightIocContainer.Validation/LightweightIocContainer.Validation.csproj
  2. 1
      LightweightIocContainer.Validation/Properties/AssemblyInfo.cs
  3. 6
      LightweightIocContainer.sln
  4. 8
      LightweightIocContainer/LightweightIocContainer.csproj
  5. 5
      LightweightIocContainer/Properties/AssemblyInfo.cs
  6. 0
      Test.LightweightIocContainer.Validation/IocValidatorTest.cs
  7. 26
      Test.LightweightIocContainer.Validation/Test.LightweightIocContainer.Validation.csproj
  8. 1
      Test.LightweightIocContainer/Test.LightweightIocContainer.csproj

@ -1,46 +1,46 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Authors>SimonG</Authors> <Authors>SimonG</Authors>
<Copyright>Copyright(c) 2022 SimonG. All Rights Reserved.</Copyright> <Copyright>Copyright(c) 2022 SimonG. All Rights Reserved.</Copyright>
<Description>A lightweight IOC Container Validator.</Description> <Description>A lightweight IOC Container Validator.</Description>
<RepositoryUrl>https://github.com/SimonG96/LightweightIocContainer</RepositoryUrl> <RepositoryUrl>https://github.com/SimonG96/LightweightIocContainer</RepositoryUrl>
<LangVersion>default</LangVersion> <LangVersion>default</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<DocumentationFile>LightweightIocContainer.Validation.xml</DocumentationFile> <DocumentationFile>LightweightIocContainer.Validation.xml</DocumentationFile>
<VersionPrefix>4.0.0</VersionPrefix> <VersionPrefix>4.0.0</VersionPrefix>
<VersionSuffix>beta4</VersionSuffix> <VersionSuffix>beta5</VersionSuffix>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/SimonG96/LightweightIocContainer</PackageProjectUrl> <PackageProjectUrl>https://github.com/SimonG96/LightweightIocContainer</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile> <PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols> <IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat> <SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1"> <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Moq" Version="4.18.2" /> <PackageReference Include="Moq" Version="4.18.2" />
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" /> <PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="README.md" Pack="true" PackagePath="" /> <Content Include="README.md" Pack="true" PackagePath="" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="Exists('..\LightweightIocContainer\LightweightIocContainer.csproj')"> <ItemGroup Condition="Exists('..\LightweightIocContainer\LightweightIocContainer.csproj')">
<ProjectReference Include="..\LightweightIocContainer\LightweightIocContainer.csproj" /> <ProjectReference Include="..\LightweightIocContainer\LightweightIocContainer.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="!Exists('..\LightweightIocContainer\LightweightIocContainer.csproj')"> <ItemGroup Condition="!Exists('..\LightweightIocContainer\LightweightIocContainer.csproj')">
<PackageReference Include="LightweightIocContainer" Version="$(Version)" /> <PackageReference Include="LightweightIocContainer" Version="$(Version)" />
</ItemGroup> </ItemGroup>
</Project> </Project>

@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.LightweightIocContaine
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LightweightIocContainer.Validation", "LightweightIocContainer.Validation\LightweightIocContainer.Validation.csproj", "{B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LightweightIocContainer.Validation", "LightweightIocContainer.Validation\LightweightIocContainer.Validation.csproj", "{B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.LightweightIocContainer.Validation", "Test.LightweightIocContainer.Validation\Test.LightweightIocContainer.Validation.csproj", "{82818CE7-6219-4A2E-A506-3AE09A00578C}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -27,6 +29,10 @@ Global
{B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}.Debug|Any CPU.Build.0 = Debug|Any CPU {B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}.Release|Any CPU.ActiveCfg = Release|Any CPU {B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}.Release|Any CPU.Build.0 = Release|Any CPU {B3212FDE-BAC1-40AD-ABEE-DBB12A93D275}.Release|Any CPU.Build.0 = Release|Any CPU
{82818CE7-6219-4A2E-A506-3AE09A00578C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{82818CE7-6219-4A2E-A506-3AE09A00578C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{82818CE7-6219-4A2E-A506-3AE09A00578C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{82818CE7-6219-4A2E-A506-3AE09A00578C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

@ -11,7 +11,7 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<DocumentationFile>LightweightIocContainer.xml</DocumentationFile> <DocumentationFile>LightweightIocContainer.xml</DocumentationFile>
<VersionPrefix>4.0.0</VersionPrefix> <VersionPrefix>4.0.0</VersionPrefix>
<VersionSuffix>beta4</VersionSuffix> <VersionSuffix>beta5</VersionSuffix>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
@ -23,12 +23,6 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat> <SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>LightweightIocContainer.Validation</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1"> <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>

@ -4,4 +4,7 @@
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("Test.LightweightIocContainer")] [assembly:InternalsVisibleTo("LightweightIocContainer.Validation")]
[assembly:InternalsVisibleTo("Test.LightweightIocContainer")]
[assembly:InternalsVisibleTo("Test.LightweightIocContainer.Validation")]

@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
<Authors>SimonG</Authors>
<LangVersion>default</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1" />
<PackageReference Include="Moq" Version="4.18.2" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LightweightIocContainer.Validation\LightweightIocContainer.Validation.csproj" />
</ItemGroup>
</Project>

@ -21,7 +21,6 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\LightweightIocContainer\LightweightIocContainer.csproj" /> <ProjectReference Include="..\LightweightIocContainer\LightweightIocContainer.csproj" />
<ProjectReference Include="..\LightweightIocContainer.Validation\LightweightIocContainer.Validation.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>
Loading…
Cancel
Save