1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00
Commit Graph

315 Commits

Author SHA1 Message Date
Dean Herbert
49ca1ccb22
Simplify state reset in test scene 2023-12-06 12:03:54 +09:00
Dean Herbert
73aaa0406a
Add test coverage of multiple bans order 2023-12-06 12:00:32 +09:00
Dean Herbert
1d1b855510
Refactor test for readability 2023-12-06 11:57:04 +09:00
Dean Herbert
ac67320b61
Refactor for readability 2023-12-06 11:50:43 +09:00
Bartłomiej Dach
43701c5d47
Prefer using statement to fully qualified name 2023-12-05 21:49:32 +01:00
Bartłomiej Dach
7392cc2fda
Fix headless test failures due to input handling idiosyncrasies 2023-12-05 21:49:04 +01:00
Bartłomiej Dach
2c7db61a5c
Improve test 2023-12-05 21:19:35 +01:00
Rodrigo Pina
cda55065e7 Simplified ban order logic
Implemented tests to make sure logic works as intended
2023-12-05 12:56:24 +00:00
Salman Ahmed
e76a5f9419 Fix failing tests 2023-10-28 10:18:15 +03:00
Salman Ahmed
7083c04c59 Refactor logic slightly to display team seed everywhere
This change makes the team seed display in "team intro" screen as well.
2023-10-28 09:27:15 +03:00
Salman Ahmed
28e331deed Support displaying team seed in TeamDisplay 2023-10-28 08:30:24 +03:00
Dean Herbert
7227f5c881
Fix a couple of compilation errors 2023-10-06 18:13:02 +09:00
Dean Herbert
56b5f52e83 Update all dependencies (except for Moq) 2023-09-16 15:37:31 +09:00
Bartłomiej Dach
b5d88713fe
Merge pull request #24691 from peppy/file-ipc-race-fix
Fix potential race condition in song bar beatmap lookup flow
2023-08-31 21:54:38 +02:00
Dean Herbert
34b279845b Add more testability for song bar 2023-08-31 19:03:56 +09:00
Dean Herbert
540c58c359 Fix tournament screen tests not matching OsuGameBase resolution
This would cause things to look completely out of whack.

The numbers here match `DrawSizePreservingFillContainer` defaults as
used by `OsuGameBase.CreateScalingContainer()`.
2023-08-31 18:47:41 +09:00
Dean Herbert
4b68493084 Add ability to test recent / upcoming matches on schedule screen 2023-08-31 18:43:06 +09:00
Dean Herbert
827d48adcc Fix test coverage not actually covering crash 2023-08-21 16:10:48 +09:00
Dean Herbert
5009fd3794 Add test coverage of song bar crash 2023-08-21 15:34:03 +09:00
Dean Herbert
965da343a4 Fix tournament song bar tests not showing anything by default 2023-08-16 17:14:34 +09:00
Bartłomiej Dach
3501b7c22b
Fix some more nullability inspections 2023-08-09 21:32:46 +02:00
Dean Herbert
4e83245acf Apply nullability to all remaining tests where it wasn't applied 2023-08-10 00:24:57 +09:00
Dean Herbert
6549ca5304 Revert some usages of AsNonNull() in tests
We generally prefer `!` when it is unambiguous usage (ie. direct access).
2023-08-10 00:20:37 +09:00
cdwcgt
404a927caf
fix Possible NullReferenceException in test 2023-07-30 02:56:52 +09:00
cdwcgt
5d09eca104
revert test change 2023-07-30 02:49:30 +09:00
cdwcgt
4c33013674
null check in test 2023-07-29 22:41:26 +09:00
cdwcgt
8a06914438
remove #nullable disable in tournament 2023-07-29 22:25:06 +09:00
Dean Herbert
0130c356ed Cache IDialogOverlay in a simpler way 2023-07-25 18:33:41 +09:00
Dean Herbert
2c5a329b04 Merge branch 'master' into tourney-dangerous-action-confirm 2023-07-25 18:27:58 +09:00
Bartłomiej Dach
e7c1664adb
Fix blank space under tournament screen test scenes on very wide screens 2023-07-24 22:07:11 +02:00
Bartłomiej Dach
09ee500f62
Fix test failures due to Content override being applied in two places weirdly 2023-07-24 21:32:05 +02:00
Bartłomiej Dach
3ccd0ca1b0
Merge branch 'master' into tournament-resolution-fixes 2023-07-24 21:27:20 +02:00
Dean Herbert
f837c0a43c Fix tournament tests not fitting to lower resolutions correctly 2023-07-25 01:44:32 +09:00
Dean Herbert
2658161605 Move easily testable test scene to top of TestSceneGameplayScreen 2023-07-25 01:44:32 +09:00
Dean Herbert
0b55fc3197 Refactor DrawableTournamentMatch tests to suck less 2023-07-25 01:39:56 +09:00
Dean Herbert
ac4ad1e78c Change tournament tests to use development folder
Unsure there was a reason for this not to be the case (looks to have
been an oversight).
2023-07-21 15:35:03 +09:00
Dao Heng Liu
fa480cc27b remove #nullable disable, pass action instead of container to DangerousActionDialog 2023-07-20 22:52:02 +01:00
Dao Heng Liu
68495c937d fix ResetBracketTeams tests
also fixes formatting and var naming issues
2023-07-20 22:52:02 +01:00
Dao Heng Liu
e3a7b6969a add confirmation dialog for Clear All button in TournamentEditorScreen 2023-07-20 22:52:02 +01:00
Dao Heng Liu
41638ff4b7 move LadderResetTeamsDialog.cs into editor screens components 2023-07-20 22:52:02 +01:00
Dao Heng Liu
8cd81681b2 reorder LadderEditorScreen tests 2023-07-20 22:52:02 +01:00
Dao Heng Liu
3510394699 add ladder editor reset teams confirmation dialog test 2023-07-20 22:52:02 +01:00
Bartłomiej Dach
44a3f40188
Rename test step 2023-06-25 17:39:36 +02:00
cdwcgt
a3cd0d14a3
null guard for Current Match in MatchMessage 2023-06-25 20:46:58 +09:00
Dean Herbert
2bda63c2c8 Merge branch 'master' into mass-nrt 2023-06-24 09:59:15 +09:00
Salman Ahmed
c5771912db
Merge branch 'master' into tournament-chatcolor 2023-06-23 22:23:33 +03:00
Salman Ahmed
4a2f259f7e Add test coverage for tournament players with profile colours 2023-06-23 22:04:29 +03:00
Dean Herbert
df5b389629 Manual fixes to reduce warnings to zero 2023-06-24 01:52:53 +09:00
Dean Herbert
0ab0c52ad5 Automated pass 2023-06-24 01:00:03 +09:00
Bartłomiej Dach
1a6a66e953
Rewrite assertions to be better 2023-06-18 18:48:54 +02:00