You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
717 B
26 lines
717 B
10 years ago
|
using System.Collections.Generic;
|
||
|
using System.IO;
|
||
|
using System.Linq;
|
||
|
using FluentAssertions;
|
||
|
using Moq;
|
||
|
using NUnit.Framework;
|
||
|
using NzbDrone.Core.MediaFiles;
|
||
|
using NzbDrone.Core.Organizer;
|
||
|
using NzbDrone.Core.Test.Framework;
|
||
|
using NzbDrone.Core.Tv;
|
||
|
using NzbDrone.Test.Common;
|
||
|
|
||
|
namespace NzbDrone.Core.Test.OrganizerTests
|
||
|
{
|
||
|
[TestFixture]
|
||
|
public class CleanFixture : CoreTest
|
||
|
{
|
||
|
[TestCase("Law & Order: Criminal Intent - S10E07 - Icarus [HDTV-720p]",
|
||
|
"Law & Order- Criminal Intent - S10E07 - Icarus [HDTV-720p]")]
|
||
|
public void CleanFileName(string name, string expectedName)
|
||
|
{
|
||
|
FileNameBuilder.CleanFileName(name).Should().Be(expectedName);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|