Commit Graph

33 Commits

Author SHA1 Message Date
f5e12b9d7c Adjust TestScenePlayerLoader for safety 2020-11-16 23:53:54 +09:00
2c7880e9d6 Add failing test case 2020-10-20 20:30:15 +02:00
fd4bab85cf Merge branch 'master' into epilepsy-warning 2020-10-20 01:06:46 +02:00
1ac0b3b13d Add asserts to tests 2020-10-20 00:08:26 +02:00
a9f27a71a2 Fix code formatting issues 2020-10-19 23:53:41 +02:00
e4303d7943 Fix PlayerLoader test failures due to too many steps 2020-08-18 12:35:23 +09:00
cf9bda6c19 Add coverage of early exit with null and non-null player 2020-08-13 13:05:13 +09:00
fd7bf70b7d Remove weird "after load" action
This was pretty pointless anyway and from its usages, doesn't look to
need to exist.
2020-08-13 13:03:18 +09:00
5b536aebe7 Add missing null checks and avoid cross-test pollution 2020-08-13 12:53:37 +09:00
d9fedb293a add initial test 2020-07-21 15:48:11 +07:00
0b728f483f Rename base test class to help avoid incorrect reference 2020-03-23 10:01:33 +09:00
5200633f9f Centralise TestPlayer implementations as much as possible 2020-03-05 11:25:07 +09:00
05c48cd929 Fix volume mute tests regressing 2020-02-14 19:27:32 +09:00
47325601f4 Add failing test 2020-02-14 19:16:08 +09:00
19f516e710 Ensure OsuScreen level leases are taken out synchronously 2020-01-31 19:10:44 +09:00
03c778df75 Merge branch 'master' into update-framework 2020-01-09 19:02:26 +09:00
91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
f0fe3bc804 Pass bindable to BeatmapMetadataDisplay
It was reported that mods selected in song select would show up during
loading of replays which were recorded under a different set of mods.
This was caused by BeatmapMetadataDisplay accepting a plain read-only
value of the Mods bindable in PlayerLoader.load(), therefore making the
mod value assignment in ReplayPlayerLoader.OnEntering() have no effect
on that component.

To resolve this issue, make BeatmapMetadataDisplay accept the
higher-level bindable, bind to it locally and pass it down the hierarchy
to ModDisplay.
2020-01-08 20:10:43 +01:00
a3f7d3c445 Add failing test
Add test case demonstrating the lack of update of the metadata display's
mods upon setting the Mods property in PlayerLoader.
2020-01-08 19:55:35 +01:00
bc31146560 Mods -> SelectedMods 2019-12-13 21:45:38 +09:00
eb074b7058 Allow mods to apply to track, not clock 2019-12-09 17:44:45 +09:00
12f1c9e088 Fix test failure 2019-12-06 15:29:02 +09:00
de23364608 Add failing test 2019-12-06 13:47:34 +09:00
5f399add82 Resolve @iiSaLMaN 's suggested changes 2019-10-01 18:15:40 +02:00
06c32d52dc Change wrong volume bindable used in test 2019-09-27 09:19:39 +02:00
9a31ccd2e3 Add missing test cases for master, track and mute button
This also modifies the reset player method to make it possible to set something before the player is loaded but after the container has loaded.
2019-09-26 14:05:43 +02:00
f11156c2dc Fix tests not working correctly 2019-09-25 19:30:25 +09:00
8df77ffe92 Revert test scene changes 2019-09-23 16:48:30 +02:00
c3221e1a36 Prepare classes for player loader test scene 2019-09-18 23:27:26 +02:00
64de3840b0 Add missing wait step in TestScenePlayerLoader 2019-07-06 15:25:53 +09:00
39bd5e6478 Add test 2019-07-05 15:50:31 +09:00
f33a5bc54c Centralise and update WorkingBeatmap creation in test cases 2019-05-31 14:40:53 +09:00
459a285cd8 Rename test cases to test scenes inline with the framework change 2019-05-14 22:37:25 +03:00