@ -102,15 +102,11 @@ namespace NzbDrone.Core.Test.ProviderTests.SabProviderTests
}
}
[TestCase(1, new[] { 2 } , "My Episode Title" , QualityTypes . DVD , false ,
[TestCase(1, new[] { 2 } , "My Episode Title" , QualityTypes . DVD , false , "My Series Name - 1x2 - My Episode Title [DVD]" ) ]
"My Series Name - 1x2 - My Episode Title [DVD]" ) ]
[TestCase(1, new[] { 2 } , "My Episode Title" , QualityTypes . DVD , true , "My Series Name - 1x2 - My Episode Title [DVD] [Proper]" ) ]
[TestCase(1, new[] { 2 } , "My Episode Title" , QualityTypes . DVD , true ,
"My Series Name - 1x2 - My Episode Title [DVD] [Proper]" ) ]
[TestCase(1, new[] { 2 } , "" , QualityTypes . DVD , true , "My Series Name - 1x2 - [DVD] [Proper]" ) ]
[TestCase(1, new[] { 2 } , "" , QualityTypes . DVD , true , "My Series Name - 1x2 - [DVD] [Proper]" ) ]
[TestCase(1, new[] { 2 , 4 } , "My Episode Title" , QualityTypes . HDTV , false ,
[TestCase(1, new[] { 2 , 4 } , "My Episode Title" , QualityTypes . HDTV , false , "My Series Name - 1x2-1x4 - My Episode Title [HDTV]" ) ]
"My Series Name - 1x2-1x4 - My Episode Title [HDTV]" ) ]
[TestCase(1, new[] { 2 , 4 } , "My Episode Title" , QualityTypes . HDTV , true , "My Series Name - 1x2-1x4 - My Episode Title [HDTV] [Proper]" ) ]
[TestCase(1, new[] { 2 , 4 } , "My Episode Title" , QualityTypes . HDTV , true ,
"My Series Name - 1x2-1x4 - My Episode Title [HDTV] [Proper]" ) ]
[TestCase(1, new[] { 2 , 4 } , "" , QualityTypes . HDTV , true , "My Series Name - 1x2-1x4 - [HDTV] [Proper]" ) ]
[TestCase(1, new[] { 2 , 4 } , "" , QualityTypes . HDTV , true , "My Series Name - 1x2-1x4 - [HDTV] [Proper]" ) ]
public void create_proper_sab_titles ( int seasons , int [ ] episodes , string title , QualityTypes quality ,
public void create_proper_sab_titles ( int seasons , int [ ] episodes , string title , QualityTypes quality ,
bool proper , string expected )
bool proper , string expected )