mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 07:32:55 +08:00
Add step to TestSceneChannelListItem
to actually select an item
This commit is contained in:
parent
692362131e
commit
5104e4db21
@ -3,6 +3,7 @@
|
||||
|
||||
using NUnit.Framework;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
@ -114,6 +115,8 @@ namespace osu.Game.Tests.Visual.Online
|
||||
[Test]
|
||||
public void TestVisual()
|
||||
{
|
||||
AddStep("Select second item", () => selected.Value = channels.Skip(1).First());
|
||||
|
||||
AddStep("Unread Selected", () =>
|
||||
{
|
||||
if (selected.Value != null)
|
||||
|
Loading…
Reference in New Issue
Block a user