|
|
@ -35,8 +35,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|
|
|
[TestCase("Series Title (1955) - 1954-01-23 05 00 00 - Cottage for Sale.ts", "Series Title (1955)", 1954, 1, 23)]
|
|
|
|
[TestCase("Series Title (1955) - 1954-01-23 05 00 00 - Cottage for Sale.ts", "Series Title (1955)", 1954, 1, 23)]
|
|
|
|
[TestCase("Series Title - 30-04-2024 HDTV 1080p H264 AAC", "Series Title", 2024, 4, 30)]
|
|
|
|
[TestCase("Series Title - 30-04-2024 HDTV 1080p H264 AAC", "Series Title", 2024, 4, 30)]
|
|
|
|
[TestCase("Series On TitleClub E76 2024 08 08 1080p WEB H264-RnB96 [TJET]", "Series On TitleClub", 2024, 8, 8)]
|
|
|
|
[TestCase("Series On TitleClub E76 2024 08 08 1080p WEB H264-RnB96 [TJET]", "Series On TitleClub", 2024, 8, 8)]
|
|
|
|
|
|
|
|
[TestCase("Series.Title.13.02.2025.1080i.HDTV.MPA2.0.H.264", "Series Title", 2025, 2, 13)]
|
|
|
|
// [TestCase("", "", 0, 0, 0)]
|
|
|
|
|
|
|
|
public void should_parse_daily_episode(string postTitle, string title, int year, int month, int day)
|
|
|
|
public void should_parse_daily_episode(string postTitle, string title, int year, int month, int day)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var result = Parser.Parser.ParseTitle(postTitle);
|
|
|
|
var result = Parser.Parser.ParseTitle(postTitle);
|
|
|
@ -104,8 +103,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[TestCase("Tmc - Quotidien - 05-06-2024 HDTV 1080p H264 AAC")]
|
|
|
|
[TestCase("Tmc - Quotidien - 05-06-2024 HDTV 1080p H264 AAC")]
|
|
|
|
|
|
|
|
[TestCase("Series.Title.12.02.2025.1080i.HDTV.MPA2.0.H.264")]
|
|
|
|
// [TestCase("", "", 0, 0, 0)]
|
|
|
|
|
|
|
|
public void should_not_parse_ambiguous_daily_episode(string postTitle)
|
|
|
|
public void should_not_parse_ambiguous_daily_episode(string postTitle)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Parser.Parser.ParseTitle(postTitle).Should().BeNull();
|
|
|
|
Parser.Parser.ParseTitle(postTitle).Should().BeNull();
|
|
|
|