-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
1,745 additions
and
42,385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<ShowAllFiles>true</ShowAllFiles> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>9.0</LangVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0-windows</TargetFramework> | ||
<RootNamespace>ParseTreeVisualizer.Test</RootNamespace> | ||
<IsPackable>false</IsPackable> | ||
<UseWpf>true</UseWpf> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Antlr4" Version="4.6.6"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Antlr4.Runtime" Version="4.6.6" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="coverlet.collector" Version="3.1.0"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="ZSpitz.Util" Version="0.1.114" /> | ||
<PackageReference Include="ZSpitz.Util.Wpf" Version="0.1.114" /> | ||
|
||
<Antlr4 Include="..\Test.Shared\Grammar\SQLiteLexer.g4"> | ||
<Generator>MSBuild:Compile</Generator> | ||
<CustomToolNamespace>ParseTreeVisualizer.Test</CustomToolNamespace> | ||
<Listener>False</Listener> | ||
<Visitor>False</Visitor> | ||
</Antlr4> | ||
|
||
<Antlr4 Include="..\Test.Shared\Grammar\SQLiteParser.g4"> | ||
<Generator>MSBuild:Compile</Generator> | ||
<CustomToolNamespace>ParseTreeVisualizer.Test</CustomToolNamespace> | ||
<Listener>False</Listener> | ||
<Visitor>False</Visitor> | ||
</Antlr4> | ||
|
||
<ProjectReference Include="..\..\Legacy\Package\Legacy.Package.csproj" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\Test.Shared\Test.Shared.projitems" Label="Shared" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Xunit; | ||
|
||
namespace ParseTreeVisualizer.Test { | ||
public static class Extensions { | ||
public static TheoryData<T1, T2> ToTheoryData<T1, T2>(this IEnumerable<(T1, T2)> src) { | ||
var ret = new TheoryData<T1, T2>(); | ||
foreach (var (a, b) in src) { | ||
ret.Add(a, b); | ||
} | ||
return ret; | ||
} | ||
public static TheoryData<T1, T2, T3, T4> ToTheoryData<T1, T2, T3, T4>(this IEnumerable<(T1, T2, T3, T4)> src) { | ||
var ret = new TheoryData<T1, T2, T3, T4>(); | ||
foreach (var (a, b, c, d) in src) { | ||
ret.Add(a, b, c, d); | ||
} | ||
return ret; | ||
} | ||
} | ||
} |
File renamed without changes.
Oops, something went wrong.