1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Fix dynamic recompilation in TestSceneChangelogOverlay

This commit is contained in:
Dean Herbert 2019-05-17 10:29:43 +09:00
parent 880bfe9b6b
commit e94b9feebd

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 @@ namespace osu.Game.Tests.Visual.Online
{
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();