Commit Graph

6534 Commits

Author SHA1 Message Date
dd63657dfb Merge pull request #18065 from huoyaoyuan/code-style
Enforce code style analysis shipped with .NET SDK
2022-05-07 14:58:19 +09:00
380cd1e036 Add test coverage for lack of customisation on free mod select 2022-05-06 21:35:22 +02:00
f222affe88 Merge branch 'master' into fix-toolbox-expansion 2022-05-06 17:54:14 +03:00
144d33f0d2 Merge branch 'master' into distance-snapping-test 2022-05-06 17:29:27 +03:00
e527574ede Merge branch 'master' into fix-toolbox-expansion 2022-05-06 13:47:36 +02:00
19297375e2 Update tests to reflect new expected behaviour 2022-05-06 13:47:13 +02:00
98eab9668d Merge pull request #18119 from bdach/mod-overlay/broken-hover
Fix mod panels not hovering correctly after closing customisation area via mouse on new mod select
2022-05-06 20:42:33 +09:00
daed42513e Fix outdated test asserts 2022-05-06 18:44:25 +09:00
8f217d1e97 Add failing test case for broken hover behaviour 2022-05-06 11:37:50 +02:00
32b40bdabf Rename DistanceBetweenTick to be plural 2022-05-06 15:45:36 +09:00
060461a431 Add test coverage of multiplayer gameplay exit flow 2022-05-06 15:22:22 +09:00
7ffe3b132f Use BindableFloat in chat height tests 2022-05-05 23:13:43 +01:00
a2ab79620a Update song select exit via click test to match new expectations 2022-05-05 22:16:57 +02:00
d296f78dfe Replace references to old mod select classes in multiplayer match screen test 2022-05-05 22:16:57 +02:00
ecc2805099 Replace references to old mod select classes in match song select test
Also note the change from `songSelect.ChildrenOfType<>()...` to
`this.ChildrenOfType<>()...` - because the new design is registered at
game-level, the mod select is not a child of the song select screen
anymore.
2022-05-05 22:16:57 +02:00
199bdb8e7d Replace reference to old mod select in multiplayer test 2022-05-05 22:16:56 +02:00
17c19063f7 Fix user dim test scene accumulating no fail instances in SelectedMods
The old design was apparently somehow tolerant of multiple instances of
the same mod in `SelectedMods`, but the new one is not.

Fix the test, because appending to a list of mods that was getting
modified by previous tests is generally not how tests should be
written.
2022-05-05 22:16:56 +02:00
8f65e0e60f Add failing test coverage for toggling mod overlay with hotkey 2022-05-05 22:16:56 +02:00
ac08498f35 Use plum colour scheme in multiplayer to match rest of multiplayer screens 2022-05-05 22:16:54 +02:00
407db7ff9d Replace old mod select overlay with new design 2022-05-05 22:16:54 +02:00
8002726c9c Add test coverage for dismissing customisation area with Escape 2022-05-05 19:17:36 +02:00
9d48bb41c9 Merge branch 'master' into new-chat-overlay 2022-05-05 23:12:31 +09:00
5657e7f11e Fix chat height saving/loading test 2022-05-05 14:52:03 +01:00
9cb52f8879 Add tests for chat height saving/loading 2022-05-05 14:21:26 +01:00
5029710de7 Merge branch 'master' into distance-snapping-test 2022-05-05 22:00:40 +09:00
a859ca0b89 Merge branch 'master' into playlist-keyboard-traversal 2022-05-05 14:45:58 +02:00
e46f99bdba Merge branch 'master' into dialog-overlay-thread-woes 2022-05-05 20:57:51 +09:00
39d10487b9 Merge branch 'master' into snapping-tidy-distance 2022-05-05 19:55:55 +09:00
e7205d8593 Reset all test data before each test method to avoid channels stuck in joined state 2022-05-05 19:09:56 +09:00
4efaa41670 Merge branch 'master' into new-chat-overlay 2022-05-05 18:57:00 +09:00
269e15c167 Add test coverage of distance spacing multiplier working with distance snap grid 2022-05-05 18:49:12 +09:00
de9b3d33eb Rename misleading DistanceSpacing variable 2022-05-05 17:08:09 +09:00
19cf9dc20b Merge branch 'snapping-tidy-distance' 2022-05-05 16:51:32 +09:00
977e6d8a80 Add xmldoc for IDistanceSnapProvider and related properties 2022-05-05 16:25:45 +09:00
f6fc926f1a Add xmldoc and rename methods in IPositionSnapProvider for legibility 2022-05-05 15:58:21 +09:00
a26793cd65 Add missing Test prefix 2022-05-05 06:12:24 +03:00
f28978b856 Handle against playlists which disallow selection
`SelectedItem.Disabled` is also not checked against in the select-via-click flow inside `DrawableRoomPlaylistItem` (only `AllowSelection` is checked).
2022-05-05 05:48:35 +03:00
a27fcda9f1 Fix failing tests due to CurrentDialog being unexpectedly not set after Push 2022-05-05 01:52:39 +09:00
1a85e1267b Ensure focus is directed to ChatTextBox from ChatOverlay and add tests 2022-05-04 14:43:40 +01:00
e920bbd497 Merge pull request #18081 from bdach/mod-overlay/test-coverage-parity
Port test coverage from old mod select overlay to new design
2022-05-04 20:24:50 +09:00
cf220f171b Add test coverage of cross-thread transforms if a dialog is pushed too early 2022-05-04 20:23:36 +09:00
ec27fa8e85 Add test coverage for keyboard selection 2022-05-04 13:15:10 +02:00
6380216263 Nudge click location to avoid placement failures 2022-05-04 11:56:44 +02:00
a759e641eb Enforce composer aspect ratio to avoid depending on ambient window size 2022-05-04 11:56:29 +02:00
f899c3e68f Add test coverage of circle placement around editor toolboxes 2022-05-04 17:56:53 +09:00
8e96af8ff0 Update indentation to be clearer 2022-05-04 13:43:59 +08:00
f5fa41356e Rewrite mod instance management again to pass tests 2022-05-03 22:31:34 +02:00
216dfb7e91 Expand incompatibility test to cover logic more thoroughly 2022-05-03 21:45:40 +02:00
970361676b Fix setting items not creating if mods initially not empty 2022-05-03 21:45:40 +02:00
89d8ed8e20 Port existing test coverage 2022-05-03 21:45:39 +02:00