2021-11-24 13:22:41 +08:00
|
|
|
// 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.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2021-11-22 13:24:17 +08:00
|
|
|
using osu.Game.Models;
|
2021-11-24 13:22:41 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Tests.Editing.Checks
|
|
|
|
{
|
|
|
|
public static class CheckTestHelpers
|
|
|
|
{
|
2021-11-22 13:24:17 +08:00
|
|
|
public static RealmNamedFileUsage CreateMockFile(string extension) =>
|
|
|
|
new RealmNamedFileUsage(new RealmFile { Hash = "abcdef" }, $"abc123.{extension}");
|
2021-11-24 13:22:41 +08:00
|
|
|
}
|
|
|
|
}
|