Commit Graph

404 Commits

Author SHA1 Message Date
Dean Herbert 0b6e8783d4
Merge branch 'master' into test-scene-create-ruleset 2020-06-12 17:06:27 +09:00
Dean Herbert 7dc19220e5 Apply new resharper formatting fixes 2020-06-09 23:38:54 +09:00
Salman Ahmed 741fa20149
Use CreateRuleset() for editor test scenes as well 2020-06-04 00:47:10 +03:00
Salman Ahmed 611f64fd36
Add base ready-made abstract scene for osu! mod tests 2020-06-03 23:24:00 +03:00
Salman Ahmed 84b40ea2c6
Merge remote-tracking branch 'upstream/master' into test-scene-create-ruleset
# Conflicts:
#	osu.Game.Rulesets.Catch.Tests/TestSceneBananaShower.cs
#	osu.Game.Rulesets.Catch.Tests/TestSceneHyperDash.cs
#	osu.Game/Tests/Visual/ModTestScene.cs
#	osu.Game/Tests/Visual/OsuTestScene.cs
2020-06-03 22:00:02 +03:00
Dean Herbert c46bfc2532 Create SnapResult class to hold various snapping results 2020-05-20 21:00:47 +09:00
Dean Herbert 3354d48a38 Change snapping to be screen space coordinate based 2020-05-20 21:00:29 +09:00
smoogipoo 648999a2de Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
smoogipoo efff2bf15d Add HitObject to DefaultsApplied event 2020-05-08 18:49:19 +09:00
dependabot-preview[bot] 03863d901b
Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.5.0 to 16.6.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.5.0...v16.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 08:59:09 +00:00
Salman Ahmed 227503c0af
Merge remote-tracking branch 'upstream/master' into test-scene-create-ruleset 2020-04-23 16:25:33 +03:00
Salman Ahmed 2fa47992dc
Seal the ruleset creation methods and let abstract method take their place
Also makes `CreatePlayerRuleset()` and `CreateRulesetForSkinProvider()` not-null to avoid unwanted behaviour with their derivers
2020-04-23 13:27:12 +03:00
smoogipoo 8d5732aabd Make placements happen on mouse down 2020-04-23 12:17:11 +09:00
Dean Herbert 5a2129da7c
Merge branch 'master' into allow-cancelling-completion 2020-04-21 11:22:37 +09:00
Dan Balasescu eb7b04d8bc
Merge branch 'master' into fix-osu-hidden-mod-alt 2020-04-20 17:47:27 +09:00
Salman Ahmed 4c945b5feb Merge remote-tracking branch 'upstream/master' into allow-cancelling-completion 2020-04-20 06:43:30 +03:00
Salman Ahmed fc6c245de5 Replace all judged event logic with HasCompleted bindable 2020-04-19 05:36:04 +03:00
Salman Ahmed 155bc8b49a Remove `ModTestScene` ruleset parameter on constructor and use `CreateRuleset` instead 2020-04-17 11:17:59 +03:00
Salman Ahmed 92df4e3a9e Remove `PlayerTestScene` constructor and use `CreateRuleset` method instead 2020-04-17 11:17:51 +03:00
Salman Ahmed 5fa6bcb5a3 Move `SkinnableTestScene` into using the global `CreateRuleset` method 2020-04-17 11:17:44 +03:00
smoogipoo 08df9d49e5 Add failing test 2020-04-17 14:12:43 +09:00
smoogipoo ee5301b887 Fix head/tail circles not getting correct hit windows 2020-04-17 14:12:38 +09:00
Dean Herbert 9dda7da489 Fix spinners being considered the "first object" for increased visibility in hidden 2020-04-16 14:11:38 +09:00
Dean Herbert 63de493c85
Merge branch 'master' into fix-red-point-placement 2020-04-13 20:56:50 +09:00
smoogipoo 9a65aa18d7 Fix connections hidden due to overlapping controlpoints 2020-04-13 16:13:14 +09:00
smoogipoo bde0b259c1 Improve slider placement test scene 2020-04-13 15:31:54 +09:00
smoogipoo 15a92d1451 Rename test scene 2020-04-10 03:07:44 +09:00
smoogipoo a2f5a469cf Merge branch 'master' into add-notelock 2020-04-10 01:18:54 +09:00
Dean Herbert 0a340bac5a Ensure the correct (up-to-date) ruleset is retrieved 2020-04-07 16:20:13 +09:00
Dean Herbert 2c840c52a3 Add skinnable test scene per ruleset to better allow dynamic compilation 2020-04-07 16:20:13 +09:00
Bartłomiej Dach 3ff27816be Trim excess newlines 2020-04-05 15:54:50 +02:00
Bartłomiej Dach 25c9674487 Rename method to justify its existence better 2020-04-05 15:54:15 +02:00
Bartłomiej Dach f9e44ae53e Bring back comment about AlmostEquals 2020-04-05 15:53:56 +02:00
Bartłomiej Dach 7135c99746 Final cleanups 2020-04-05 15:39:32 +02:00
Bartłomiej Dach c817cc726a Rewrite repeat arrow test 2020-04-05 15:37:31 +02:00
Bartłomiej Dach cbc546905f Rewrite snaking tests 2020-04-05 15:26:32 +02:00
Bartłomiej Dach 4170c210b2 Centralise hitobject start time calculation 2020-04-05 13:50:27 +02:00
Bartłomiej Dach d68c45e22b Use ElementAt() where applicable 2020-04-05 13:47:30 +02:00
Endrik Tombak 8d3e228f78 Split and rename tests 2020-04-05 11:22:52 +03:00
Endrik Tombak 0ebb5a81f9 Fix oversight in testing 2020-04-04 15:59:39 +03:00
Endrik Tombak 8eb5eeedc6 Merge branch 'master' of https://github.com/ppy/osu into test-snaking 2020-04-04 15:35:43 +03:00
Endrik Tombak a8a52e506d Review and style changes 2020-04-04 15:35:35 +03:00
Endrik Tombak c3f0ef1bd4 Major DRYing of code 2020-04-04 15:10:54 +03:00
Dean Herbert a3d4212462 Fix weird slider ball sizing 2020-04-02 19:56:33 +09:00
smoogipoo 1ff60b73d7 Refactor tests a bit 2020-03-30 17:01:29 +09:00
smoogipoo e074c3e5e9 Add additional tests 2020-03-30 16:15:07 +09:00
smoogipoo b9277165f7 Refactor test to support custom hitobjects 2020-03-30 15:12:12 +09:00
smoogipoo 3f8fbebbb4 Merge branch 'master' into add-notelock 2020-03-30 15:01:39 +09:00
Dan Balasescu a0b8243f4c
Merge branch 'master' into slider-start-circle 2020-03-30 14:49:17 +09:00
Endrik Tombak ce2fa23baf Include a test for miss 2020-03-29 17:43:18 +03:00