1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-13 22:43:35 +01:00
Radarr/NzbDrone.Integration.Test/IntegrationTestDirectoryInfo.cs
kay.one d60b863e14 moved data from Roaming to ProgramData.
Cleaned up DiskProvider
2013-07-04 21:43:28 -07:00

26 lines
784 B
C#

using System;
using System.IO;
using NzbDrone.Common.EnvironmentInfo;
namespace NzbDrone.Integration.Test
{
public class IntegrationTestFolderInfo : IAppFolderInfo
{
public IntegrationTestFolderInfo()
{
TempFolder = Path.GetTempPath();
AppDataFolder = Path.Combine(Directory.GetCurrentDirectory(), "integ_test", DateTime.Now.Ticks.ToString());
if (!Directory.Exists(AppDataFolder))
{
Directory.CreateDirectory(AppDataFolder);
}
StartUpFolder = Directory.GetCurrentDirectory();
}
public string AppDataFolder { get; private set; }
public string TempFolder { get; private set; }
public string StartUpFolder { get; private set; }
}
}