Skip to content

Commit 71abaeb

Browse files
committed
add UnitTest
1 parent 1522adf commit 71abaeb

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

XamlViewer.sln

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{63DB72
2020
Directory.Build.props = Directory.Build.props
2121
EndProjectSection
2222
EndProject
23+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{81A1D1BD-2F81-4240-8DEA-3BC039E1870C}"
24+
EndProject
25+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamlViewer.Tests", "tests\XamlViewer.Tests\XamlViewer.Tests.csproj", "{144389B5-ACC6-439B-B428-607E9A44E73E}"
26+
EndProject
2327
Global
2428
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2529
Debug|Any CPU = Debug|Any CPU
@@ -50,10 +54,17 @@ Global
5054
{6F539BE7-CE50-4049-B9C8-619079C245BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
5155
{6F539BE7-CE50-4049-B9C8-619079C245BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
5256
{6F539BE7-CE50-4049-B9C8-619079C245BE}.Release|Any CPU.Build.0 = Release|Any CPU
57+
{144389B5-ACC6-439B-B428-607E9A44E73E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
58+
{144389B5-ACC6-439B-B428-607E9A44E73E}.Debug|Any CPU.Build.0 = Debug|Any CPU
59+
{144389B5-ACC6-439B-B428-607E9A44E73E}.Release|Any CPU.ActiveCfg = Release|Any CPU
60+
{144389B5-ACC6-439B-B428-607E9A44E73E}.Release|Any CPU.Build.0 = Release|Any CPU
5361
EndGlobalSection
5462
GlobalSection(SolutionProperties) = preSolution
5563
HideSolutionNode = FALSE
5664
EndGlobalSection
65+
GlobalSection(NestedProjects) = preSolution
66+
{144389B5-ACC6-439B-B428-607E9A44E73E} = {81A1D1BD-2F81-4240-8DEA-3BC039E1870C}
67+
EndGlobalSection
5768
GlobalSection(ExtensibilityGlobals) = postSolution
5869
SolutionGuid = {CD078D74-C77F-46DE-AA51-B47CE7F89A8F}
5970
EndGlobalSection
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using Microsoft.VisualStudio.TestTools.UnitTesting;
2+
3+
namespace XamlViewer.Tests
4+
{
5+
[TestClass]
6+
public class UnitTest1
7+
{
8+
[TestMethod]
9+
public void TestMethod1()
10+
{
11+
}
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<IsPackable>false</IsPackable>
5+
</PropertyGroup>
6+
7+
<ItemGroup>
8+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
9+
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
10+
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
11+
<PackageReference Include="coverlet.collector" Version="1.2.0" />
12+
</ItemGroup>
13+
14+
</Project>

0 commit comments

Comments
 (0)