Added unit test project placeholder.

This commit is contained in:
Eugene Wang 2018-11-25 22:03:47 -05:00
parent fe6b55bb72
commit 2fb153fa59
3 changed files with 39 additions and 0 deletions

View File

@ -20,6 +20,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetCoreConsole", "samples\N
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetFXConsole", "samples\NetFXConsole\NetFXConsole.csproj", "{30C684E3-7C3E-4579-9E81-6E66236C253D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NTwain.UnitTests", "tests\NTwain.UnitTests\NTwain.UnitTests.csproj", "{EEAA7EA9-AEBE-42AB-BA68-4556DD33B432}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -38,6 +40,10 @@ Global
{30C684E3-7C3E-4579-9E81-6E66236C253D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{30C684E3-7C3E-4579-9E81-6E66236C253D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{30C684E3-7C3E-4579-9E81-6E66236C253D}.Release|Any CPU.Build.0 = Release|Any CPU
{EEAA7EA9-AEBE-42AB-BA68-4556DD33B432}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EEAA7EA9-AEBE-42AB-BA68-4556DD33B432}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EEAA7EA9-AEBE-42AB-BA68-4556DD33B432}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EEAA7EA9-AEBE-42AB-BA68-4556DD33B432}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\NTwain\NTwain.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,14 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NTwain.UnitTests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
Assert.Fail("Placeholder for now.");
}
}
}