Skip to content

Commit

Permalink
Structured test and main lib
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed Nov 24, 2023
1 parent ec13deb commit ccbf5ab
Show file tree
Hide file tree
Showing 14 changed files with 72 additions and 81 deletions.
24 changes: 24 additions & 0 deletions DotNetAstGen.Test/DotNetAstGen.Test.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">

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

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2"/>
<PackageReference Include="xunit" Version="2.4.2"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>
9 changes: 9 additions & 0 deletions DotNetAstGen.Test/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace DotNetAstGen.Test;

public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
1 change: 1 addition & 0 deletions DotNetAstGen.Test/Usings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using Xunit;
15 changes: 0 additions & 15 deletions DotNetAstGen.csproj

This file was deleted.

31 changes: 0 additions & 31 deletions DotNetAstGen.sln

This file was deleted.

16 changes: 16 additions & 0 deletions DotNetAstGen/DotNetAstGen.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

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

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.8.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions DotNetAstGenNew.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetAstGen", "DotNetAstGen\DotNetAstGen.csproj", "{4DB05B27-3A8B-4EBC-A9DC-F02236F6952E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetAstGen.Test", "DotNetAstGen.Test\DotNetAstGen.Test.csproj", "{D3B633F4-76F4-4D89-86F5-1B994A329D58}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4DB05B27-3A8B-4EBC-A9DC-F02236F6952E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4DB05B27-3A8B-4EBC-A9DC-F02236F6952E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DB05B27-3A8B-4EBC-A9DC-F02236F6952E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DB05B27-3A8B-4EBC-A9DC-F02236F6952E}.Release|Any CPU.Build.0 = Release|Any CPU
{D3B633F4-76F4-4D89-86F5-1B994A329D58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D3B633F4-76F4-4D89-86F5-1B994A329D58}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D3B633F4-76F4-4D89-86F5-1B994A329D58}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3B633F4-76F4-4D89-86F5-1B994A329D58}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
15 changes: 0 additions & 15 deletions test/UnitTest1.cs

This file was deleted.

1 change: 0 additions & 1 deletion test/Usings.cs

This file was deleted.

19 changes: 0 additions & 19 deletions test/test.csproj

This file was deleted.

0 comments on commit ccbf5ab

Please sign in to comment.