mirror of
https://github.com/osukey/osukey.git
synced 2025-05-16 11:07:35 +09:00
fix formatting and test
add missing line
This commit is contained in:
parent
bb4b5bebf9
commit
48e55a0686
@ -26,6 +26,11 @@ namespace osu.Game.Tests.Visual
|
|||||||
public TestCaseUserProfile()
|
public TestCaseUserProfile()
|
||||||
{
|
{
|
||||||
Add(profile = new TestUserProfileOverlay());
|
Add(profile = new TestUserProfileOverlay());
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
AddStep("Show offline dummy", () => profile.ShowUser(new User
|
AddStep("Show offline dummy", () => profile.ShowUser(new User
|
||||||
{
|
{
|
||||||
@ -83,7 +88,8 @@ namespace osu.Game.Tests.Visual
|
|||||||
AddAssert("no supporter", () => profile.Header.SupporterTag.Alpha == 0);
|
AddAssert("no supporter", () => profile.Header.SupporterTag.Alpha == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private class TestUserProfileOverlay : UserProfileOverlay {
|
private class TestUserProfileOverlay : UserProfileOverlay
|
||||||
|
{
|
||||||
public new ProfileHeader Header => base.Header;
|
public new ProfileHeader Header => base.Header;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user