Commit Graph

113 Commits

Author SHA1 Message Date
d1c701a997 Rename existing test to something more relevant 2020-04-21 18:34:56 +09:00
af32f51116 Merge pull request #8800 from iiSaLMaN/allow-cancelling-completion
Fix results screen pushed after rewinding in-between push delay
2020-04-21 12:49:49 +09:00
fc6c245de5 Replace all judged event logic with HasCompleted bindable 2020-04-19 05:36:04 +03:00
3137417994 Add drumroll skinning 2020-04-15 18:03:23 +09:00
45d88b70f8 Split out base logic from LegacyHit into LegacyCirclePiece 2020-04-15 18:03:23 +09:00
18c28390ef Setup drumroll testing 2020-04-15 16:29:39 +09:00
019e777d7d Move taiko skinning tests to own namespace 2020-04-15 16:01:49 +09:00
bf938a37e3 Add old skin test resources (with "animation") 2020-04-11 15:00:39 +09:00
96bf86099c Fix scaling of strong hits 2020-04-11 14:43:57 +09:00
dc56be0a1d Add support for skinned hits 2020-04-11 14:23:13 +09:00
ca2df77c76 Add default skin test resources 2020-04-11 14:19:59 +09:00
7fba291134 Change inheritance of taiko hit pieces to better allow for skinning 2020-04-11 13:33:49 +09:00
40267cb1fe Add test sprites and make alignment initially better 2020-04-08 19:42:31 +09:00
2c840c52a3 Add skinnable test scene per ruleset to better allow dynamic compilation 2020-04-07 16:20:13 +09:00
0a7d9b930c Add osu!taiko legacy drum skinning support 2020-04-03 18:23:03 +09:00
5106d275ca Remove CentreHit/RimHit hitobject abstraction 2020-03-23 12:08:15 +09:00
0be423183d Rename data class 2020-03-11 00:36:56 +09:00
5b8aaba4a6 Merge branch 'master' into fix-perfect-judgements 2020-03-06 00:18:05 +09:00
5200633f9f Centralise TestPlayer implementations as much as possible 2020-03-05 11:25:07 +09:00
d11d29c1f7 Adjust namespaces 2020-03-03 15:30:53 +09:00
e58fb3f528 Make default taiko HP 1 for test scene 2020-03-02 13:25:16 +09:00
6d939e9d41 Add failing test scenes 2020-03-02 12:42:48 +09:00
239cfddcbb Improve test scenes/cases 2020-03-02 10:50:41 +09:00
a02c5710ac Rename base class 2020-03-02 10:06:49 +09:00
089ec4c792 Test scene for mod development 2020-02-29 21:16:28 -08:00
a047456354 Revert changes to make HitObject abstract 2020-02-25 19:07:15 +09:00
ffc7eaa3f2 Fix hitobjects with unknown lifetimes by enforcing non-null judgement
We've seen multiple cases where DrawableHitObject are stuck in the lifetime management container
due to not implementing a judgement (meaning they are never "hit" or "missed"). To avoid this going forward
CreateJudgement() must be implemented and return a non-null judgement.

This fixes BananaShower and JuiceStreams in osu!catch.

This also makes HitObject abstract and cleans up convert HitObject implementations.
2020-02-23 13:49:06 +09:00
48781e5685 Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:24:12 +00:00
91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
2688a855a0 Downgrade NUnit to fix discovery issues 2020-01-08 14:14:46 +09:00
f91637e7b6 Bump NUnit3TestAdapter from 3.15.1 to 3.16.0
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.15.1 to 3.16.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.15.1...V3.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:41:37 +00:00
492a910671 Update missed launch configurations 2019-12-20 19:08:05 +09:00
351e826120 Upgrade project targets to netcoreapp3.1 2019-12-20 17:03:54 +08:00
bc31146560 Mods -> SelectedMods 2019-12-13 21:45:38 +09:00
5861eca80d Make DrawableRuleset take a converted beatmap 2019-12-12 15:58:11 +09:00
709ec1404f Centralise End/StartTime retrieval to extension method 2019-11-25 19:09:14 +09:00
f2084df0bb Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.3...v16.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 06:19:49 +00:00
e987db37ec Add grouping of ControlPoints 2019-10-25 19:52:02 +09:00
1bf5f9313f Fix failing test 2019-10-21 18:10:00 +09:00
5d6648d9c9 Update 2.2 references 2019-10-10 17:45:38 +09:00
09864d7f0e Add bar line visual check in taiko playfield test
Add a step checking alignment of a centre and a bar line in taiko
playfield. Purely visual test without asserts.
2019-09-24 23:02:39 +02:00
f10b390ca0 Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.3.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.2.0 to 16.3.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.2.0...v16.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-19 16:32:39 +00: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
f925e781a9 Refactor HitWindows for legibility 2019-09-06 15:24:14 +09:00
0c73c5acf3 Expose full hitobject rather than hit windows 2019-09-02 17:14:40 +09:00
f2bdf94a1d Add HitWindows to JudgementResult to indicate timing errors 2019-09-02 16:28:14 +09:00
5b685c4cd2 Fix swell ticks having non-zero time offsets 2019-09-02 13:25:39 +09:00
2876588193 Bump NUnit3TestAdapter from 3.15.0 to 3.15.1
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.15.0 to 3.15.1.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.15...V3.15.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-30 13:36:31 +00:00
cd68d030bd Remove unnecessary UpdateState overrides 2019-08-27 05:04:34 +03:00
72a644996c Bump NUnit3TestAdapter from 3.14.0 to 3.15.0
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.14...V3.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-23 13:41:27 +00:00