2017-06-01 15:45:46 +08:00
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
using osu.Game.Overlays;
|
|
|
|
using osu.Game.Users;
|
|
|
|
|
2017-08-04 14:37:31 +08:00
|
|
|
namespace osu.Desktop.Tests.Visual
|
2017-06-01 15:45:46 +08:00
|
|
|
{
|
2017-08-04 14:37:31 +08:00
|
|
|
internal class TestCaseMedalOverlay : OsuTestCase
|
2017-06-01 15:45:46 +08:00
|
|
|
{
|
|
|
|
public override string Description => @"medal get!";
|
|
|
|
|
2017-07-11 13:11:08 +08:00
|
|
|
public TestCaseMedalOverlay()
|
2017-06-01 15:45:46 +08:00
|
|
|
{
|
2017-07-13 11:13:18 +08:00
|
|
|
AddStep(@"display", () =>
|
2017-06-01 15:45:46 +08:00
|
|
|
{
|
2017-07-14 13:39:15 +08:00
|
|
|
LoadComponentAsync(new MedalOverlay(new Medal
|
2017-07-13 11:13:18 +08:00
|
|
|
{
|
|
|
|
Name = @"Animations",
|
|
|
|
InternalName = @"all-intro-doubletime",
|
|
|
|
Description = @"More complex than you think.",
|
2017-07-14 13:39:15 +08:00
|
|
|
}), Add);
|
2017-07-13 11:13:18 +08:00
|
|
|
});
|
2017-06-01 15:45:46 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|