Commit Graph

427 Commits

Author SHA1 Message Date
c7580a5177 Fix inspections in test scene 2022-01-29 14:06:43 +09:00
035a84e75c Rename function and make public again for test usage 2022-01-29 14:05:23 +09:00
a4aa501bb5 Change threshold from ms to beat-based, add tests 2022-01-28 21:59:53 +00:00
146c54a2c1 Fix code formatting 2022-01-27 21:02:59 +00:00
3e068e564d Update mod per discussion + create test 2022-01-27 20:56:51 +00:00
44311c1f4e Add tests for diffcalc max combo 2022-01-23 11:25:22 +08:00
3e5d29ed00 Merge pull request #16505 from peppy/remove-base-difficulty-usage
Remove all usage of `BaseDifficulty` (and access `Difficulty` instead)
2022-01-19 13:53:55 +09:00
96d07e20ed Revert nunit test adaptor version bump until console output bug is resolved
Tests have started to output too much log content, causing viewing CI
failures to be painfully impossible. Roll back for now.

Fix may be related to
https://github.com/nunit/nunit3-vs-adapter/issues/941, although we don't
use filter.
2022-01-19 02:18:58 +09:00
7f65f3a47f Remove all usage of BaseDifficulty (and access Difficulty instead) 2022-01-18 22:57:39 +09:00
1b62a685f3 Merge branch 'master' into realm-integration/score-and-beatmaps 2022-01-18 15:07:59 +09:00
125439d177 Update all (non-NET6) nuget packages 2022-01-18 11:09:26 +09:00
5601f6f1fe Merge branch 'master' into realm-integration/score-and-beatmaps 2022-01-17 12:29:02 +09:00
8e5ff201a1 Modify mania special skin to demonstrate failure case 2022-01-16 18:59:26 +01:00
093b76e0ff Fix drawable mania judgement scene looking broken 2022-01-16 18:56:21 +01:00
b5f670cc5b Add far too many fixes for ruleset non-nullable requirements 2022-01-12 23:24:11 +09:00
f9713b8895 Replace usage of TimeoutAttribute to fix beatmap conversion test failures 2022-01-04 11:51:41 +09:00
7de43e3aba Fix most open compound words in identifiers being closed 2021-12-27 20:26:28 -08:00
c429c74d89 Expose and use test ruleset config cache in test scenes 2021-12-23 19:42:26 +01:00
5cbaa028eb Use extracted ruleset config cache implementation in DI 2021-12-23 19:02:10 +01:00
441b7baa93 Provide a realm factory to usages of ToLive/RealmLive 2021-12-14 14:26:34 +09:00
f6a3709060 Store default skins to database 2021-11-29 18:28:25 +09:00
23146d59d1 Use ILive for current skin 2021-11-29 18:28:25 +09:00
e0629ba81c Update all dependencies 2021-11-20 13:31:10 +09:00
fabf253381 Update difficulty calculator tests to also use IWorkingBeatmap 2021-11-15 19:16:49 +09:00
369b4ba789 Update DifficultyCalculator to take an IRulesetInfo 2021-11-15 19:16:48 +09:00
5e31e890ae Extract class for clipboard contents for DI purposes 2021-11-10 12:36:23 +01:00
410e9159d1 Fix test failures due to missing dependencies 2021-11-09 19:54:38 +01:00
7747fd5810 Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 17:01:54 +00:00
5c7623e68e Merge pull request #15255 from goodtrailer/node-samples-ilist
Change IHasRepeats.NodeSamples to IList from List
2021-10-28 14:24:26 +09:00
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
4440b9ca11 Change IHasRepeats.NodeSamples to IList from List 2021-10-23 01:59:07 -07:00
46bafb6252 Merge branch 'master' into no-more-difficulty-control-points-info 2021-09-28 13:53:56 +09:00
bb132f9509 Update a few more missed event changes in tests 2021-09-16 22:41:35 +09:00
45b07aa362 Add some basic animated textures to mania metric skin 2021-09-16 15:33:55 +09:00
f9af24df23 Fix mania hitobject tests 2021-09-15 15:22:27 +09:00
1edf608260 Add failing test case 2021-09-12 18:17:39 +02:00
fdd48c3e71 Refactor note colouring test scene 2021-09-12 17:42:35 +02:00
1952ebece9 Update tests to use more correct control point definitions 2021-09-06 22:04:51 +09:00
d4e5a612ea Update IPositionalSnapProvider to take a HitObject as reference, rather than raw time
This allows fetching the correct `DifficultyControlPoint` from the
hitobject. Nothing more.
2021-09-03 17:11:12 +09:00
a3d9ab1e2e Move approach rate to EffectControlPoint 2021-09-03 16:58:16 +09:00
5a1eccd8e3 Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 18:17:37 +00:00
15812520bd Replace global editor test case with mania compose screen test scene 2021-08-26 09:45:01 +03:00
0d3de488de Bump NUnit3TestAdapter from 3.17.0 to 4.0.0
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.17.0 to 4.0.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.17...V4.0.0)

---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 17:02:17 +00:00
9dcd0bf311 Remove IPlayfieldProvider by caching Playfield 2021-06-17 10:15:24 +09:00
a431b4eeda Add scrolling direction toggle for mania selection blueprint test scene 2021-06-15 15:22:36 +09:00
403aa433cf Rewrite mania selection blueprint test scene 2021-06-15 15:14:14 +09:00
d0e57f7dd9 Use HitObject instead of DHO for mania selection blueprint layout
- Fix moving selected hold note between columns will cause a crash
2021-06-15 13:20:51 +09:00
5366e7f61e Merge branch 'master' into remove-hud-component-lookup 2021-06-02 16:10:06 +09:00
f8ae70e562 Update existing function type rather than adding an override 2021-06-02 16:04:53 +09:00
967a7c3db5 Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 19:59:27 +00:00