Commit Graph

7146 Commits

Author SHA1 Message Date
dc71abdf56 Merge pull request #20144 from peppy/fix-notification-overlay-presence
Fix completion toasts sometimes not displaying
2022-09-07 14:55:33 +09:00
3003fc1061 refactor(osu.Game): improve code quality 2022-09-07 02:29:15 +09:00
90207b6032 Merge branch 'master' into feature/EditorDeleteDiff 2022-09-06 18:48:06 +03:00
c2107bd322 Fix test failures due to notifications being forwarded before player finishes loading 2022-09-06 23:36:27 +09:00
bc1212f4e6 Change NonGameplayAdjustments to GameplayAdjustments and convert TrueGameplayRate to extension method 2022-09-06 22:26:46 +09:00
579e7e1f17 Fix deleting a difficulty not updating the beatmap set hash 2022-09-06 18:12:47 +09:00
9f2ea54e40 Tidy up TestSceneLeadIn constant for loop offset to read better 2022-09-06 17:45:53 +09:00
cfa1ebd0cb Test fix 2022-09-06 03:00:13 +02:00
9e3228aa65 Fix completion notification not being posted if completion occurs during NotificationOverlay load 2022-09-06 04:07:49 +09:00
0514c96191 Fix incorrect count tracking when notification is manually disposed 2022-09-05 19:26:40 +09:00
229e1a8ef7 Fix notification overlay being present when it doesn't need to 2022-09-05 19:13:58 +09:00
2923c10cd8 Rewrite rooms to store multiple active countdowns
Update test to the new structure
2022-09-05 19:03:26 +09:00
56886fed09 Add test coverage of progress notification completions showing 2022-09-05 18:39:11 +09:00
6946015d17 style(osu.Game): fix multiple blank lines 2022-09-05 07:49:29 +00:00
aace334fb3 Fix some test issues 2022-09-05 04:49:48 +02:00
19ab1433c6 test(osu.Game): add more test cases for HitTimingDistributionGraph 2022-09-05 03:46:23 +09:00
bc5340e33a Merge branch 'master' into fix_progress_bar_info 2022-09-02 18:00:35 +09:00
dc02b59a05 Add extra coverage to tests
Also fixes a potential failure due to test beatmap having two difficulties with same name.
2022-09-02 17:57:20 +09:00
7a8fa5c2e4 Fix filenames mismatch 2022-09-02 09:56:00 +01:00
65baf73d97 Add test scene 2022-09-02 16:50:28 +09:00
6a35b233e5 Merge branch 'master' into remove-dispose-updates 2022-09-01 23:03:19 +09:00
148e487c02 Add failing test of date submitted search failing 2022-09-01 19:59:27 +09:00
921a9ef895 clean up 2022-08-31 22:18:52 +01:00
a548b28158 Added test scene for SizePreservingSpriteText 2022-08-31 22:05:46 +01:00
ba20044af4 Fix missing nullability consideraition 2022-08-31 23:24:39 +09:00
6cadcc206b Merge pull request #20032 from peppy/toast-notification-tray
Add toast notification tray
2022-08-31 16:57:37 +09:00
000412c50f Merge pull request #20014 from peppy/fix-resume-skip-forward
Fix gameplay skipping forward during resume operation
2022-08-31 16:30:37 +09:00
afe2862df4 Merge branch 'master' into toast-notification-tray 2022-08-31 16:07:11 +09:00
e984dc4a19 Merge pull request #20042 from peppy/fix-composer-test-scenes
Test editor `ComposeScreen` tests not adding beatmap to hierarchy
2022-08-31 15:59:48 +09:00
7337d4c1aa Merge branch 'master' into kps 2022-08-31 15:41:42 +09:00
e9463f3c19 Test editor ComposeScreen tests not adding beatmap to hierarchy
Makes it hard to test anything because `EditorBeatmap`'s `Update` method
updates whether a beatmap has timing or not (enabling the placement
controls).

Also adds a basic timing point to allow for better testing.
2022-08-31 14:07:56 +09:00
7ce1cf7560 Add test coverage of skip button failure with equal time 2022-08-31 13:22:51 +09:00
c573396ab6 Fix IntroTestScene not clearing previous notifications hard enough 2022-08-31 12:46:54 +09:00
3d93e0ded1 Merge branch 'master' into fix-resume-skip-forward 2022-08-31 12:16:15 +09:00
9eb615f942 Fix remaining test failures by strengthening PlayerLoader tests
- Click using `TriggerClick` as notifications move around quite a bit.
- Ensure any notifications from a previous test method are cleaned up.
2022-08-31 01:40:30 +09:00
31a9980686 Update remaining test expectations with new behaviour 2022-08-31 00:57:30 +09:00
a62ba9e0d9 Remove notification blocking behaviour of first run setup 2022-08-31 00:57:18 +09:00
b8fda1a16f Apply NRT to notification classes
and tidy things up a bit.
2022-08-30 15:57:10 +09:00
8b3742188f Fix test by also clearing out maximum statistics 2022-08-30 15:42:36 +09:00
43f2ba6596 Added test scene 2022-08-29 22:00:33 +01:00
d20e7da2d9 Changed epsilon 2022-08-29 21:03:22 +01:00
545e0bbcef Adjust inheritors and test 2022-08-29 22:49:25 +03:00
062a6fcc18 Fix failing large offset test
If we are going to continue to let the underlying clock process frames,
there needs to be a bit of lenience to allow the backwards seek on
resume (to play back over the freq ramp period).

The test is meant to be ensuring we don't skip the full offset amount,
so div10 seems pretty safe.
2022-08-30 01:21:55 +09:00
0491addbbd Merge pull request #19974 from peppy/no-gameplay-clock-editor-offset
Fix editor not applying offsets
2022-08-29 21:10:29 +09:00
82b9e1f0eb Merge pull request #20011 from smoogipoo/scoring-refactor
Refactor scoring to remove async methods / simplify
2022-08-29 19:55:27 +09:00
ad5ef52922 Add test coverage of resuming after pause not skipping forward in time 2022-08-29 19:02:01 +09:00
f2378d3fde Merge branch 'master' into carousel-maintain-selection-over-update 2022-08-29 11:23:22 +03:00
2dafa041a7 Account for offset being applied to editor clock time in TestSceneEditorClock 2022-08-29 16:42:50 +09:00
a215d009fe Update Remove/RemoveRange/RemoveAll calls in line with framework changes 2022-08-29 15:57:40 +09:00
423f6f90f2 Remove async calls from ScoreManager 2022-08-29 15:34:08 +09:00