Remove usage of ValueTuple to allow for dynamic recompilation

This commit is contained in:
Dean Herbert
2018-01-29 17:45:23 +09:00
parent 2b14438fe4
commit df221b6786
2 changed files with 34 additions and 10 deletions

View File

@ -10,7 +10,9 @@ using osu.Game.Online.Chat;
using osu.Game.Overlays.Chat;
using osu.Game.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Tests.Visual
@ -20,6 +22,16 @@ namespace osu.Game.Tests.Visual
private readonly TestChatLineContainer textContainer;
private Color4 linkColour;
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(ChatLine),
typeof(Message),
typeof(LinkFlowContainer),
typeof(DummyEchoMessage),
typeof(LocalEchoMessage),
typeof(MessageFormatter)
};
public TestCaseChatLink()
{
Add(textContainer = new TestChatLineContainer