Commit Graph

1258 Commits

Author SHA1 Message Date
24fd411720 Merge pull request #19594 from BlauFx/improve_retry_behaviour
Skip song intro on quick restart
2022-08-16 20:18:12 +09:00
9a1a7bae89 Make test actually test things 2022-08-16 14:40:02 +09:00
a15e6f19aa Fix running TestScenePlayerLoader interactively leaving volume in a bad state 2022-08-16 13:40:46 +09:00
c9baadcf88 Merge branch 'master' into improve_retry_behaviour 2022-08-16 13:06:04 +09:00
704568ae3b Remove remaining usage of GameplayClock 2022-08-15 20:22:36 +09:00
87760bbc06 Fix IsCatchingUp not being in correct state 2022-08-15 20:17:48 +09:00
04d88b8216 Use constraint based assertions in TestSceneFrameStabilityContainer 2022-08-15 19:19:19 +09:00
27569e2ed5 Remove FrameStableClock (and redirect usages to FrameStabilityContainer) 2022-08-15 19:19:19 +09:00
f81c7644b4 Make GameplayClockContainer also an IGameplayClock and expose to remaining tests 2022-08-15 18:30:53 +09:00
c8764cb333 Move all usage of GameplayClock to IGameplayClock 2022-08-15 18:30:53 +09:00
6d78218142 Update usages of GameplayClockContainer.GameplayClock to access properties directly 2022-08-15 18:08:49 +09:00
2aa3a1b50d Rename all "KeysPerSecond" usages to "ClicksPerSecond" 2022-08-14 20:12:11 +02:00
9dc806506e Make ActionListener and KeysPerSecondCalculator not rely on events to add timestamps 2022-08-14 19:31:14 +02:00
3c6461b9e4 Remove KPS acronym usage 2022-08-11 10:01:39 +02:00
0e1efbd865 Rename DrawableCookieziRuleset to MockDrawableRuleset 2022-08-11 01:04:06 +02:00
d58d5eebe2 Add basic tests for KPS
Created private mock classes to use them in place of `GameplayClock` and
`DrawableRuleset`.
2022-08-11 00:51:13 +02:00
3e38baca3c Change ruleset mod description types 2022-08-10 16:09:11 -04:00
edb8e5e33e Temporarily emptying TestSceneKeysPerSecondCounter until a good test can be found 2022-08-09 02:43:41 +02:00
e4879aa450 Add test 2022-08-08 21:12:38 +02:00
0c07df2c26 Remove DT from KPS test 2022-08-05 21:02:37 +02:00
b4e0fa7c53 Rewrite tests for KPS 2022-08-05 15:53:06 +02:00
42d1bdfc95 Move KPS calculation to a standalone class 2022-08-05 04:17:01 +02:00
b4e55f7309 Apply IRenderer changes 2022-08-02 19:50:57 +09:00
38a8b9cf0a Add battery info for desktop platforms 2022-07-30 14:26:19 +02:00
ec1a7994cc Switch method to statement body for better readability
Almost thought the method was not wrapped in an `AddStep`.
2022-07-30 10:11:01 +03:00
0c125db197 Fix potential nullref on TestSceneAutoplay check steps 2022-07-30 10:11:01 +03:00
3bc1774c87 Merge branch 'master' into pie-chart-progress 2022-07-29 16:54:59 +03:00
3b1a76b190 Remove redundant/overwritten specifications 2022-07-29 16:45:29 +03:00
905bbdc8ee Remove caching of GameplayClockContainer in favour of GameplayClock
Also fixes `SongProgress` being displayed in skin editor on non-gameplay
screens, due to `GameplayClock` not marked as a required dependency.
2022-07-29 16:45:29 +03:00
eb92c35335 Merge pull request #19442 from smoogipoo/fix-beginplaying-misordering
Move spectator begin/end playing to SubmittingPlayer
2022-07-29 16:09:50 +09:00
2df24019fd Merge branch 'master' into kps 2022-07-28 18:38:09 +02:00
079150849a Add some tests 2022-07-28 18:37:50 +02:00
b2e7da5aa0 Add basic Queue based implementation of KPS 2022-07-28 18:37:12 +02:00
45879f7836 Merge pull request #19443 from smoogipoo/fix-intermittent-hud-tests
Fix intermittent HUD tests
2022-07-28 23:20:46 +09:00
e664690fe2 Remove unnecessary LoadTrack call 2022-07-28 22:19:46 +09:00
3005ff1b9f Merge branch 'master' into pie-chart-progress 2022-07-28 22:19:27 +09:00
ce694123eb Move spectator begin/end playing to SubmittingPlayer 2022-07-28 20:44:04 +09:00
7108553883 Tidy up various things everywhere 2022-07-28 18:25:14 +09:00
a21aee4e9c Reduce calls to LoadTrack by implicitly running on test/dummy classes 2022-07-28 18:11:40 +09:00
1039338d80 Fix intermittent HUD tests 2022-07-28 17:58:07 +09:00
0d36907cad apply code quality fixes 2022-07-28 15:30:45 +08:00
70ed347b06 simplify helper methods 2022-07-28 15:19:35 +08:00
2b9d46d803 Remove unused RulesetStore from BeatmapManager constructor 2022-07-28 16:19:05 +09:00
db62d4be3a apply suggestions
- refactor `SongProgress`
- make`UpdateProgress` more readable
- enable NRT on new classes
- refactor `TestSceneSongProgress` to use `GameplayClockContainer`
2022-07-28 15:15:41 +08:00
0913cf013c Split out tests and fix variable conflict 2022-07-28 13:24:14 +09:00
9088caa377 move LegacyComboCounter to osu.Game.Skinning 2022-07-28 08:36:26 +08:00
6af6f03e29 refactor song progress test scene 2022-07-27 15:57:47 +08:00
1e013bd4e9 move song progress graph to its own test scene 2022-07-27 15:57:23 +08:00
37e642b0bd make SongProgress abstract
- move unrelated logic to `DefaultSongProgress`
- make `LegacySongProgress` inherit `SongProgress`
2022-07-27 15:19:21 +08:00
7f75184a01 Merge branch 'master' into beatmap-update-test 2022-07-26 17:27:36 +09:00