// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using osu.Framework.Platform;
using osu.Framework.Testing;

namespace osu.Game.Configuration
{
    [ExcludeFromDynamicCompile]
    public class DevelopmentOsuConfigManager : OsuConfigManager
    {
        protected override string Filename => base.Filename.Replace(".ini", ".dev.ini");

        public DevelopmentOsuConfigManager(Storage storage)
            : base(storage)
        {
            LookupKeyBindings = _ => "unknown";
            LookupSkinName = _ => "unknown";
        }
    }
}

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using osu.Framework.Platform;
using osu.Framework.Testing;

namespace osu.Game.Configuration
{
    [ExcludeFromDynamicCompile]
    public class DevelopmentOsuConfigManager : OsuConfigManager
    {
        protected override string Filename => base.Filename.Replace(".ini", ".dev.ini");

        public DevelopmentOsuConfigManager(Storage storage)
            : base(storage)
        {
        }
    }
}

Revert "Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available"
Revert "Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available"

This reverts commit 8115a4bb8fd9e2d53c40b8607c7ad99f0f62e9a0.

Commit was cherrypicked out to a separate pull on a different merge
base, then reverted in that pull, so it should be reverted here too.
