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

@ -108,7 +108,7 @@ namespace NzbDrone.Test.Common
}
protected IAppDirectoryInfo TestDirectoryInfo { get; private set; }
protected IAppFolderInfo TestFolderInfo { get; private set; }
protected void WindowsOnly()
{
@ -129,11 +129,11 @@ namespace NzbDrone.Test.Common
protected void WithTempAsAppPath()
{
Mocker.GetMock<IAppDirectoryInfo>()
.SetupGet(c => c.WorkingDirectory)
Mocker.GetMock<IAppFolderInfo>()
.SetupGet(c => c.AppDataFolder)
.Returns(VirtualPath);
TestDirectoryInfo = Mocker.GetMock<IAppDirectoryInfo>().Object;
TestFolderInfo = Mocker.GetMock<IAppFolderInfo>().Object;
}
protected string GetTestFilePath(string fileName)