aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Magee <ben@bmagee.com>2018-12-12 20:56:27 +0000
committerBen Magee <ben@bmagee.com>2018-12-12 20:56:27 +0000
commit4b888fa59e1d4069d4ceae670f3945e7fc7ae2bd (patch)
treecfc01110f8156a1ec7f23aaf1212818ef19db0fb
parentbe36c494f6f94bbef993041480acdb454ee6401b (diff)
Jellyfin.Notifications.Test project
-rw-r--r--MediaBrowser.sln23
-rw-r--r--tests/Jellyfin.Notifications.Test/Jellyfin.Notifications.Test.csproj19
-rw-r--r--tests/Jellyfin.Notifications.Test/UnitTest1.cs15
3 files changed, 57 insertions, 0 deletions
diff --git a/MediaBrowser.sln b/MediaBrowser.sln
index bf48e8951..0c709ca6d 100644
--- a/MediaBrowser.sln
+++ b/MediaBrowser.sln
@@ -80,6 +80,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Drawing.Skia.Test"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Naming.Test", "tests\Jellyfin.Naming.Test\Jellyfin.Naming.Test.csproj", "{B1577537-4675-40CA-B6F4-699E544E5238}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Notifications.Test", "tests\Jellyfin.Notifications.Test\Jellyfin.Notifications.Test.csproj", "{588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -681,6 +683,26 @@ Global
{B1577537-4675-40CA-B6F4-699E544E5238}.Release|x64.Build.0 = Release|Any CPU
{B1577537-4675-40CA-B6F4-699E544E5238}.Release|x86.ActiveCfg = Release|Any CPU
{B1577537-4675-40CA-B6F4-699E544E5238}.Release|x86.Build.0 = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|Win32.ActiveCfg = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|Win32.Build.0 = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|x64.Build.0 = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Debug|x86.Build.0 = Debug|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|Win32.ActiveCfg = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|Win32.Build.0 = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|x64.ActiveCfg = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|x64.Build.0 = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|x86.ActiveCfg = Release|Any CPU
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -696,5 +718,6 @@ Global
{D290F8B9-5C8C-4B11-82A7-E1F1615771B6} = {2AC30C72-9249-4621-967C-929ECA51D9F2}
{941A0327-CBE9-4804-BD45-49C0D4889E2D} = {2AC30C72-9249-4621-967C-929ECA51D9F2}
{B1577537-4675-40CA-B6F4-699E544E5238} = {2AC30C72-9249-4621-967C-929ECA51D9F2}
+ {588C62D7-47A4-434F-80D1-D2EA7CCEB4D8} = {2AC30C72-9249-4621-967C-929ECA51D9F2}
EndGlobalSection
EndGlobal
diff --git a/tests/Jellyfin.Notifications.Test/Jellyfin.Notifications.Test.csproj b/tests/Jellyfin.Notifications.Test/Jellyfin.Notifications.Test.csproj
new file mode 100644
index 000000000..d3ddc6783
--- /dev/null
+++ b/tests/Jellyfin.Notifications.Test/Jellyfin.Notifications.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.Notifications.Test/UnitTest1.cs b/tests/Jellyfin.Notifications.Test/UnitTest1.cs
new file mode 100644
index 000000000..80ecc4434
--- /dev/null
+++ b/tests/Jellyfin.Notifications.Test/UnitTest1.cs
@@ -0,0 +1,15 @@
+using System;
+using NUnit.Framework;
+
+namespace Jellyfin.Notifications.Test
+{
+ [TestFixture]
+ public class UnitTest1
+ {
+ [Test]
+ public void Test1()
+ {
+ Assert.That(true, Is.True);
+ }
+ }
+} \ No newline at end of file