mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Fix dynamic recompilation in TestSceneChangelogOverlay
This commit is contained in:
@ -1,9 +1,13 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// 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.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using osu.Game.Online.API.Requests.Responses;
|
using osu.Game.Online.API.Requests.Responses;
|
||||||
using osu.Game.Overlays;
|
using osu.Game.Overlays;
|
||||||
|
using osu.Game.Overlays.Changelog;
|
||||||
|
using osu.Game.Overlays.Changelog.Header;
|
||||||
|
|
||||||
namespace osu.Game.Tests.Visual.Online
|
namespace osu.Game.Tests.Visual.Online
|
||||||
{
|
{
|
||||||
@ -12,6 +16,18 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
{
|
{
|
||||||
private ChangelogOverlay changelog;
|
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()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
Reference in New Issue
Block a user