1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 19:33:01 +08:00
osu-lazer/osu.Desktop.VisualTests/Tests/TestCaseReplay.cs

32 lines
882 B
C#
Raw Normal View History

2017-02-28 19:14:48 +08:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input.Handlers;
2017-03-06 09:05:42 +08:00
using osu.Game.Beatmaps;
using osu.Game.Modes.Mods;
using osu.Game.Modes.Osu.Mods;
2017-03-01 21:56:20 +08:00
using osu.Game.Screens.Play;
using System;
using System.IO;
2017-02-28 19:14:48 +08:00
namespace osu.Desktop.VisualTests.Tests
{
2017-03-09 12:55:29 +08:00
internal class TestCaseReplay : TestCasePlayer
2017-02-28 19:14:48 +08:00
{
2017-03-01 21:56:20 +08:00
private WorkingBeatmap beatmap;
private InputHandler replay;
private Func<Stream> getReplayStream;
2017-03-01 21:56:20 +08:00
public override string Description => @"Testing replay playback.";
protected override Player CreatePlayer(WorkingBeatmap beatmap)
{
beatmap.Mods.Value = new Mod[] { new OsuModAutoplay() };
return base.CreatePlayer(beatmap);
}
}
2017-02-28 19:14:48 +08:00
}