mirror of https://github.com/ppy/osu
add required types to TestCase
This commit is contained in:
parent
2a0699f13c
commit
301efb948e
|
@ -15,6 +15,15 @@ public class TestCaseResults : OsuTestCase
|
||||||
{
|
{
|
||||||
private BeatmapManager beatmaps;
|
private BeatmapManager beatmaps;
|
||||||
|
|
||||||
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||||
|
{
|
||||||
|
typeof(Score),
|
||||||
|
typeof(Results),
|
||||||
|
typeof(ResultsPage),
|
||||||
|
typeof(ResultsPageScore),
|
||||||
|
typeof(ResultsPageRanking)
|
||||||
|
};
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(BeatmapManager beatmaps)
|
private void load(BeatmapManager beatmaps)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue