Commit Graph

6067 Commits

Author SHA1 Message Date
3c37140426 Remove an unused local variable 2021-07-05 09:52:13 +08:00
bfb603cfeb Change the test for unimplemented mod to use a mock ruleset and mod 2021-07-05 09:51:24 +08:00
5f10edee39 Merge branch 'master' into playlist-empty-romanised 2021-07-05 10:20:33 +09:00
cc877f88e2 Fix inspection (create a new ruleset every time) 2021-07-05 10:13:01 +09:00
1facdcf483 Apply changes to tests 2021-07-04 23:23:24 +02:00
6d2ffe3a94 Add basic tests 2021-07-04 22:51:35 +02:00
356f5dceef Add more test case 2021-07-04 22:34:31 +08:00
44d540eb53 Add test 2021-07-04 22:09:23 +08:00
c143a50b73 Merge branch 'master' into fix-zero-hit-score-submit 2021-07-04 15:31:38 +02:00
19f02dc3d9 Ensure tests with no token have at least one hit
Because submission can be prevented by both not having been issued a
correct submission token, and by not actually registering any hits in
gameplay, ensure that tests that don't receive a token register at least
one hit, to avoid potentially having test cases that test the "no token"
flow pass erroneously because they never had any hits in the first
place.
2021-07-04 14:34:52 +02:00
3ec7dc3bb9 Update tests in line with thread safety check 2021-07-04 17:59:39 +09:00
2a74b1c539 Add test coverage of new scenarios 2021-07-04 17:27:02 +09:00
ec71deec51 Remove some mentions of "lazer"
I am aware there are more throughout the codebase but intentionally left
the remaining mentioned for one reason or another. The intention here is
to mainly change user-facing versioning to change the positioning of the
"lazer" term (to be where we would expect "cuttingedge" or "beta" to
be).
2021-07-04 12:41:27 +09:00
b0f257fa04 Merge pull request #13685 from gagahpangeran/wiki-image-block
Fix image overflow in wiki overlay
2021-07-02 20:21:20 +09:00
9eb6ae4d45 Merge pull request #13721 from peppy/submit-on-player-exit
Submit scores on player exit
2021-07-02 18:25:26 +09:00
4e52aee5a0 Merge branch 'master' into wiki-image-block 2021-07-02 18:19:46 +09:00
211c248692 Merge pull request #13744 from peppy/fix-async-void-calls
Fix some incorrectly invoked `async` calls
2021-07-02 18:10:30 +09:00
d67fc87dcb Add some basic testability of external colour setting 2021-07-02 17:24:15 +09:00
7b0f970e7d Fix ongoing operation being begun in an async context 2021-07-02 16:09:02 +09:00
f2d9d78455 Fix some incorrectly invoked async calls 2021-07-02 14:43:48 +09:00
30467191b2 Remove local handling of NoFail addition 2021-07-02 14:21:48 +09:00
434c048d87 Merge branch 'master' into colour-picker 2021-07-02 01:03:00 +02:00
0d3de488de Bump NUnit3TestAdapter from 3.17.0 to 4.0.0
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.17.0 to 4.0.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.17...V4.0.0)

---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 17:02:17 +00:00
4c95af4b16 Add star rating range display 2021-07-01 20:35:31 +09:00
a6323b7d87 Use APIException 2021-07-01 17:54:59 +09:00
74c63e15be Mark score failed on fail and exit 2021-07-01 17:48:09 +09:00
6e8d4e382e Add test coverage of token failure scenarios 2021-07-01 17:20:40 +09:00
397d2491b3 Update test scenes to actually cover submission logic 2021-07-01 16:55:44 +09:00
719852435f Fix intermittent PerformFromScreen test failures due to incorrect screen sequence
These tests were manually pushing the `PlayerLoader` / `Player`
instances to `SongSelect`, which bypasses safeties in place which avoid
the exact issue that came up in https://github.com/ppy/osu/runs/2951759236
(see `AllowSelection` flag specifically).
2021-07-01 15:10:29 +09:00
583242d96d Add osu!-styled colour picker control 2021-06-30 23:25:50 +02:00
4a54e7cdb8 Add tests covering score preparation flow 2021-06-30 20:23:24 +09:00
aa7405afa1 Increase number of sent frames to prevent timing issues 2021-06-30 20:16:57 +09:00
4a71a4bb21 Merge pull request #13450 from smoogipoo/spectator-start-at-end-2
Start spectator at the end of gameplay
2021-06-30 16:09:35 +09:00
094cd31361 Merge pull request #13441 from frenzibyte/ruleset-resources-skin
Provide access to ruleset resources during `ISkinSource` lookups
2021-06-30 15:26:37 +09:00
741ecbb2df Merge branch 'master' into spectator-start-at-end-2 2021-06-30 15:06:30 +09:00
4337577448 Remove unused private methods 2021-06-30 14:31:27 +09:00
a019f2cc5c Merge branch 'master' into rework-multiplayer-test-scenes 2021-06-30 13:49:05 +09:00
825181121d Merge branch 'master' into spectator-start-at-end-2 2021-06-30 01:50:14 +09:00
5031707048 Merge pull request #13690 from smoogipoo/fix-action-posting
Fix commands posted to the wrong channel
2021-06-30 00:39:02 +09:00
331b7237ab Attempt to fix one more intermittent test failure 2021-06-29 23:02:20 +09:00
6dd3c6fe93 Make MultiSpectatorScreen and tests more resillient to timing 2021-06-29 22:45:51 +09:00
1b2d00f796 Trigger successes 2021-06-29 20:13:39 +09:00
8bcb4d13fb Fix multiple tests eating host exceptions 2021-06-29 17:21:09 +09:00
8e04d73b67 Merge branch 'rework-multiplayer-test-scenes' into spectator-start-at-end-2 2021-06-29 17:06:57 +09:00
ca0eaab8e2 Add test 2021-06-29 16:30:46 +09:00
bcdf36e77b Merge branch 'master' into spectator-start-at-end-2 2021-06-29 15:53:58 +09:00
92fa99700e Merge branch 'master' into rework-multiplayer-test-scenes 2021-06-29 15:39:59 +09:00
06beeee4d8 Cleanup match header test 2021-06-29 15:39:01 +09:00
a1fe9df378 add test to check sprite image width 2021-06-29 10:14:51 +07:00
697b07acb1 Merge branch 'master' into fix-beatmap-import-fk-failure 2021-06-29 11:36:31 +09:00