aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Magee <ben@bmagee.com>2018-12-12 20:58:24 +0000
committerBen Magee <ben@bmagee.com>2018-12-12 20:58:24 +0000
commit96c28eadbe1d03f761e0acc022f6470a77f6e608 (patch)
treeb8d810ad03f141ff60bda39eaa3132fa30a94c05
parent4b888fa59e1d4069d4ceae670f3945e7fc7ae2bd (diff)
Jellyfin.Photos.Test project
-rw-r--r--MediaBrowser.sln23
-rw-r--r--tests/Jellyfin.Photos.Test/Jellyfin.Photos.Test.csproj19
-rw-r--r--tests/Jellyfin.Photos.Test/UnitTest1.cs15
3 files changed, 57 insertions, 0 deletions
diff --git a/MediaBrowser.sln b/MediaBrowser.sln
index 0c709ca6d..cc55ffe1b 100644
--- a/MediaBrowser.sln
+++ b/MediaBrowser.sln
@@ -82,6 +82,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Naming.Test", "tes
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Notifications.Test", "tests\Jellyfin.Notifications.Test\Jellyfin.Notifications.Test.csproj", "{588C62D7-47A4-434F-80D1-D2EA7CCEB4D8}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Photos.Test", "tests\Jellyfin.Photos.Test\Jellyfin.Photos.Test.csproj", "{DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -703,6 +705,26 @@ Global
{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
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|Win32.ActiveCfg = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|Win32.Build.0 = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|x64.Build.0 = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Debug|x86.Build.0 = Debug|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|Win32.ActiveCfg = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|Win32.Build.0 = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|x64.ActiveCfg = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|x64.Build.0 = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|x86.ActiveCfg = Release|Any CPU
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -719,5 +741,6 @@ Global
{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}
+ {DB8B7AE5-262F-4114-B8C7-0CB900BE81FA} = {2AC30C72-9249-4621-967C-929ECA51D9F2}
EndGlobalSection
EndGlobal
diff --git a/tests/Jellyfin.Photos.Test/Jellyfin.Photos.Test.csproj b/tests/Jellyfin.Photos.Test/Jellyfin.Photos.Test.csproj
new file mode 100644
index 000000000..d3ddc6783
--- /dev/null
+++ b/tests/Jellyfin.Photos.Test/Jellyfin.Photos.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.Photos.Test/UnitTest1.cs b/tests/Jellyfin.Photos.Test/UnitTest1.cs
new file mode 100644
index 000000000..56b52973e
--- /dev/null
+++ b/tests/Jellyfin.Photos.Test/UnitTest1.cs
@@ -0,0 +1,15 @@
+using System;
+using NUnit.Framework;
+
+namespace Jellyfin.Photos.Test
+{
+ [TestFixture]
+ public class UnitTest1
+ {
+ [Test]
+ public void Test1()
+ {
+ Assert.That(true, Is.True);
+ }
+ }
+} \ No newline at end of file