mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 22:07:25 +08:00
Enable NRT
This commit is contained in:
parent
fba6349c65
commit
1a33bfbb3a
@ -1,8 +1,6 @@
|
|||||||
// 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.
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
@ -99,7 +97,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
|
|
||||||
private void addMessageWithChecks(string text, bool isAction = false, bool isImportant = false, params LinkAction[] expectedActions)
|
private void addMessageWithChecks(string text, bool isAction = false, bool isImportant = false, params LinkAction[] expectedActions)
|
||||||
{
|
{
|
||||||
ChatLine newLine = null;
|
ChatLine newLine = null!;
|
||||||
|
|
||||||
AddStep("add message", () =>
|
AddStep("add message", () =>
|
||||||
{
|
{
|
||||||
@ -138,7 +136,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
addEchoWithWait("[https://dev.ppy.sh/forum let's try multiple words too!]");
|
addEchoWithWait("[https://dev.ppy.sh/forum let's try multiple words too!]");
|
||||||
addEchoWithWait("(long loading times! clickable while loading?)[https://dev.ppy.sh/home]", null, 5000);
|
addEchoWithWait("(long loading times! clickable while loading?)[https://dev.ppy.sh/home]", null, 5000);
|
||||||
|
|
||||||
void addEchoWithWait(string text, string completeText = null, double delay = 250)
|
void addEchoWithWait(string text, string? completeText = null, double delay = 250)
|
||||||
{
|
{
|
||||||
int index = messageIndex++;
|
int index = messageIndex++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user