diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-01-04 17:59:30 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-01-04 17:59:30 +0100 |
| commit | 71ebe220f0904548206f23ec8c83400cb20b9519 (patch) | |
| tree | f4a45860cb911a9ba15d053eda12fc4e51ca05dc /tests/Jellyfin.Naming.Tests/TV/EpisodeWithoutSeasonTests.cs | |
| parent | c6a1dcf420dfbb4bef80b1267fe26035e67f9a6d (diff) | |
Speed up Jellyfin.Naming.Tests
In my limited testing this saves ~4 seconds, from 19 to 15 seconds (in
Xunit itself)
Diffstat (limited to 'tests/Jellyfin.Naming.Tests/TV/EpisodeWithoutSeasonTests.cs')
| -rw-r--r-- | tests/Jellyfin.Naming.Tests/TV/EpisodeWithoutSeasonTests.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/Jellyfin.Naming.Tests/TV/EpisodeWithoutSeasonTests.cs b/tests/Jellyfin.Naming.Tests/TV/EpisodeWithoutSeasonTests.cs deleted file mode 100644 index d0418a49e..000000000 --- a/tests/Jellyfin.Naming.Tests/TV/EpisodeWithoutSeasonTests.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Emby.Naming.Common; -using Emby.Naming.TV; -using Xunit; - -namespace Jellyfin.Naming.Tests.TV -{ - public class EpisodeWithoutSeasonTests - { - // TODO: [Theory] - // TODO: [InlineData(@"/server/anything_ep02.mp4", "anything", null, 2)] - // TODO: [InlineData(@"/server/anything_ep_02.mp4", "anything", null, 2)] - // TODO: [InlineData(@"/server/anything_part.II.mp4", "anything", null, null)] - // TODO: [InlineData(@"/server/anything_pt.II.mp4", "anything", null, null)] - // TODO: [InlineData(@"/server/anything_pt_II.mp4", "anything", null, null)] - public void Test(string path, string seriesName, int? seasonNumber, int? episodeNumber) - { - var options = new NamingOptions(); - - var result = new EpisodeResolver(options) - .Resolve(path, false); - - Assert.Equal(seasonNumber, result?.SeasonNumber); - Assert.Equal(episodeNumber, result?.EpisodeNumber); - Assert.Equal(seriesName, result?.SeriesName, ignoreCase: true); - } - } -} |
