Dean Herbert
|
2671d371da
|
Move clock retrieval to new correct location
|
2020-10-29 15:28:39 +09:00 |
|
Dean Herbert
|
fa85751425
|
Move helper functions to bottom of class
|
2020-10-29 15:10:42 +09:00 |
|
Dean Herbert
|
fe409a55e6
|
Rename starvation test
|
2020-10-29 15:10:11 +09:00 |
|
Dean Herbert
|
ce58bfdc4e
|
Add test covering host retry after returning to spectator screen
|
2020-10-29 15:09:12 +09:00 |
|
Dean Herbert
|
6a31a313b6
|
Fix stop watching test to check correct screen presence
|
2020-10-29 15:08:06 +09:00 |
|
Dean Herbert
|
7dd3a748be
|
Add further test logic to ensure retry / restart flow is working correctly
|
2020-10-29 15:03:38 +09:00 |
|
Dean Herbert
|
a59ea987b7
|
Make tests more resilient under headless execution
|
2020-10-29 14:57:36 +09:00 |
|
Dean Herbert
|
db2b00068f
|
Avoid sourcing parent clock when in a paused state
|
2020-10-29 14:48:56 +09:00 |
|
Dean Herbert
|
d91456dc29
|
Move initial validity check out of loop for clarity
|
2020-10-29 14:25:47 +09:00 |
|
Dean Herbert
|
6c2cee7b3f
|
Avoid cross-pollution between tests of current playing state
|
2020-10-28 23:15:51 +09:00 |
|
Dean Herbert
|
7cc4a7cb5c
|
Add more accurate fail scenario test logic
|
2020-10-28 22:59:54 +09:00 |
|
Dean Herbert
|
1d499ec15d
|
Change beatmap not existing test to specify a beatmap ID that can't possibly exist
|
2020-10-28 22:51:35 +09:00 |
|
Dean Herbert
|
8bbcb9be8a
|
Always use imported beatmap in tests
|
2020-10-28 22:50:57 +09:00 |
|
Dean Herbert
|
5d02de29ca
|
Fix attempt to change ruleset/beatmap bindables while screen is not active
|
2020-10-28 22:50:45 +09:00 |
|
Dean Herbert
|
25ab3a5fea
|
Construct replay after being sure a ruleset is available to avoid nullrefs
|
2020-10-28 22:10:37 +09:00 |
|
Dean Herbert
|
6169349f7c
|
Fix switching to new beatmap not working correctly
|
2020-10-28 17:44:11 +09:00 |
|
Dean Herbert
|
730cc645fb
|
Avoid reconstructing ruleset for each frame bundle
|
2020-10-28 16:33:52 +09:00 |
|
Dean Herbert
|
5fcd39a43d
|
Ensure spectator screen is loaded before continuing
|
2020-10-28 16:29:06 +09:00 |
|
Dean Herbert
|
48b0357e7d
|
Fix "finished playing" events handled for potentially incorrect user
|
2020-10-28 16:11:14 +09:00 |
|
Dean Herbert
|
6eddd76bdc
|
Simplify FramedReplayInputHandler's SetFrame implementation
|
2020-10-28 16:03:23 +09:00 |
|
Dean Herbert
|
09da75b143
|
Merge branch 'frame-stability-clean-up' into spectator-replay-watcher
|
2020-10-28 15:34:46 +09:00 |
|
Dean Herbert
|
2b1e79a4e8
|
Simplify state changes further
|
2020-10-28 15:32:20 +09:00 |
|
Dean Herbert
|
c9515653b3
|
Restore previous directionality logic to avoid logic differences
|
2020-10-28 15:31:57 +09:00 |
|
Dean Herbert
|
77d807d0f5
|
Merge branch 'frame-stability-clean-up' into spectator-replay-watcher
|
2020-10-28 15:26:02 +09:00 |
|
Dean Herbert
|
59e9c2639a
|
Remove try-finally
|
2020-10-28 15:16:56 +09:00 |
|
Dean Herbert
|
a06516c900
|
Extract out frame stability state into enum for (hopefully) better clarity
|
2020-10-28 15:15:15 +09:00 |
|
Dean Herbert
|
8c9bda2ded
|
Split out replay update method
|
2020-10-28 15:14:06 +09:00 |
|
Dean Herbert
|
9b9a41596f
|
Split out frame stability calculation to own method
|
2020-10-28 15:14:06 +09:00 |
|
Dean Herbert
|
3e5322541d
|
Make direction setting more clear
|
2020-10-28 14:35:42 +09:00 |
|
Dean Herbert
|
0a7f3dc19b
|
Avoid null reference on finalization
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
|
2020-10-28 07:29:07 +09:00 |
|
Dean Herbert
|
37e9e39ee8
|
Merge pull request #10602 from peppy/fix-editor-samples-not-pausing-screen-swap
Fix editor not pausing samples when switching away from compose mode
|
2020-10-27 22:43:27 +09:00 |
|
Dean Herbert
|
d5e0fa322b
|
Fix a couple of inspections
|
2020-10-27 22:30:45 +09:00 |
|
Dan Balasescu
|
26a7545534
|
Merge branch 'master' into fix-editor-samples-not-pausing-screen-swap
|
2020-10-27 21:29:16 +09:00 |
|
Dean Herbert
|
2cacdaa11b
|
Add basic beatmap download and play flow
|
2020-10-27 19:28:34 +09:00 |
|
Dean Herbert
|
42b3aa3359
|
Fix spectating when starting from a point that isn't at the beginning of the beatmap
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
a289b7034f
|
Add test helper functions to promote code share
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
b3d793a505
|
Fix gameplay proceeding when no frames have been received yet
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
d4467d20a2
|
Allow tests to continue sending frames from point they left off
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
851d45d2eb
|
Add sane pausing logic
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
9e6b0a42ec
|
Allow FrameStabilityContainer to handle waiting-for-data state better (and pause outwards)
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
3ec3321a3d
|
Add missing space
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
63131d46aa
|
Send initial spectator state more correctly in test component
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
4dba96e189
|
Add more useful frame sending logic to tests
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
b737a8bf6e
|
Add field to Replay denoting whether the full replay have been received or not
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
c1e7cd6e47
|
Stop replay playback when frames are starved
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
9bac8f3792
|
Add null check on replay as safety measure
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
400542bc0b
|
Ensure frames arrive
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
593b0a3ada
|
Setup tests to run headless, add basic pass support
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
67f6d52e35
|
Setup tests
|
2020-10-27 18:58:37 +09:00 |
|
Dean Herbert
|
9bb2cff8a5
|
Convey actual beatmap and ruleset for full testing setup
|
2020-10-27 18:58:37 +09:00 |
|