aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.sln27
-rw-r--r--tests/Jellyfin.Dlna.Test/Jellyfin.Dlna.Test.csproj19
-rw-r--r--tests/Jellyfin.Dlna.Test/UnitTest1.cs15
3 files changed, 61 insertions, 0 deletions
diff --git a/MediaBrowser.sln b/MediaBrowser.sln
index 975f4f5f7..7dbfe5694 100644
--- a/MediaBrowser.sln
+++ b/MediaBrowser.sln
@@ -68,6 +68,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BDInfo.Test", "tests\BDInfo
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DvdLib.Test", "tests\DvdLib.Test\DvdLib.Test.csproj", "{393482D5-4902-4D78-A085-D3D1DAAB35C5}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Dlna.Test", "tests\Jellyfin.Dlna.Test\Jellyfin.Dlna.Test.csproj", "{D9DDBA32-F017-4B04-A9A8-684B09792D6B}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{2AC30C72-9249-4621-967C-929ECA51D9F2}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -569,6 +573,26 @@ Global
{393482D5-4902-4D78-A085-D3D1DAAB35C5}.Release|x64.Build.0 = Release|Any CPU
{393482D5-4902-4D78-A085-D3D1DAAB35C5}.Release|x86.ActiveCfg = Release|Any CPU
{393482D5-4902-4D78-A085-D3D1DAAB35C5}.Release|x86.Build.0 = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|Win32.ActiveCfg = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|Win32.Build.0 = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|x64.Build.0 = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Debug|x86.Build.0 = Debug|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|Win32.ActiveCfg = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|Win32.Build.0 = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|x64.ActiveCfg = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|x64.Build.0 = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|x86.ActiveCfg = Release|Any CPU
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -576,4 +600,7 @@ Global
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3448830C-EBDC-426C-85CD-7BBB9651A7FE}
EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {D9DDBA32-F017-4B04-A9A8-684B09792D6B} = {2AC30C72-9249-4621-967C-929ECA51D9F2}
+ EndGlobalSection
EndGlobal
diff --git a/tests/Jellyfin.Dlna.Test/Jellyfin.Dlna.Test.csproj b/tests/Jellyfin.Dlna.Test/Jellyfin.Dlna.Test.csproj
new file mode 100644
index 000000000..d3ddc6783
--- /dev/null
+++ b/tests/Jellyfin.Dlna.Test/Jellyfin.Dlna.Test.csproj
@@ -0,0 +1,19 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <TargetFramework>netcoreapp2.1</TargetFramework>
+
+ <IsPackable>false</IsPackable>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="AutoFixture" Version="4.6.0" />
+ <PackageReference Include="AutoFixture.AutoMoq" Version="4.6.0" />
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
+ <DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
+ <PackageReference Include="Moq" Version="4.10.1" />
+ <PackageReference Include="NUnit" Version="3.11.0" />
+ <PackageReference Include="NUnit3TestAdapter" Version="3.11.2" />
+ </ItemGroup>
+
+</Project>
diff --git a/tests/Jellyfin.Dlna.Test/UnitTest1.cs b/tests/Jellyfin.Dlna.Test/UnitTest1.cs
new file mode 100644
index 000000000..13ebfc68f
--- /dev/null
+++ b/tests/Jellyfin.Dlna.Test/UnitTest1.cs
@@ -0,0 +1,15 @@
+using System;
+using NUnit.Framework;
+
+namespace Jellyfin.Dlna.Test
+{
+ [TestFixture]
+ public class UnitTest1
+ {
+ [Test]
+ public void Test1()
+ {
+ Assert.That(true, Is.True);
+ }
+ }
+} \ No newline at end of file