Skip to content

Commit

Permalink
Add test coverage (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Nov 24, 2024
1 parent 9930922 commit 70c7eb6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions osu.Game.Tests/Visual/Online/TestSceneChatOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,29 @@ public void TestKeyboardCloseAndRestoreChannel()
waitForChannel1Visible();
}

[Test]
public void TestPublicChannelsSortedByName()
{
}

[Test]
[Solo]
public void TestPrivateChannelsSortedByRecent()
{
Channel pmChannel1 = createPrivateChannel();
Channel pmChannel2 = createPrivateChannel();

joinChannel(pmChannel1);
joinChannel(pmChannel2);

AddStep("Show overlay", () => chatOverlay.Show());

AddStep("message in channel 2", () =>
{
pmChannel2.AddNewMessages(new Message(1) { Content = "hi!", Sender = new APIUser { Username = "person" } });
});
}

[Test]
public void TestKeyboardNewChannel()
{
Expand Down

0 comments on commit 70c7eb6

Please sign in to comment.