|
|
@ -67,6 +67,8 @@ namespace NzbDrone.Core.Test
|
|
|
|
[TestCase("castle.2009.416.hdtv-lol", "Castle 2009", 4, 16)]
|
|
|
|
[TestCase("castle.2009.416.hdtv-lol", "Castle 2009", 4, 16)]
|
|
|
|
[TestCase("hawaii.five-0.2010.217.hdtv-lol", "Hawaii Five-0 (2010)", 2, 17)]
|
|
|
|
[TestCase("hawaii.five-0.2010.217.hdtv-lol", "Hawaii Five-0 (2010)", 2, 17)]
|
|
|
|
[TestCase("Looney Tunes - S1936E18 - I Love to Singa", "Looney Tunes", 1936, 18)]
|
|
|
|
[TestCase("Looney Tunes - S1936E18 - I Love to Singa", "Looney Tunes", 1936, 18)]
|
|
|
|
|
|
|
|
[TestCase("American_Dad!_-_7x6_-_The_Scarlett_Getter_[SDTV]", "American Dad!", 7, 6)]
|
|
|
|
|
|
|
|
[TestCase("Falling_Skies_-_1x1_-_Live_and_Learn_[HDTV]", "Falling Skies", 1, 1)]
|
|
|
|
public void ParseTitle_single(string postTitle, string title, int seasonNumber, int episodeNumber)
|
|
|
|
public void ParseTitle_single(string postTitle, string title, int seasonNumber, int episodeNumber)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var result = Parser.ParseTitle(postTitle);
|
|
|
|
var result = Parser.ParseTitle(postTitle);
|
|
|
|