1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Core.Test/MediaFileTests/MediaFileServiceTest.cs

20 lines
613 B
C#
Raw Normal View History

2011-06-03 00:06:46 +03:00
using FluentAssertions;
using NUnit.Framework;
2013-03-01 10:03:41 +03:00
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Organizer;
using NzbDrone.Core.Test.Framework;
2013-03-01 10:03:41 +03:00
namespace NzbDrone.Core.Test.MediaFileTests
{
[TestFixture]
2013-03-05 04:47:51 +03:00
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);
}
}
2011-04-10 05:44:01 +03:00
}