mirror of
https://github.com/osukey/osukey.git
synced 2025-05-06 06:07:26 +09:00
It is dangerous to use this as it doesn't correctly handle contexts and can cause issues that will never actually arise in normal execution.
18 lines
519 B
C#
18 lines
519 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.Platform;
|
|
|
|
namespace osu.Game.Tests.Platform
|
|
{
|
|
public class TestStorage : DesktopStorage
|
|
{
|
|
public TestStorage(string baseName)
|
|
: base(baseName, null)
|
|
{
|
|
}
|
|
|
|
public override string GetDatabaseConnectionString(string name) => "Data Source=" + GetUsablePathFor($"{(object)name}.db", true);
|
|
}
|
|
}
|