mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 18:28:19 +00:00
20 lines
No EOL
613 B
C#
20 lines
No EOL
613 B
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.MediaFiles;
|
|
using NzbDrone.Core.Organizer;
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
namespace NzbDrone.Core.Test.MediaFileTests
|
|
{
|
|
[TestFixture]
|
|
public class MediaFileServiceTest : CoreTest<MediaFileService>
|
|
{
|
|
|
|
[Test]
|
|
[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);
|
|
}
|
|
}
|
|
} |