2013-07-19 03:47:55 +00:00
|
|
|
|
using NUnit.Framework;
|
2013-05-29 00:15:12 +00:00
|
|
|
|
using NzbDrone.Common.EnsureThat;
|
|
|
|
|
using NzbDrone.Test.Common;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Common.Test.EnsureTest
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
public class PathExtensionFixture : TestBase
|
|
|
|
|
{
|
|
|
|
|
[TestCase(@"p:\TV Shows\file with, comma.mkv")]
|
|
|
|
|
public void EnsureWindowsPath(string path)
|
|
|
|
|
{
|
|
|
|
|
Ensure.That(() => path).IsValidPath();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|