various CI adjustments

This commit is contained in:
FreezyLemon 2017-12-07 19:39:13 +01:00
parent 34a37935e3
commit c950d1359a

View File

@ -13,7 +13,7 @@ using System.Linq;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
class TestCaseChatLink : OsuTestCase internal class TestCaseChatLink : OsuTestCase
{ {
private readonly BeatmapSetOverlay beatmapSetOverlay; private readonly BeatmapSetOverlay beatmapSetOverlay;
private readonly ChatOverlay chat; private readonly ChatOverlay chat;
@ -21,7 +21,7 @@ namespace osu.Game.Tests.Visual
private DependencyContainer dependencies; private DependencyContainer dependencies;
private readonly TestChatLineContainer textContainer; private readonly TestChatLineContainer textContainer;
private ChatLine[] testSprites; private readonly ChatLine[] testSprites;
protected override IReadOnlyDependencyContainer CreateLocalDependencies(IReadOnlyDependencyContainer parent) => dependencies = new DependencyContainer(parent); protected override IReadOnlyDependencyContainer CreateLocalDependencies(IReadOnlyDependencyContainer parent) => dependencies = new DependencyContainer(parent);
@ -67,7 +67,7 @@ namespace osu.Game.Tests.Visual
private class DummyMessage : Message private class DummyMessage : Message
{ {
private static long messageCounter; private static long messageCounter;
private readonly static User sender = new User private static readonly User sender = new User
{ {
Username = @"Somebody", Username = @"Somebody",
Id = 1, Id = 1,
@ -90,9 +90,6 @@ namespace osu.Game.Tests.Visual
} }
}; };
public new long Id = 42;
public new TargetType TargetType = TargetType.Channel;
public new int TargetId = 1;
public new DateTimeOffset Timestamp = DateTimeOffset.Now; public new DateTimeOffset Timestamp = DateTimeOffset.Now;
public DummyMessage(string text, bool isAction = false) public DummyMessage(string text, bool isAction = false)