Commit Graph

355 Commits

Author SHA1 Message Date
2046f64b22 Revert clamping logic 2019-09-18 16:07:02 +09:00
057c4aa795 Remove unused using statement 2019-09-17 22:42:20 +09:00
77947e8309 Fix rewind tests failing 2019-09-17 22:33:27 +09:00
a407e267a2 Fix PF/SD legacy mod conversion
Upon investigating an user report in #6091 that indicated that viewing
replays using the Perfect mod would also display the Sudden Death mod
icon despite Perfect being the more restrictive of the two, it turned
out that the logic of importing legacy scores was missing that corner
case. A similar case of Double Time/Nightcore mutual exclusion was
handled, but PF/SD was missed.

Add analogous handling of PF/SD legacy mods for all four rulesets,
and additionally cover a tiny fraction of all cases with unit tests.
The most problematic cases (NC+HD and PF+SD) are covered in all four
basic rulesets.
2019-09-15 22:55:25 +02:00
2cd3657b5e Merge branch 'master' into beatmap-video 2019-09-13 23:08:57 +09:00
2379b665e3 Use InvalidOperationException 2019-09-13 22:15:11 +09:00
d385c35955 Apply suggestions from code review
Co-Authored-By: Salman Ahmed <slmanarendo1950@gmail.com>
2019-09-13 21:55:45 +09:00
437e121056 Merge remote-tracking branch 'refs/remotes/ppy/master' into beatmap-video 2019-09-13 13:39:58 +03:00
7cb79dd760 Fix incorrect DI usage of IAPIProvider in many tests 2019-09-13 17:15:33 +09:00
4df6bd5477 Merge branch 'master' into use-dummy-api-for-overall-tests 2019-09-05 14:27:01 +09:00
c59a2bf9bb Fix tests crashing if a ruleset doesn't provide a NoFail mod 2019-09-04 20:29:10 +09:00
fc668d8a74 Move autoplay mod to a less overridable location 2019-09-02 13:24:39 +09:00
cad68bb82f Add autoplay helper property 2019-09-02 12:54:59 +09:00
6e5cb8a318 implement video parsing 2019-08-30 23:19:34 +03:00
01aede3e29 Add comprehensive skin fallback integration testing 2019-08-28 19:57:17 +09:00
ed4dda1936 Support beatmap conversion tests with mods 2019-08-01 12:49:01 +09:00
0108700793 Make beatmap conversion test use WorkingBeatmap 2019-08-01 12:44:10 +09:00
958e3fb68b Add a property for acquiring online API access 2019-07-31 22:42:23 +03:00
c514cbe2b7 Add basic skinning test 2019-07-29 17:27:00 +09:00
c14c3ba8ec Move database isolation logic to OsuTestScene for easier reuse 2019-07-29 16:57:02 +09:00
1072431fbb Fix test StackOverflows 2019-06-27 14:08:58 +09:00
8b0aaccfe6 Add finaliser to WorkingBeatmap 2019-06-27 13:56:36 +09:00
1374da7c41 Remove all calls to return user input 2019-06-07 12:54:57 +09:00
0fc2c596b6 Add toggle for input priority in manual input tests 2019-06-07 12:53:51 +09:00
b8fc535124 Fix blueprint tests crashing due to out-of-order operations 2019-06-04 12:08:23 +09:00
b52276c489 Pass individual components to DummyWorkingBeatmap, not game 2019-05-31 14:51:12 +09:00
f33a5bc54c Centralise and update WorkingBeatmap creation in test cases 2019-05-31 14:40:53 +09:00
a20eda7b5f Fix remaining cases to work without things 2019-05-28 23:54:42 +09:00
1ccef61f7b Fix some missed instances of TestCase 2019-05-15 18:32:29 +09:00
459a285cd8 Rename test cases to test scenes inline with the framework change 2019-05-14 22:37:25 +03:00
4c221e43a9 Apply minimal changes to make framework compile 2019-05-14 18:39:56 +09:00
bde2d552b6 Merge remote-tracking branch 'origin/master' into fix-more-pause-cases
# Conflicts:
#	osu.Game.Tests/Visual/Gameplay/TestCasePause.cs
2019-05-10 22:16:59 +09:00
97796a8578 Attempt to fix failing tests by delaying starting of the gameplay clock 2019-05-10 18:10:07 +09:00
7c105fd99f Fix testcase players pausing on window unfocus 2019-05-10 15:39:25 +09:00
117f8bdd01 Merge remote-tracking branch 'Joehuu/master' into flashlight-dim 2019-05-08 13:25:01 +09:00
d7c09e7dbd Merge remote-tracking branch 'origin/master' into fix-new-inspections
# Conflicts:
#	osu.Game.Rulesets.Catch/Judgements/CatchDropletJudgement.cs
#	osu.Game.Rulesets.Catch/Judgements/CatchJudgement.cs
#	osu.Game.Rulesets.Mania/Scoring/ManiaScoreProcessor.cs
#	osu.Game.Rulesets.Osu/Replays/OsuAutoGenerator.cs
#	osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs
#	osu.Game.Tests/Visual/SongSelect/TestCaseBeatmapScoresContainer.cs
#	osu.Game/Graphics/OsuFont.cs
#	osu.Game/Online/API/Requests/Responses/APILegacyScoreInfo.cs
#	osu.Game/Overlays/Profile/Header/BadgeContainer.cs
#	osu.Game/Overlays/Profile/ProfileHeader.cs
#	osu.Game/Screens/Select/PlaySongSelect.cs
#	osu.Game/Skinning/LegacySkinDecoder.cs
2019-05-07 13:20:17 +09:00
732b0b22a3 Merge remote-tracking branch 'upstream/master' into flashlight-dim 2019-05-07 12:04:58 +09:00
db75516e79 Merge branch 'master' into fix-lead-in-issues 2019-04-27 21:01:21 +09:00
32e71a6314 Fix incorrect seeking behaviour of TrackVirtualManual 2019-04-26 16:15:42 +09:00
9da13cb463 Merge branch 'master' into flashlight-dim 2019-04-25 23:15:15 +09:00
0bd35ab7bb Turn on warnings, resolve issues 2019-04-25 17:36:17 +09:00
9fa8f62077 Merge branch 'master' into update-framework 2019-04-25 12:25:17 +09:00
4f31eee5ad Merge branch 'master' into flashlight-dim 2019-04-24 17:01:11 +09:00
6add395288 Fix gameplay cursor being hidden in tests/replays 2019-04-23 13:32:44 +09:00
52336e9062 Fix pause tests 2019-04-23 11:54:41 +09:00
8ffb2f4224 Remove black box blocking some visual tests from being visible 2019-04-22 10:55:01 +09:00
879f6152b0 Merge remote-tracking branch 'upstream/master' into flashlight-dim 2019-04-17 22:17:10 +08:00
69748abedc Rename to TestCaseOsuFlashlight 2019-04-12 15:09:43 +09:00
dba4ccdf74 Add back flashlight testcase 2019-04-12 14:53:23 +09:00
0222424aef Make mods IReadOnlyList<Mod> gamewide
Prevents potential multiple evaluations of enumerable.
2019-04-10 17:20:36 +09:00