1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00
Commit Graph

1431 Commits

Author SHA1 Message Date
Bartłomiej Dach
a9cbabf711
Simplify tests 2024-03-28 10:05:26 +01:00
Arthur Araujo
60c93d2c6d Add reverse pattern visual tests 2024-03-27 08:22:51 -03:00
Dean Herbert
e02ad6cf94
Fix test regression 2024-03-26 23:38:34 +08:00
Bartłomiej Dach
b74f8dba41
Merge branch 'master' into verify-abnormal-difficulty-settings 2024-03-26 11:13:16 +01:00
Bartłomiej Dach
9b923b1909
Fix code quality issues 2024-03-26 10:55:49 +01:00
Arthur Araujo
6fa663c8ca Make check ruleset specific 2024-03-22 14:48:22 -03:00
Dean Herbert
35df381717
Merge branch 'master' into tcm-resume 2024-03-20 01:25:40 +08:00
Bartłomiej Dach
c9bbeeb49a
Merge branch 'master' into heatmap-misses 2024-03-18 14:43:24 +01:00
Dan Balasescu
0beaa8e8c5
Merge branch 'master' into tcm-resume 2024-03-14 12:22:46 +09:00
Dean Herbert
46e5bda40c
Fix test failures 2024-03-08 19:02:12 +08:00
Dean Herbert
646edb239a
Merge pull request #27429 from bdach/rewind-slider-tracking
Fix slider tracking state not restoring correctly in all cases on rewind
2024-03-07 22:41:12 +08:00
Dan Balasescu
bce3bd55e5
Fix catch by moving cursor-specific handling local 2024-03-04 16:08:17 +09:00
Dan Balasescu
5bd037fe8f
Merge branch 'master' into catch-fail-on-banana 2024-03-04 13:13:26 +09:00
Bartłomiej Dach
7b28a66fc0
Add failing test case 2024-02-29 11:11:30 +01:00
Sheepposu
cefc8357bb test scene for OsuAnalysisContainer 2024-02-27 21:52:10 -05:00
Sheepposu
29e5f409ba remove skinnable
better to add skinnable elements later
2024-02-27 21:51:54 -05:00
Bartłomiej Dach
353485a707
Merge branch 'master' into flashlight-playfield-based-size- 2024-02-26 10:55:06 +01:00
Sheepposu
822ecb7106 remove unnecessary changes 2024-02-23 23:52:17 -05:00
Sheepposu
c95e85368f remove old files 2024-02-23 23:45:58 -05:00
Sheepposu
45444b39d4 fix formatting issues 2024-02-22 19:01:52 -05:00
Sheepposu
f9d9df30b2 add test for HitMarkerContainer 2024-02-22 07:31:15 -05:00
Bartłomiej Dach
805f0b6a29
Remove unused using directive 2024-02-21 14:55:10 +01:00
Andrei Zavatski
dd32c0a226 Merge branch 'master' into judgements-rework 2024-02-16 20:08:57 +03:00
Salman Ahmed
ec85bf0ae6 Update other VS code configuration files 2024-02-16 01:45:30 +03:00
Bartłomiej Dach
86801aa51d
Add failing test coverage for osu! 2024-02-13 13:06:04 +01:00
Bartłomiej Dach
6954a185c4
Merge branch 'master' into deselect-slider-adds-control-point-bug 2024-02-10 15:35:03 +01:00
Bartłomiej Dach
6894f17b23
Add test coverage 2024-02-10 15:34:12 +01:00
Andrei Zavatski
c500264306 Cache created judgement in HitObject 2024-02-09 23:20:31 +03:00
Dan Balasescu
2fc06f16b5
Fix inspections 2024-02-07 03:51:28 +09:00
Dan Balasescu
9e7912e663
Add test showing filled heatmap 2024-02-06 21:56:26 +09:00
Dan Balasescu
c18cd65081
Merge pull request #26694 from chandler14362/hit-object-result-allocations
Avoid closure allocations when applying hit object results
2024-02-06 17:49:26 +09:00
Bartłomiej Dach
39fe078984
Merge branch 'master' into hit-object-result-allocations 2024-02-05 13:24:10 +01:00
Bartłomiej Dach
efe6bb25b1
Refactor result application around again to remove requirement for fields
Co-authored-by: Dean Herbert <pe@ppy.sh>
2024-02-05 13:21:01 +01:00
Dan Balasescu
6e4d52863c
Upgrade to .NET 8 SDK 2024-02-02 21:28:51 +09:00
Dan Balasescu
b44f77cee1
Update R# + fix inspections 2024-02-02 21:00:28 +09:00
Bartłomiej Dach
a934556bb8
Add failing assertions for head/tail positions after flip 2024-01-31 12:40:03 +01:00
Bartłomiej Dach
f927cb5928
Increase repeat count for better coverage of flip operations 2024-01-31 12:39:48 +01:00
Chandler Stowell
93bd3ce5ae update DrawableHitCircle.ApplyResult to pass this to its callback 2024-01-25 11:25:41 -05:00
OliBomby
c2d57dc77c Merge remote-tracking branch 'upstream/master' into edit-nodesample 2024-01-25 11:33:29 +01:00
Nguyên Minh Hồ
2fa52de87a Fix formatting 2024-01-25 16:29:44 +07:00
Nguyên Minh Hồ
b87ff4db0d Edit test for precise rotation popover 2024-01-25 15:33:48 +07:00
Dean Herbert
29f04d0b42
Merge pull request #26659 from frenzibyte/editor-fix-slider-repeat
Fix slider sometimes not updating anchor position of nested objects
2024-01-22 17:21:25 +09:00
Salman Ahmed
bab14dce31 Add failing test case 2024-01-22 02:07:09 +03:00
Dean Herbert
18d16018d3
Fix failing tests due to pooling safety changes 2024-01-21 12:17:16 +09:00
Dean Herbert
a69fd8198d
Update framework and other nuget packages
- Moq held back because dicks
- NUnit held back because large API changes (trivial but effort)
- SignalR held back due to api deprecations
2024-01-21 11:00:53 +09:00
Dean Herbert
c623956b3f
Merge pull request #26576 from bdach/flashlight-broke
Fix flashlight not dimming if slider head is hit early
2024-01-17 19:23:00 +09:00
Bartłomiej Dach
24741e9615
Add some more test coverage for good measure 2024-01-16 18:56:58 +01:00
Bartłomiej Dach
e9e5a0b08c
Add failing test case 2024-01-16 18:56:50 +01:00
Bartłomiej Dach
b16152811d
Use until step instead 2024-01-16 17:54:49 +01:00
Bartłomiej Dach
7a7548e89d
Add failing test coverage 2024-01-16 17:09:04 +01:00
Dean Herbert
fc1cef1ffc
Merge pull request #26525 from bdach/flashlight-slider-dim-before-start-time
Fix flashlight dim being applied before slider start time
2024-01-14 22:45:29 +09:00
Bartłomiej Dach
f85e6add8e
Add failing test case 2024-01-14 13:03:03 +01:00
Bartłomiej Dach
b7d74fda88
Revert "Keep editor in frame stable mode when possible" 2024-01-14 09:10:39 +01:00
Dean Herbert
3419c59b06
Fix failing tests due to frame stable seeks taking longer 2024-01-04 15:47:16 +09:00
Dean Herbert
1beb3f5462
Add failing test coverage of fast streams not working in editor 2024-01-04 15:47:16 +09:00
OliBomby
6bb72a9fcc Revert "Remove other grid types"
This reverts commit de14da95fa.
2024-01-01 15:46:07 +01:00
OliBomby
de14da95fa Remove other grid types 2024-01-01 15:44:20 +01:00
OliBomby
39f4a1aa8e conflict fixes 2024-01-01 15:34:05 +01:00
OliBomby
594b6fe167 Add back the old keybind for cycling grid spacing 2024-01-01 15:27:51 +01:00
OliBomby
c5edf43283 fix grid test 2024-01-01 15:25:30 +01:00
OliBomby
f649fa106f Added bindables and binding with BindTo 2024-01-01 15:13:11 +01:00
OliBomby
f223487e1c improve code 2024-01-01 15:13:10 +01:00
Dan Balasescu
17a531209c
Use SliderTailHit result for slider tails (non-classic-mod) 2023-12-30 10:38:47 +09:00
rushiiMachine
75b9d0fe66
Make flashlight scale with playfield
When the playfield is shrunk with mods such as BarrelRoll, flashlight does not account for this, making it significantly easier to play. This makes it scale along with the playfield.
2023-12-27 23:02:45 -08:00
Bartłomiej Dach
6cb8231054
Add test coverage for failure case 2023-12-22 13:22:26 +01:00
Dean Herbert
7e09164d70
Merge pull request #26036 from smoogipoo/fix-perfect-mod-special-judgements
Fix perfect mod not failing with special judgements
2023-12-22 18:22:28 +09:00
Dan Balasescu
88a5ba8167
Add mania/osu sudden death mod tests 2023-12-22 16:43:09 +09:00
Dan Balasescu
9c35e25036
Add failing tests 2023-12-22 13:58:12 +09:00
Dan Balasescu
6b4b2a57fc
Expose only as one method 2023-12-21 14:58:23 +09:00
Dan Balasescu
4e3b994142
Relocate HitResult numeric score to ScoreProcessor 2023-12-21 14:52:31 +09:00
OliBomby
d000da725d fix code quality 2023-12-20 13:14:05 +01:00
OliBomby
3aaf0b39f5 Add slider tail dragging test 2023-12-20 02:12:16 +01:00
OliBomby
1365a1b7be fix tests 2023-12-20 01:57:11 +01:00
OliBomby
22a0bc7d9d Add basic slider distance control 2023-12-20 00:05:32 +01:00
Dan Balasescu
011bd61e7d
Give sliders in test scene a sample 2023-12-19 16:47:49 +09:00
Dean Herbert
2f28a92f0a
Merge pull request #25776 from smoogipoo/slider-late-hit-lenience
Add slider head circle late hit lenience
2023-12-18 13:05:31 +09:00
Dan Balasescu
04d542105f
Fix assertions 2023-12-17 21:52:21 +09:00
Dan Balasescu
2b33aec124
Require slider head to be judged before ticks 2023-12-17 21:26:48 +09:00
Dan Balasescu
9b02bd712b
Only track if in slider ball after any ticks missed 2023-12-17 20:12:02 +09:00
Dan Balasescu
f77884b62f
Only hit passed-through ticks if none were missed 2023-12-17 19:57:48 +09:00
Dan Balasescu
10610d3387
Rename test scene 2023-12-17 19:33:38 +09:00
Dan Balasescu
4b9aefa6f2
Change osu ruleset to use new HP algorithm by default 2023-12-17 19:33:04 +09:00
Dean Herbert
c0e96927aa
Merge branch 'master' into slider-late-hit-lenience 2023-12-17 13:00:01 +09:00
Dan Balasescu
acb7016156
Remove unused using 2023-12-15 23:53:26 +09:00
Dan Balasescu
9ae3be817f
Add some text to the test scene showing hits/misses 2023-12-15 17:40:36 +09:00
Dan Balasescu
12210017e4
Use the cursor position to test nested object validity 2023-12-15 17:05:14 +09:00
Dan Balasescu
3b8a73bf2c
Refactor test 2023-12-15 16:13:34 +09:00
Dan Balasescu
599fdb0128
Add lenience for late-hit of slider heads 2023-12-15 14:14:58 +09:00
Bartłomiej Dach
555559c5c1
Add testing for GetRateAdjustedDisplayDifficulty() implementations 2023-12-14 20:41:12 +01:00
Dan Balasescu
38e7c03500
Update tests to not miss the head 2023-12-14 12:00:01 +09:00
Dan Balasescu
683ac6f63a
Add some more tests 2023-12-13 20:03:20 +09:00
Dan Balasescu
c131f91736
Add tests 2023-12-13 16:59:33 +09:00
Dean Herbert
73189be6cc
Merge branch 'better-drawing' into dropdown-search 2023-12-13 14:09:33 +09:00
Bartłomiej Dach
856310e954
Remove reference to removed comment from another comment 2023-12-07 08:22:01 +01:00
Dan Balasescu
005fb78994
Fix last tick handling in osu beatmap conversion tests 2023-12-07 16:02:00 +09:00
OliBomby
a8f3a0533a Use 4th order BSpline by default 2023-12-06 16:35:59 +01:00
Dean Herbert
79826dee58
Fix tests which were relying on SliderMultiplier==1 2023-12-06 13:50:10 +09:00
OliBomby
13b7f2fa42 Fix test cases 2023-12-03 22:42:48 +01:00
Dean Herbert
efb6c30252
Merge branch 'master' into scoring-test-mods 2023-11-28 18:38:50 +09:00
Bartłomiej Dach
74966cae6a
Remove unused using directive 2023-11-23 10:31:58 +09:00
Bartłomiej Dach
d4519f74ab
Merge branch 'master' into hp-drain-fix-breaks 2023-11-23 10:31:42 +09:00
Bartłomiej Dach
bf972a04ee
Merge pull request #25409 from Tom94/bspline-sliders
Add free-hand drawing of sliders to the editor
2023-11-21 16:28:14 +09:00
Bartłomiej Dach
d83b2e24e7
Merge pull request #25371 from RatinFX/open-editor-timestamp
Implement opening editor timestamp links
2023-11-21 15:48:36 +09:00
Dean Herbert
1660eb3c15
Add failing test coverage of drag after point placement 2023-11-21 15:38:12 +09:00
Dean Herbert
7bedbe4264
Apply NRT to SliderPlacementBlueprint tests 2023-11-21 15:38:12 +09:00
Dean Herbert
5175464c18
Update test coverage (and add test coverage of curve drawing) 2023-11-21 15:38:12 +09:00
Dean Herbert
3afaafb1d9
Reorder and simplify private helper methods 2023-11-21 15:05:51 +09:00
Bartłomiej Dach
745a04a243
More test cleanup 2023-11-20 22:12:15 +09:00
Bartłomiej Dach
43dbd65708
Show Catmull as a control point type option if selection already contains it 2023-11-20 15:53:25 +09:00
Bartłomiej Dach
5f302662be
Remove test terminally broken by introduction of slider drawing 2023-11-20 15:34:23 +09:00
Bartłomiej Dach
46d4587c97
Add test for slider drawing 2023-11-20 15:34:01 +09:00
Bartłomiej Dach
b6e3e42445
Merge branch 'master' into bspline-sliders 2023-11-20 12:03:29 +09:00
Dan Balasescu
e3137d575b
Fix osu! and base HP processor break time implementation 2023-11-14 01:11:17 +09:00
cs
fa976a5aa0 Fix code style/quality issues 2023-11-13 08:25:27 +01:00
ratinfx
6ddecfd806 Update Test cases 2023-11-11 14:13:06 +01:00
Thomas Müller-Höhne
926636cc03 Generalize Bezier curves to BSplines of Nth degree 2023-11-11 13:32:53 +01:00
Dean Herbert
1c63f1f89d
Merge pull request #25348 from bdach/less-basic-touchscreen-detection
Implement basic touchscreen detection
2023-11-10 18:01:40 +09:00
Bartłomiej Dach
b7938e78a0
Make sure test is in a break
...because apparently it may take a while to update the flag.
2023-11-10 16:30:44 +09:00
Bartłomiej Dach
1818a84034
Rewrite tests to not rely on realtime clock
Definitely faster, hopefully more reliable too.
2023-11-10 15:53:25 +09:00
Dan Balasescu
a8cf105beb
Merge pull request #25342 from peppy/slider-combo-matching-2
Fix osu! (slider) combo not matching expectations when classic mod is disabled
2023-11-10 15:07:05 +09:00
Dean Herbert
fb02c31750
Fix typo in assert step
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2023-11-10 12:09:48 +09:00
Dean Herbert
e0a5ec5352
Revert incorrect classic mod test assertions 2023-11-10 12:09:16 +09:00
Dean Herbert
1ae3265f92
Update tests in line with new behaviour 2023-11-09 22:03:22 +09:00
Bartłomiej Dach
5180fa669b
Merge pull request #25343 from peppy/spinner-max-sample
Continue to play spinner bonus sounds when MAX display occurs
2023-11-09 13:34:29 +01:00
Bartłomiej Dach
5d5c803cf6
Add failing test case for touch device application during gameplay with incompatible mods active 2023-11-09 17:48:43 +09:00
Bartłomiej Dach
13b599b9b6
Merge branch 'master' into less-basic-touchscreen-detection 2023-11-09 17:36:48 +09:00
Dean Herbert
c00a1d948a
Merge branch 'master' into better-touch-settings 2023-11-07 23:21:59 +09:00
ratinfx
81caa854e6 Separate Test cases by relevant rulesets 2023-11-07 13:02:46 +01:00
Dean Herbert
38c9a98e67
Add failing test coverage 2023-11-07 19:54:21 +09:00
Susko3
05d9418718 Rename setting to TouchDisableGameplayTaps for better visibility when searching 2023-11-07 00:13:46 +01:00
Susko3
c1967a5cbb Make tests fail 2023-11-06 20:43:24 +01:00
Salman Ahmed
073249dafb Allow tinkering with cursor-related settings in resume overlay test scene 2023-11-06 18:35:46 +03:00
Salman Ahmed
e12ee29a94 Update existing test coverage 2023-11-06 18:35:30 +03:00
Bartłomiej Dach
682668ccf0
Remove touch device toasts entirely 2023-11-06 10:54:32 +01:00
Dean Herbert
86cf0a36cf
Add test coverage of spinner with no bonus ticks 2023-11-06 18:16:31 +09:00
Dean Herbert
aa6f14b024
Fix spinner test hitting assertion when spinning too fast 2023-11-06 18:16:04 +09:00
Dean Herbert
e2928cc6b9
Fix incorrect assertion check targets (and flip assertion for miss case) 2023-11-06 17:33:01 +09:00
Dean Herbert
b62811633f
Add test coverage of touching and missing not enabled touch mod 2023-11-06 17:17:19 +09:00
Salman Ahmed
99405a2bbd Tidy up resume overlay test scene 2023-11-05 06:28:51 +03:00
Bartłomiej Dach
f2df02b60f
Automatically activate touch device mod in player 2023-11-02 21:24:58 +01:00
Bartłomiej Dach
29d4d81eaa
Add test scene for basic touchscreen detection scenarios 2023-11-02 21:24:58 +01:00
Bartłomiej Dach
12ef93ac3b
Remove no-longer-valid assertion 2023-10-30 21:31:34 +01:00
Bartłomiej Dach
f2c0bc8218
Add failing test case 2023-10-30 21:28:26 +01:00
Dean Herbert
f706fd2fca
Merge pull request #25307 from bdach/slider-velocity-undo
Fix slider velocity changes not being undone correctly
2023-10-31 01:44:18 +09:00
Bartłomiej Dach
b3369dbb7b
Add failing test for slider velocity 2023-10-30 10:57:48 +01:00
Bartłomiej Dach
e1ff0d12c6
Update tests to NUnit-style assertions 2023-10-30 10:55:26 +01:00
Bartłomiej Dach
0ed5f274f6
Enable NRT in TestSceneSliderVelocityAdjust 2023-10-30 10:48:31 +01:00
Dean Herbert
fbba3787d1
Merge pull request #25190 from frenzibyte/match-skin-element-animation-support
Match capability of animating legacy skin elements with osu!(stable)
2023-10-30 18:25:06 +09:00
Bartłomiej Dach
7a5f3b856f
Add visual test coverage for displaying hitcircles with high combo index 2023-10-27 19:43:49 +02:00
Dan Balasescu
9a0882af69
Merge pull request #25218 from peppy/better-slider-judgement-handling
Fix out-of-order judgements when missing a slider head
2023-10-27 15:50:13 +09:00