Commit Graph

75 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
Dean Herbert 4b68493084 Add ability to test recent / upcoming matches on schedule screen 2023-08-31 18:43:06 +09: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 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 2c5a329b04 Merge branch 'master' into tourney-dangerous-action-confirm 2023-07-25 18:27:58 +09: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
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
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 4cc2bb0c7d
Rename things in test to match 2023-06-14 21:33:11 +02:00
Salman Ahmed 78fe711824 Add visual test case 2023-06-14 10:03:13 +03:00
Salman Ahmed 6543c720ef Fix map pool test scene using invalid mod acronyms 2023-06-14 09:58:39 +03:00
Dan Balasescu 7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
Dean Herbert a215d009fe Update `Remove`/`RemoveRange`/`RemoveAll` calls in line with framework changes 2022-08-29 15:57:40 +09:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Dean Herbert 218642c300 Update unsafe file write usages 2022-05-16 18:05:27 +09:00
Dean Herbert f1499641f3 Rename all usages of `APIBeatmap` to `beatmap` in tournament namespace 2021-10-27 18:42:48 +09:00
Dean Herbert 3130616300 Update tournament components to use `APIBeatmap` directly 2021-10-27 18:26:44 +09:00
Bartłomiej Dach d37df6afec
Fix test failing after BDL -> `[Test]` change 2021-08-28 09:45:00 +02:00
Dean Herbert b008a86d8c Remove unused using statement 2021-08-28 16:35:54 +09:00
Dean Herbert 303c70791d Add more failing test coverage for `null` `CurrentMatch` 2021-08-28 16:24:36 +09:00
Dean Herbert 7fbeb9ecc7 Add failing test coverage for tournament startup states 2021-08-28 14:28:30 +09:00
Dean Herbert 9b9dacf3fe Update usages of `Drawable.Click()` 2021-08-04 17:30:33 +09:00
Bartłomiej Dach 9a2fb8ca6c Add test coverage for null mod on seeding screen 2021-07-17 18:06:47 +02:00
Dean Herbert 83ebbb7f8e Allow the schedule screen to show even when a current match is not selected 2021-07-17 00:21:58 +09:00
Dean Herbert 6ef9b346e1 Fix newly found inspections from 2021.1EAP1 2021-06-01 14:33:21 +09:00
Bartłomiej Dach eb26f6f427 Add failing test case 2021-04-03 21:45:19 +02:00
Dean Herbert 1ab449b73e Add test scene for drawings screen 2021-02-26 17:54:54 +09:00
Bartłomiej Dach 899942611f Add tests for time display 2021-01-23 17:01:47 +01:00
Dean Herbert 7a7c583ded Move setup screen classes out of single file and into their own namespace 2021-01-11 14:44:07 +09:00
Dean Herbert 5fd6246d1b Fix remaining test scenes 2020-06-24 17:57:07 +09:00
Dean Herbert 1387a9e2c6 Move all tournament tests to using placeholder data rather than reading from bracket 2020-06-24 16:57:17 +09:00
Bartłomiej Dach 586d5791e0 Remove unused argument 2020-06-13 15:07:41 +02:00
Shivam 3731e76b10 Move stable_config declaration, rename testscene 2020-05-28 15:28:27 +02:00