diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-02-23 14:14:02 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-02-23 14:14:02 +0100 |
| commit | aff0aea60fc52a2253f04749f11bcb02f6e1f67c (patch) | |
| tree | 12a92233384e739ef0e45af50cca52be035f6e44 /tests/Jellyfin.Api.Tests/TestPluginWithoutPages.cs | |
| parent | 92e5a5c6e8a81c3d604a943628fcb56f3778b042 (diff) | |
Improve branch coverage
Diffstat (limited to 'tests/Jellyfin.Api.Tests/TestPluginWithoutPages.cs')
| -rw-r--r-- | tests/Jellyfin.Api.Tests/TestPluginWithoutPages.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/Jellyfin.Api.Tests/TestPluginWithoutPages.cs b/tests/Jellyfin.Api.Tests/TestPluginWithoutPages.cs new file mode 100644 index 000000000..2d2f78a98 --- /dev/null +++ b/tests/Jellyfin.Api.Tests/TestPluginWithoutPages.cs @@ -0,0 +1,27 @@ +#pragma warning disable CS1591 + +using System; +using MediaBrowser.Common.Configuration; +using MediaBrowser.Common.Plugins; +using MediaBrowser.Model.Plugins; +using MediaBrowser.Model.Serialization; + +namespace Jellyfin.Api.Tests +{ + public class TestPluginWithoutPages : BasePlugin<BasePluginConfiguration> + { + public TestPluginWithoutPages(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer) + : base(applicationPaths, xmlSerializer) + { + Instance = this; + } + + public static TestPluginWithoutPages? Instance { get; private set; } + + public override Guid Id => new Guid("ae95cbe6-bd3d-4d73-8596-490db334611e"); + + public override string Name => nameof(TestPluginWithoutPages); + + public override string Description => "Server test Plugin without web pages."; + } +} |
