add required types to TestCase

This commit is contained in:
Aergwyn 2017-12-30 22:45:02 +01:00
parent 2a0699f13c
commit 301efb948e
1 changed files with 9 additions and 0 deletions

View File

@ -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)
{ {