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.Framework.Testing;
|
|
|
|
using osu.Game.Overlays;
|
|
|
|
using osu.Game.Users;
|
|
|
|
|
|
|
|
namespace osu.Desktop.VisualTests.Tests
|
|
|
|
{
|
|
|
|
internal class TestCaseMedalOverlay : TestCase
|
|
|
|
{
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|