Commit Graph

408 Commits

Author SHA1 Message Date
Dean Herbert 41e69fbca6 Remove "default" prefix from naming 2022-09-18 00:15:26 +09:00
Dean Herbert 51841988bf Rename references to `DefaultSkin` to have `Triangles` suffix 2022-09-17 23:57:25 +09:00
Dean Herbert 65d1c40dd5 Remove remaining package references and replace with `SQLitePCLRaw` direct reference
This may require further consideration for test and iOS projects.
2022-09-15 16:58:58 +09:00
Dean Herbert 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
Dean Herbert 4b72e55770 Fix various test scenes not adding `EditorClock` to the draw hierarchy 2022-08-26 18:08:43 +09:00
Dan Balasescu 203b8b22b9 Adjust tests 2022-08-17 19:02:16 +09:00
Dean Herbert d3ee2a0b8e Add test scene for visually adjusting mania `BarLine`s 2022-08-08 17:38:46 +09:00
andy840119 9f79e80d8b Remove nullable disable annotation in the Mania test case. 2022-07-27 22:24:14 +08:00
Dean Herbert 958c0fb390 Remove `Appveyor.TestLogger` 2022-07-11 15:01:16 +09:00
Dan Balasescu 6c2d02fefd Fix tests 2022-06-30 12:37:03 +09:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Dan Balasescu 902a0a3255 Update max combo test value 2022-06-03 16:50:43 +09:00
Bartłomiej Dach c33aee17b0
Cache some more `OverlayColourProvider`s to fix tests 2022-05-24 23:14:28 +02:00
Dean Herbert c0abce918f Add `enum` to snap method as alternative to mutliple nested invocations 2022-05-12 16:19:07 +09:00
Dean Herbert fecf92e16f Update libraries to latest versions 2022-05-11 19:54:59 +09:00
Dean Herbert f6fc926f1a Add xmldoc and rename methods in `IPositionSnapProvider` for legibility 2022-05-05 15:58:21 +09:00
Salman Ahmed 59cf3ff50f Move distancing methods from `IPositionSnapProvider` to `IDistanceSnapProvider` 2022-04-28 05:48:45 +03:00
Salman Ahmed 70a93c0e7e Move `DistanceSpacingMultiplier` bindable to its own `IDistanceSnapProvider` interface 2022-04-24 08:33:00 +03:00
Salman Ahmed 4f8f27a58b Merge branch 'master' into osu-distance-spacing 2022-04-24 05:23:30 +03:00
Dan Balasescu 32e55e7d78 Merge branch 'master' into osu-diff-calc-max-combo 2022-03-31 15:08:08 +09:00
Shivam 1a7a160f0a Update vscode launch.json files for all other projects 2022-02-25 14:28:54 +01:00
Dan Balasescu 567da9214e Merge branch 'master' into osu-diff-calc-max-combo 2022-02-18 18:35:24 +09:00
Salman Ahmed 0992bec2c8 Change "distance spacing" multipler type to `double`
Avoids losing precision on initial load, causing an unnecessary
hash change in `EditorChangeHandler`.

