Commit Graph

5632 Commits

Author SHA1 Message Date
6fc06a10a1 Add extensible test scene for beatmap skins fallback instead 2021-05-19 21:52:29 +03:00
363aec8179 Merge branch 'master' into hit-error-skinnable 2021-05-20 01:51:45 +09:00
b33d5e7a7a Add new test and assertions to existing DialogOverlay test 2021-05-19 17:04:45 +09:00
4f397ae7f5 Merge branch 'master' into applause-stops-on-score-switch 2021-05-19 09:52:31 +02:00
87833bfb61 Merge pull request #12736 from EVAST9919/news-sidebar-new
Implement NewsSideBar component
2021-05-19 16:29:52 +09:00
e8bc2cac5b Fix test not being marked as headless 2021-05-19 13:36:39 +09:00
6717355fbe Merge pull request #12627 from ekrctb/always-use-lifetime-entry
Always use lifetime entry to manage hit objects in HitObjectContainer
2021-05-19 13:12:01 +09:00
24af86689f Merge remote-tracking branch 'refs/remotes/ppy/master' into news-sidebar-new 2021-05-18 22:18:52 +03:00
d05ffdf120 Added constants for delay value 2021-05-18 20:19:18 +02:00
ef81bdf63f Merge branch 'master' into always-use-lifetime-entry 2021-05-18 20:10:12 +09:00
ee9fe3c4be Revert "Add failing test showing lifetime not recomputed with pooled objects"
This reverts commit b88e5a31
2021-05-18 19:55:44 +09:00
ab6a79f84c Simplify 2021-05-18 19:15:46 +09:00
97f4f7bbd1 Remove Component inheritance 2021-05-18 18:59:45 +09:00
633f841a0f Rename to HitObjectUsageEventBuffer 2021-05-18 18:57:02 +09:00
a31a6947bb Add test 2021-05-18 18:49:05 +09:00
d1272d5e13 Group all skinnable test scenes to one TestSceneSkinnableHUDComponents 2021-05-18 12:38:06 +03:00
c885ad87d5 Update HitErrorDisplay tests 2021-05-18 15:12:29 +09:00
06389c08dc Add basic test to show data how one would expect it to be displayed 2021-05-18 13:11:22 +09:00
400984457c Fix weird behaviour in test scene
Due to a callback set up in another place, clicking away from the 2022
year after launching the test scene would remove the 2022 button
(because the callback was returning metadata without it). For simplicity
just trim the 2022 year to make sure both test scenes use the same
consistent set of years.
2021-05-17 19:16:30 +02:00
ed4c025c7e Fix other tests and move TestPlaySongSelect class declaration. 2021-05-17 12:55:59 +02:00
fe11426238 Disable appearance of the stable import prompt waiting for user interaction in tests, which caused them to fail. 2021-05-17 12:55:59 +02:00
da0913ca2d Make SongProgress a skinnable component 2021-05-17 18:52:56 +09:00
fc6e65b7db Delete TestSceneNewsSideBar.cs 2021-05-17 12:02:06 +03:00
01090de1fd Fix filenames does not match contained type 2021-05-17 11:55:55 +03:00
586c5c7365 Emulate year changes in the test scene 2021-05-17 11:36:53 +03:00
ae1e62288d Reorder tests to not have the first test show nothing 2021-05-17 16:16:50 +09:00
22561cda19 MonthDropdown -> MonthSection 2021-05-17 16:02:21 +09:00
50e2b5a327 SideBar -> Sidebar 2021-05-17 16:00:36 +09:00
264d8b9b86 Finishing requested changes, and tidy up 2021-05-16 14:48:00 +10:00
881d82ccb6 Merge remote-tracking branch 'refs/remotes/ppy/master' into news-sidebar-new 2021-05-15 19:08:48 +03:00
b5e1f78c06 Merge branch 'master' into single-bind-reset-button 2021-05-15 20:29:56 +10:00
c282f0e603 Fixing tests
For some reason moving the mouse and clicking doesn't work with "dotnet test", but works when you run the osu.Game.Tests project.
2021-05-15 19:42:33 +10:00
dc56250a3c Merge branch 'master' into player-loader-star-rating 2021-05-15 15:39:57 +09:00
94b7e89ac0 Merge pull request #12747 from frenzibyte/current-star-rating
Allow changing current star difficulty of a `StarRatingDisplay`
2021-05-15 15:39:39 +09:00
bdcb1a624e Merge pull request #12759 from Naxesss/beatmap-verifier-context
Encapsulate check arguments in context object
2021-05-15 15:39:12 +09:00
ecc260030a Merge branch 'master' into single-bind-reset-button 2021-05-15 12:05:42 +10:00
304caf8bdf Adding Requested changed 2021-05-15 11:24:08 +10:00
7665bdfbbb Merge branch 'master' into null-assignment-warning-enable 2021-05-15 01:08:34 +02:00
d581e0a252 Ignore possible nulls in NotifyCollectionChangedArgs
Safe to access by the virtue of the preceding case labels on
`args.Action`.  And they're in test code anyways.
2021-05-15 00:09:34 +02:00
e62e473bb2 Ignore possible null in multiplayer test
A null value will fail the test anyhow.
2021-05-15 00:09:34 +02:00
b51d038088 Ignore possible path-related nulls
They're all in test code anyway, so any issue there will cause a test to
fail.
2021-05-15 00:09:34 +02:00
f2d0f7db99 Remove list null-checks in LogoTrackingContainer test
If the null-checks were tripped, the test would crash anyway. It is not
possible to call `.Any()` and get a valid result instead of an exception
on a null reference.
2021-05-15 00:09:34 +02:00
c9facf70f9 Use conditional nullability attribute
As it turns out, C# 8 provides an attribute that allows annotating that
an `out` parameter's nullability depends on the method's return value,
which is exactly what is desired here.
2021-05-15 00:09:34 +02:00
1c92b3a8f5 De-duplicate star rating display creation in test 2021-05-14 22:03:44 +02:00
843da30f9d Reformatting 2021-05-15 01:52:16 +10:00
6a52622b3f Merge branch 'single-bind-reset-button' of https://github.com/holaswords/osu into single-bind-reset-button 2021-05-15 01:31:40 +10:00
1603b92211 Reformatting 2021-05-15 01:30:54 +10:00
85174793b1 Merge branch 'master' into single-bind-reset-button 2021-05-15 01:07:32 +10:00
0725088fde Well it works, just pretty ugly looking. 2021-05-15 01:01:17 +10:00
93007c1635 Merge branch 'current-star-rating' into player-loader-star-rating 2021-05-14 16:06:00 +03:00