mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Fix QualityParser Tests
This commit is contained in:
parent
b8ce140abc
commit
a6ce314db5
@ -20,7 +20,7 @@ public void Setup()
|
|||||||
public static object[] OtherSourceQualityParserCases =
|
public static object[] OtherSourceQualityParserCases =
|
||||||
{
|
{
|
||||||
new object[] { "SD TV", Source.TV, Resolution.R480p, Modifier.NONE },
|
new object[] { "SD TV", Source.TV, Resolution.R480p, Modifier.NONE },
|
||||||
new object[] { "SD DVD", Source.DVD, Resolution.R480p, Modifier.NONE },
|
new object[] { "SD DVD", Source.DVD, Resolution.Unknown, Modifier.NONE },
|
||||||
new object[] { "480p WEB-DL", Source.WEBDL, Resolution.R480p, Modifier.NONE },
|
new object[] { "480p WEB-DL", Source.WEBDL, Resolution.R480p, Modifier.NONE },
|
||||||
new object[] { "HD TV", Source.TV, Resolution.R720p, Modifier.NONE },
|
new object[] { "HD TV", Source.TV, Resolution.R720p, Modifier.NONE },
|
||||||
new object[] { "1080p HD TV", Source.TV, Resolution.R1080p, Modifier.NONE },
|
new object[] { "1080p HD TV", Source.TV, Resolution.R1080p, Modifier.NONE },
|
||||||
@ -79,7 +79,7 @@ public void should_parse_sdtv_quality(string title, bool proper)
|
|||||||
[TestCase("SomeMovie.2018.DVDRip.ts", false)]
|
[TestCase("SomeMovie.2018.DVDRip.ts", false)]
|
||||||
public void should_parse_dvd_quality(string title, bool proper)
|
public void should_parse_dvd_quality(string title, bool proper)
|
||||||
{
|
{
|
||||||
ParseAndVerifyQuality(title, Source.DVD, proper, Resolution.R480p);
|
ParseAndVerifyQuality(title, Source.DVD, proper, Resolution.Unknown);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase("Some.Movie.Magic.Rainbow.2007.DVD5.NTSC", false)]
|
[TestCase("Some.Movie.Magic.Rainbow.2007.DVD5.NTSC", false)]
|
||||||
|
Loading…
Reference in New Issue
Block a user