add todos and fixes some todo tests

This commit is contained in:
Narfinger 2020-02-23 18:46:10 +09:00
parent 4dabc50f09
commit b306b8b881

View File

@ -65,13 +65,13 @@ namespace Jellyfin.Naming.Tests.TV
[InlineData("Season 2/02.avi", 2)]
[InlineData("Season 2/2. Infestation.avi", 2)]
[InlineData("The Wonder Years/The.Wonder.Years.S04.PDTV.x264-JCH/The Wonder Years s04e07 Christmas Party NTSC PDTV.avi", 7)]
//[InlineData("Season 2/16 12 Some Title.avi", 16)]
//[InlineData("Running Man/Running Man S2017E368.mkv", 360)]
//[InlineData("/The.Legend.of.Condor.Heroes.2017.V2.web-dl.1080p.h264.aac-hdctv/The.Legend.of.Condor.Heroes.2017.E07.V2.web-dl.1080p.h264.aac-hdctv.mkv", 7)]
//[InlineData("Season 4/Uchuu.Senkan.Yamato.2199.E03.avi", 3)]
//[InlineData("Season 2/7 12 Angry Men.avi", 7)]
//[InlineData("Season 02/02x03x04x15 - Ep Name.mp4", 2)]
//[InlineData("Season 2/[HorribleSubs] Hunter X Hunter - 136 [720p].mkv", 136)]
//TODO: [InlineData("Season 2/16 12 Some Title.avi", 16)]
//TODO: [InlineData("Running Man/Running Man S2017E368.mkv", 368)]
//TODO: [InlineData("/The.Legend.of.Condor.Heroes.2017.V2.web-dl.1080p.h264.aac-hdctv/The.Legend.of.Condor.Heroes.2017.E07.V2.web-dl.1080p.h264.aac-hdctv.mkv", 7)]
//TODO: [InlineData("Season 4/Uchuu.Senkan.Yamato.2199.E03.avi", 3)]
//TODO: [InlineData("Season 2/7 12 Angry Men.avi", 7)]
//TODO: [InlineData("Season 02/02x03x04x15 - Ep Name.mp4", 2)]
//TODO: [InlineData("Season 2/[HorribleSubs] Hunter X Hunter - 136 [720p].mkv", 136)]
public void GetEpisodeNumberFromFileTest(string path, int? expected)
{
var result = new EpisodePathParser(_namingOptions)