sharee.bike-App/SharedBusinessLogic.Tests.Framework/Model/Device/SpecialFolderMock.cs

24 lines
572 B
C#
Raw Normal View History

2024-04-09 12:53:23 +02:00
using ShareeBike.Model.Device;
2021-07-12 21:31:46 +02:00
2024-04-09 12:53:23 +02:00
namespace SharedBusinessLogic.Tests.Framework.Model.Device
2021-07-12 21:31:46 +02:00
{
2022-09-06 16:08:19 +02:00
public class SpecialFolderMock : ISpecialFolder
{
/// <summary>
/// Get the folder name of external folder to write to.
/// </summary>
/// <returns></returns>
public string GetExternalFilesDir()
{
return string.Empty;
}
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> Gets the folder name of the personal data folder dir on internal storage. </summary>
/// <returns>Directory name.</returns>
public string GetInternalPersonalDir()
{
return System.IO.Path.GetTempPath();
}
}
2021-07-12 21:31:46 +02:00
}