Unverified Commit 006fe41a authored by Vinicius Jarina's avatar Vinicius Jarina Committed by GitHub
Browse files

Add .NET Core tests. (#272)

parent 0432ec93
......@@ -35,6 +35,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NLuaTest.XamarinTVOS", "tes
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NLuaTest.Shared.Scripts", "tests\src\NLuaTest.Shared.Scripts.shproj", "{9E2A0BC0-5C10-4A85-9CA1-2BEB751128B7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NLuaTest.Core", "tests\build\netcore\NLuaTest.Core.csproj", "{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
tests\src\NLuaTest.Shared.projitems*{20225b34-18f0-477b-ae89-1c95b788c55d}*SharedItemsImports = 4
......@@ -176,6 +178,16 @@ Global
{73AA14F8-8A24-4011-8030-3FB3248044C3}.ReleaseCore|Any CPU.ActiveCfg = Release|iPhoneSimulator
{73AA14F8-8A24-4011-8030-3FB3248044C3}.ReleaseMac|Any CPU.ActiveCfg = Release|iPhoneSimulator
{73AA14F8-8A24-4011-8030-3FB3248044C3}.ReleaseMac|Any CPU.Build.0 = Release|iPhoneSimulator
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.DebugAndroid|Any CPU.ActiveCfg = Debug|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.DebugCore|Any CPU.ActiveCfg = Debug|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.DebugCore|Any CPU.Build.0 = Debug|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.DebugMac|Any CPU.ActiveCfg = Debug|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.ReleaseAndroid|Any CPU.ActiveCfg = Release|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.ReleaseCore|Any CPU.ActiveCfg = Release|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.ReleaseCore|Any CPU.Build.0 = Release|Any CPU
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC}.ReleaseMac|Any CPU.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......@@ -195,6 +207,7 @@ Global
{20AE709C-FB97-48E3-89B0-A34A5C3DA1DB} = {BDBA9844-3BD3-436C-AB8A-8E78C810A710}
{73AA14F8-8A24-4011-8030-3FB3248044C3} = {BDBA9844-3BD3-436C-AB8A-8E78C810A710}
{9E2A0BC0-5C10-4A85-9CA1-2BEB751128B7} = {BDBA9844-3BD3-436C-AB8A-8E78C810A710}
{C3B8FC88-E476-4D34-874E-A0FE67FA0CBC} = {BDBA9844-3BD3-436C-AB8A-8E78C810A710}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4720E610-698B-48DD-BBD7-03AC99E9BC90}
......
......@@ -12,6 +12,7 @@
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<IsPackable>false</IsPackable>
<AssemblyName>NLuaTest</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
......@@ -24,76 +25,16 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.DotMemoryUnit" Version="3.0.20171219.105559" />
<PackageReference Include="KeraLua" Version="1.0.4" />
<PackageReference Include="nunit" Version="3.11.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.11.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\Properties\AssemblyInfo.cs" />
<Compile Include="..\..\Tests\Core.cs" />
<Compile Include="..\..\Tests\Interop.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\LuaTests\core\bisect.lua" Link="LuaTests\core\bisect.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\cf.lua" Link="LuaTests\core\cf.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\factorial.lua" Link="LuaTests\core\factorial.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\fib.lua" Link="LuaTests\core\fib.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\fibfor.lua" Link="LuaTests\core\fibfor.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\life.lua" Link="LuaTests\core\life.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\printf.lua" Link="LuaTests\core\printf.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\sieve.lua" Link="LuaTests\core\sieve.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\core\sort.lua" Link="LuaTests\core\sort.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\scripts\foo.lua">
<Link>foo.lua</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\scripts\main.lua">
<Link>main.lua</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\LuaTests\scripts\module1.lua">
<Link>module1.lua</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\..\runtimes\win-x64\native\lua53.dll" Condition="'$(Os)'=='Windows_NT'">
<Link>lua53.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\..\runtimes\osx\native\liblua53.dylib" Condition="'$(OS)'=='Unix' and Exists('/usr/lib/libc.dylib')">
<Link>liblua53.dylib</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\..\runtimes\linux-x64\native\liblua53.so" Condition="'$(OS)'=='Unix' and !Exists('/usr/lib/libc.dylib')">
<Link>liblua53.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="LuaTests\core\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\build\netcore\NLua.NetCore.csproj" />
</ItemGroup>
<Import Project="..\..\src\NLuaTest.Shared.projitems" Label="Shared" />
<Import Project="..\..\src\NLuaTest.Shared.Scripts.projitems" Label="Shared" />
</Project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment