2017-12-26 18:33:28 +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
|
|
|
|
|
2017-12-26 18:55:56 +08:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2017-12-26 18:33:28 +08:00
|
|
|
using NUnit.Framework;
|
|
|
|
using OpenTK;
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Framework.Graphics.Containers;
|
2017-12-26 18:55:56 +08:00
|
|
|
using osu.Game.Audio;
|
2017-12-26 18:33:28 +08:00
|
|
|
using osu.Game.Beatmaps.ControlPoints;
|
2017-12-26 18:55:56 +08:00
|
|
|
using osu.Game.Rulesets.Taiko.Audio;
|
2017-12-26 18:33:28 +08:00
|
|
|
using osu.Game.Rulesets.Taiko.UI;
|
|
|
|
using osu.Game.Tests.Visual;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Tests
|
|
|
|
{
|
|
|
|
[Ignore("getting CI working")]
|
|
|
|
public class TestCaseInputDrum : OsuTestCase
|
|
|
|
{
|
2017-12-26 18:55:56 +08:00
|
|
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
|
|
|
{
|
|
|
|
typeof(InputDrum),
|
|
|
|
typeof(DrumSampleMapping),
|
|
|
|
typeof(SampleInfo),
|
|
|
|
typeof(SampleControlPoint)
|
|
|
|
};
|
|
|
|
|
2017-12-26 18:33:28 +08:00
|
|
|
public TestCaseInputDrum()
|
|
|
|
{
|
|
|
|
Add(new TaikoInputManager(new RulesetInfo { ID = 1 })
|
|
|
|
{
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
Child = new Container
|
|
|
|
{
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
Size = new Vector2(200),
|
|
|
|
Child = new InputDrum(new ControlPointInfo())
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|