mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:32:55 +08:00
Remove hackery from unit tests.
This commit is contained in:
parent
d5d31282e5
commit
8beb2f6e90
@ -275,7 +275,6 @@ namespace osu.Game.Tests.Visual.Background
|
||||
|
||||
private class DummySongSelect : PlaySongSelect
|
||||
{
|
||||
protected override UserStatusOnline InitialScreenStatus => null;
|
||||
|
||||
protected override BackgroundScreen CreateBackground()
|
||||
{
|
||||
@ -320,7 +319,6 @@ namespace osu.Game.Tests.Visual.Background
|
||||
|
||||
private class FadeAccessibleResults : SoloResults
|
||||
{
|
||||
protected override UserStatusOnline InitialScreenStatus => null;
|
||||
|
||||
public FadeAccessibleResults(ScoreInfo score)
|
||||
: base(score)
|
||||
@ -334,7 +332,6 @@ namespace osu.Game.Tests.Visual.Background
|
||||
|
||||
private class TestPlayer : Player
|
||||
{
|
||||
protected override UserStatusOnline InitialScreenStatus => null;
|
||||
|
||||
protected override BackgroundScreen CreateBackground() => new FadeAccessibleBackground(Beatmap.Value);
|
||||
|
||||
@ -383,8 +380,6 @@ namespace osu.Game.Tests.Visual.Background
|
||||
public VisualSettings VisualSettingsPos => VisualSettings;
|
||||
public BackgroundScreen ScreenPos => Background;
|
||||
|
||||
protected override UserStatusOnline InitialScreenStatus => null;
|
||||
|
||||
public TestPlayerLoader(Player player)
|
||||
: base(() => player)
|
||||
{
|
||||
|
@ -193,8 +193,6 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
|
||||
public new HUDOverlay HUDOverlay => base.HUDOverlay;
|
||||
|
||||
protected override UserStatusOnline InitialScreenStatus => null;
|
||||
|
||||
public bool FailOverlayVisible => FailOverlay.State == Visibility.Visible;
|
||||
|
||||
public bool PauseOverlayVisible => PauseOverlay.State == Visibility.Visible;
|
||||
|
Loading…
Reference in New Issue
Block a user