mirror of
https://github.com/ppy/osu
synced 2024-12-23 07:15:46 +00:00
add pinned test case for drawable comment
This commit is contained in:
parent
0901333ef3
commit
ff860b90a9
@ -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[]
|
||||
|
Loading…
Reference in New Issue
Block a user