Resolves test failures in `TestSceneEditorChangeStates`
(https://github.com/ppy/osu/runs/5192493482?check_suite_focus=true).
2022-02-16 03:28:12 +03:00
Dean Herbert d79845fb1d Revert `NUnit3TestAdaptor` (again)
Console output is still broken. See
https://github.com/ppy/osu/runs/5196023462?check_suite_focus=true.
2022-02-15 17:06:34 +09:00
Dean Herbert 60153bb69d Update nuget packages to highest usable versions
EF packages are intentionally pinned to 5.0.14 as higher versions no
longer support `netstandard2.1`, which we require for xamarin projects.
2022-02-15 15:19:23 +09:00
Salman Ahmed 528dc03b8c Expose distance spacing in `IPositionSnapProvider` for updating distance grid
Alternate method is to expose a `SnapDistancesChanged` event in
`IPositionSnapProvider` instead, but I chose this way as an analogue to
`IBeatSnapProvider.BeatDivisor`, which might even make sense to be
exposed as `BindableBeatDivisor` instead of caching that separately.
2022-02-15 02:21:53 +03:00
Dean Herbert 176bb4a4e2 Update desktop projects to target .NET 6 2022-02-10 17:42:09 +09:00
Dean Herbert 4b646709c1
Merge pull request #16658 from Spooghetti420/no-long-notes-mod
Add "Hold Off" mod (no long notes)
2022-02-02 13:35:44 +09:00
Bartłomiej Dach e4028b8fc1
Remove index ctor param from `ColumnHitObjectArea`
No longer used since 5692cecaa4.
2022-02-01 21:49:52 +01:00
Dean Herbert bb8dc74e88 Fix constant formatting 2022-01-31 12:20:51 +09:00
Spooghetti420 b52153e73d Remove settings 2022-01-30 17:40:15 +00:00
Dean Herbert c7580a5177 Fix inspections in test scene 2022-01-29 14:06:43 +09:00
Dean Herbert 035a84e75c Rename function and make `public` again for test usage 2022-01-29 14:05:23 +09:00
Spooghetti420 a4aa501bb5 Change threshold from ms to beat-based, add tests 2022-01-28 21:59:53 +00:00
Spooghetti420 146c54a2c1 Fix code formatting 2022-01-27 21:02:59 +00:00
Spooghetti420 3e068e564d Update mod per discussion + create test 2022-01-27 20:56:51 +00:00
Henry Lin 44311c1f4e Add tests for diffcalc max combo 2022-01-23 11:25:22 +08:00
Dan Balasescu 3e5d29ed00
Merge pull request #16505 from peppy/remove-base-difficulty-usage
Remove all usage of `BaseDifficulty` (and access `Difficulty` instead)
2022-01-19 13:53:55 +09:00
Dean Herbert 96d07e20ed Revert nunit test adaptor version bump until console output bug is resolved
Tests have started to output too much log content, causing viewing CI
failures to be painfully impossible. Roll back for now.

Fix may be related to
https://github.com/nunit/nunit3-vs-adapter/issues/941, although we don't
use filter.
2022-01-19 02:18:58 +09:00
Dean Herbert 7f65f3a47f Remove all usage of `BaseDifficulty` (and access `Difficulty` instead) 2022-01-18 22:57:39 +09:00
Dean Herbert 1b62a685f3 Merge branch 'master' into realm-integration/score-and-beatmaps 2022-01-18 15:07:59 +09:00
Dean Herbert 125439d177 Update all (non-NET6) nuget packages 2022-01-18 11:09:26 +09:00
Dean Herbert 5601f6f1fe Merge branch 'master' into realm-integration/score-and-beatmaps 2022-01-17 12:29:02 +09:00
Bartłomiej Dach 8e5ff201a1
Modify mania special skin to demonstrate failure case 2022-01-16 18:59:26 +01:00
Bartłomiej Dach 093b76e0ff
Fix drawable mania judgement scene looking broken 2022-01-16 18:56:21 +01:00
Dean Herbert b5f670cc5b Add far too many fixes for ruleset non-nullable requirements 2022-01-12 23:24:11 +09:00
Dean Herbert f9713b8895 Replace usage of `TimeoutAttribute` to fix beatmap conversion test failures 2022-01-04 11:51:41 +09:00
Joseph Madamba 7de43e3aba Fix most open compound words in identifiers being closed 2021-12-27 20:26:28 -08:00
Bartłomiej Dach c429c74d89
Expose and use test ruleset config cache in test scenes 2021-12-23 19:42:26 +01:00
Bartłomiej Dach 5cbaa028eb
Use extracted ruleset config cache implementation in DI 2021-12-23 19:02:10 +01:00