Fix dynamic recompilation in TestSceneChangelogOverlay

This commit is contained in:
Dean Herbert 2019-05-17 10:29:43 +09:00
parent 880bfe9b6b
commit e94b9feebd
1 changed files with 16 additions and 0 deletions

View File

@ -1,9 +1,13 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Overlays;
using osu.Game.Overlays.Changelog;
using osu.Game.Overlays.Changelog.Header;
namespace osu.Game.Tests.Visual.Online
{
@ -12,6 +16,18 @@ public class TestSceneChangelogOverlay : OsuTestScene
{
private ChangelogOverlay changelog;
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(BadgeDisplay),
typeof(StreamBadge),
typeof(ChangelogHeader),
typeof(ChangelogContent),
typeof(ChangelogContentGroup),
typeof(Breadcrumb),
typeof(BreadcrumbListing),
typeof(BreadcrumbRelease),
};
protected override void LoadComplete()
{
base.LoadComplete();