|
|
@ -1,6 +1,5 @@
|
|
|
|
using FluentAssertions;
|
|
|
|
using FluentAssertions;
|
|
|
|
using NUnit.Framework;
|
|
|
|
using NUnit.Framework;
|
|
|
|
using NzbDrone.Core.Parser;
|
|
|
|
|
|
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Test.ParserTests
|
|
|
|
namespace NzbDrone.Core.Test.ParserTests
|
|
|
@ -23,6 +22,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|
|
|
[TestCase("Eureka S 01 720p WEB DL DD 5 1 h264 TjHD", "Eureka", 1)]
|
|
|
|
[TestCase("Eureka S 01 720p WEB DL DD 5 1 h264 TjHD", "Eureka", 1)]
|
|
|
|
[TestCase("Doctor Who Confidential Season 3", "Doctor Who Confidential", 3)]
|
|
|
|
[TestCase("Doctor Who Confidential Season 3", "Doctor Who Confidential", 3)]
|
|
|
|
[TestCase("Fleming.S01.720p.WEBDL.DD5.1.H.264-NTb", "Fleming", 1)]
|
|
|
|
[TestCase("Fleming.S01.720p.WEBDL.DD5.1.H.264-NTb", "Fleming", 1)]
|
|
|
|
|
|
|
|
[TestCase("Holmes.Makes.It.Right.S02.720p.HDTV.AAC5.1.x265-NOGRP", "Holmes Makes It Right", 2)]
|
|
|
|
public void should_parse_full_season_release(string postTitle, string title, int season)
|
|
|
|
public void should_parse_full_season_release(string postTitle, string title, int season)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var result = Parser.Parser.ParseTitle(postTitle);
|
|
|
|
var result = Parser.Parser.ParseTitle(postTitle);
|
|
|
|