mirror of
https://github.com/ppy/osu.git
synced 2025-01-23 03:02:55 +08:00
Simplify test scene setup
This commit is contained in:
parent
83dad93b6d
commit
06b23b626e
@ -30,14 +30,10 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
private FriendsOnlineStatusControl control;
|
private FriendsOnlineStatusControl control;
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp() => Schedule(() =>
|
public void SetUp() => Schedule(() => Child = control = new FriendsOnlineStatusControl
|
||||||
{
|
{
|
||||||
Clear();
|
Anchor = Anchor.Centre,
|
||||||
Add(control = new FriendsOnlineStatusControl
|
Origin = Anchor.Centre,
|
||||||
{
|
|
||||||
Anchor = Anchor.Centre,
|
|
||||||
Origin = Anchor.Centre,
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user