1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-29 04:22:55 +08:00
osu-lazer/osu.Game.Tests/Visual
ekrctb e19e8ff2a3 Rewrite FramedReplayInputHandler for robustness
This commit changes the semantics of `CurrentFrame` and `NextFrame` of the class.
The ordering of `NextFrame.Time` and `CurrentFrame.Time` was dependent on the current direction.
Now, it should always satisfy `CurrentFrame.Time <= CurrentTime <= NextFrame.Time` except at the start/end.
This change, however, doesn't break existing deriving classes if the template code pattern usage of interpolation is used.
The deriving class code can be simplified due to the elimination of nullable types. I didn't include those changes in this commit.

I removed `StreamingFramedReplayInputHandlerTest` for now, as it is almost-duplicate of `FramedReplayInputHandlerTest`. I'll include more tests in later commits.

This commit fixes #6150.
2021-04-12 16:18:11 +09:00
..
Background Add return bool to HandleRequest to better trigger failures 2021-03-23 18:17:29 +09:00
Collections Add test coverage 2021-02-24 18:49:16 +09:00
Components Replace using static with explicit nested reference 2021-01-02 12:25:59 +01:00
Editing Add failing test scene 2021-04-03 14:02:46 +02:00
Gameplay Rewrite FramedReplayInputHandler for robustness 2021-04-12 16:18:11 +09:00
Menus Make IAPIProvider read-only bindables into IBindables 2020-12-18 15:16:36 +09:00
Multiplayer Fix intermittent test failure 2021-04-08 21:38:58 +09:00
Navigation Add regression test coverage 2021-04-08 15:20:53 +09:00
Online Add return bool to HandleRequest to better trigger failures 2021-03-23 18:17:29 +09:00
Playlists Add return bool to HandleRequest to better trigger failures 2021-03-23 18:17:29 +09:00
Ranking Fix test checking nullable string 2021-03-17 19:07:29 +09:00
Settings Add rotation slider 2021-03-30 12:40:50 +09:00
SongSelect Add test coverage for song select footer area 2021-04-07 18:29:31 +09:00
UserInterface Adjust testscene 2021-03-25 23:20:26 +01:00
TestSceneOsuGame.cs Add NewsOverlay to the game 2020-07-16 14:48:40 +03:00
TestSceneOsuScreenStack.cs Fix song select filters not reapplied if in a child screen 2019-12-10 02:30:23 +09:00