|
|
@ -99,6 +99,7 @@ namespace NzbDrone.Core.Test
|
|
|
|
[TestCase("S07E23 .avi ", QualityTypes.SDTV)]
|
|
|
|
[TestCase("S07E23 .avi ", QualityTypes.SDTV)]
|
|
|
|
[TestCase("WEEDS.S03E01-06.DUAL.XviD.Bluray.AC3.-HELLYWOOD.avi", QualityTypes.DVD)]
|
|
|
|
[TestCase("WEEDS.S03E01-06.DUAL.XviD.Bluray.AC3.-HELLYWOOD.avi", QualityTypes.DVD)]
|
|
|
|
[TestCase("WEEDS.S03E01-06.DUAL.Bluray.AC3.-HELLYWOOD.avi", QualityTypes.Bluray720p)]
|
|
|
|
[TestCase("WEEDS.S03E01-06.DUAL.Bluray.AC3.-HELLYWOOD.avi", QualityTypes.Bluray720p)]
|
|
|
|
|
|
|
|
[TestCase("The Voice S01E11 The Finals 1080i HDTV DD5.1 MPEG2-TrollHD", QualityTypes.Unknown)]
|
|
|
|
public void quality_parse(string postTitle, object quality)
|
|
|
|
public void quality_parse(string postTitle, object quality)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var result = Parser.ParseQuality(postTitle);
|
|
|
|
var result = Parser.ParseQuality(postTitle);
|
|
|
|