mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 06:52:53 +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
|
private class DummySongSelect : PlaySongSelect
|
||||||
{
|
{
|
||||||
protected override UserStatusOnline InitialScreenStatus => null;
|
|
||||||
|
|
||||||
protected override BackgroundScreen CreateBackground()
|
protected override BackgroundScreen CreateBackground()
|
||||||
{
|
{
|
||||||
@ -320,7 +319,6 @@ namespace osu.Game.Tests.Visual.Background
|
|||||||
|
|
||||||
private class FadeAccessibleResults : SoloResults
|
private class FadeAccessibleResults : SoloResults
|
||||||
{
|
{
|
||||||
protected override UserStatusOnline InitialScreenStatus => null;
|
|
||||||
|
|
||||||
public FadeAccessibleResults(ScoreInfo score)
|
public FadeAccessibleResults(ScoreInfo score)
|
||||||
: base(score)
|
: base(score)
|
||||||
@ -334,7 +332,6 @@ namespace osu.Game.Tests.Visual.Background
|
|||||||
|
|
||||||
private class TestPlayer : Player
|
private class TestPlayer : Player
|
||||||
{
|
{
|
||||||
protected override UserStatusOnline InitialScreenStatus => null;
|
|
||||||
|
|
||||||
protected override BackgroundScreen CreateBackground() => new FadeAccessibleBackground(Beatmap.Value);
|
protected override BackgroundScreen CreateBackground() => new FadeAccessibleBackground(Beatmap.Value);
|
||||||
|
|
||||||
@ -383,8 +380,6 @@ namespace osu.Game.Tests.Visual.Background
|
|||||||
public VisualSettings VisualSettingsPos => VisualSettings;
|
public VisualSettings VisualSettingsPos => VisualSettings;
|
||||||
public BackgroundScreen ScreenPos => Background;
|
public BackgroundScreen ScreenPos => Background;
|
||||||
|
|
||||||
protected override UserStatusOnline InitialScreenStatus => null;
|
|
||||||
|
|
||||||
public TestPlayerLoader(Player player)
|
public TestPlayerLoader(Player player)
|
||||||
: base(() => player)
|
: base(() => player)
|
||||||
{
|
{
|
||||||
|
@ -193,8 +193,6 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
|
|
||||||
public new HUDOverlay HUDOverlay => base.HUDOverlay;
|
public new HUDOverlay HUDOverlay => base.HUDOverlay;
|
||||||
|
|
||||||
protected override UserStatusOnline InitialScreenStatus => null;
|
|
||||||
|
|
||||||
public bool FailOverlayVisible => FailOverlay.State == Visibility.Visible;
|
public bool FailOverlayVisible => FailOverlay.State == Visibility.Visible;
|
||||||
|
|
||||||
public bool PauseOverlayVisible => PauseOverlay.State == Visibility.Visible;
|
public bool PauseOverlayVisible => PauseOverlay.State == Visibility.Visible;
|
||||||
|
Loading…
Reference in New Issue
Block a user