1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

add pinned test case for drawable comment

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-08-08 17:21:02 +07:00
parent 0901333ef3
commit ff860b90a9
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -43,6 +43,9 @@ namespace osu.Game.Tests.Visual.Online
{
AddStep(description, () =>
{
if (description == "Pinned")
comment.Pinned = true;
comment.Message = text;
container.Add(new DrawableComment(comment));
});
@ -59,6 +62,7 @@ namespace osu.Game.Tests.Visual.Online
private static object[] comments =
{
new[] { "Plain", "This is plain comment" },
new[] { "Pinned", "This is pinned comment" },
new[] { "Link", "Please visit https://osu.ppy.sh" },
new[]