|
|
@ -26,6 +26,8 @@ namespace NzbDrone.Core.Test.OrganizerTests
|
|
|
|
[TestCase("30 Rock", "{Series.Title}", "30.Rock")]
|
|
|
|
[TestCase("30 Rock", "{Series.Title}", "30.Rock")]
|
|
|
|
[TestCase("24/7 Road to the NHL Winter Classic", "{Series Title}", "24+7 Road to the NHL Winter Classic")]
|
|
|
|
[TestCase("24/7 Road to the NHL Winter Classic", "{Series Title}", "24+7 Road to the NHL Winter Classic")]
|
|
|
|
[TestCase("Venture Bros.", "{Series.Title}", "Venture.Bros")]
|
|
|
|
[TestCase("Venture Bros.", "{Series.Title}", "Venture.Bros")]
|
|
|
|
|
|
|
|
[TestCase(".hack", "{Series.Title}", "hack")]
|
|
|
|
|
|
|
|
[TestCase("30 Rock", ".{Series.Title}.", "30.Rock")]
|
|
|
|
public void should_use_seriesFolderFormat_to_build_folder_name(String seriesTitle, String format, String expected)
|
|
|
|
public void should_use_seriesFolderFormat_to_build_folder_name(String seriesTitle, String format, String expected)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
namingConfig.SeriesFolderFormat = format;
|
|
|
|
namingConfig.SeriesFolderFormat = format;
|
|
|
|