mirror of
https://github.com/ppy/osu.git
synced 2025-02-11 23:13:06 +08:00
Make tests actually show what value they are testing
This commit is contained in:
parent
9c5e29b2c9
commit
24a0ead62e
@ -60,10 +60,10 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
};
|
||||
});
|
||||
|
||||
[Test]
|
||||
public void TestTooltipBasic([Values(0, 1, 2)] int index)
|
||||
[TestCaseSource(nameof(test_case_tooltip_string))]
|
||||
public void TestTooltipBasic(string text)
|
||||
{
|
||||
AddStep("Set tooltip content", () => container.TooltipText = test_case_tooltip_string[index]);
|
||||
AddStep("Set tooltip content", () => container.TooltipText = text);
|
||||
|
||||
AddStep("Move mouse to container", () => InputManager.MoveMouseTo(new Vector2(InputManager.ScreenSpaceDrawQuad.Centre.X, InputManager.ScreenSpaceDrawQuad.Centre.Y)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user