moved data from Roaming to ProgramData.

Cleaned up DiskProvider
This commit is contained in:
kay.one 2013-07-04 21:43:28 -07:00
commit d60b863e14
33 changed files with 202 additions and 242 deletions

View file

@ -7,22 +7,22 @@ using NzbDrone.Test.Common;
namespace NzbDrone.Common.Test
{
[TestFixture]
public class IAppDirectoryInfoTest : TestBase<AppDirectoryInfo>
public class IAppDirectoryInfoTest : TestBase<AppFolderInfo>
{
[Test]
public void StartupPath_should_not_be_empty()
{
Subject.StartUpPath.Should().NotBeBlank();
Path.IsPathRooted(Subject.StartUpPath).Should().BeTrue("Path is not rooted");
Subject.StartUpFolder.Should().NotBeBlank();
Path.IsPathRooted(Subject.StartUpFolder).Should().BeTrue("Path is not rooted");
}
[Test]
public void ApplicationPath_should_not_be_empty()
{
Subject.WorkingDirectory.Should().NotBeBlank();
Path.IsPathRooted(Subject.WorkingDirectory).Should().BeTrue("Path is not rooted");
Subject.AppDataFolder.Should().NotBeBlank();
Path.IsPathRooted(Subject.AppDataFolder).Should().BeTrue("Path is not rooted");
}