mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
603527d72d
Test failed locally in `TestPublicChannelMention`. This test seems to specify that the same message may arrive twice with the same ID, so rather than overthinking this one I propose we just use `FirstOrDefault`. ```csharp TearDown : System.AggregateException : One or more errors occurred. (Sequence contains more than one matching element) ----> System.InvalidOperationException : Sequence contains more than one matching element --TearDown at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at osu.Framework.Extensions.TaskExtensions.WaitSafely(Task task) at osu.Framework.Testing.TestScene.checkForErrors() --InvalidOperationException at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at osu.Game.Overlays.Chat.DrawableChannel.<processMessageHighlighting>b__14_0() in /Users/dean/Projects/osu/osu.Game/Overlays/Chat/DrawableChannel.cs:line 102 at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal() ``` |
||
---|---|---|
.. | ||
AccountCreation | ||
BeatmapListing | ||
BeatmapSet | ||
Changelog | ||
Chat | ||
Comments | ||
Dashboard | ||
Dialog | ||
Login | ||
MedalSplash | ||
Mods | ||
Music | ||
News | ||
Notifications | ||
OSD | ||
Profile | ||
Rankings | ||
Settings | ||
Toolbar | ||
Volume | ||
Wiki | ||
AccountCreationOverlay.cs | ||
BeatmapListingOverlay.cs | ||
BeatmapSetOverlay.cs | ||
BreadcrumbControlOverlayHeader.cs | ||
ChangelogOverlay.cs | ||
ChatOverlay.cs | ||
DashboardOverlay.cs | ||
DialogOverlay.cs | ||
FullscreenOverlay.cs | ||
HoldToConfirmOverlay.cs | ||
INamedOverlayComponent.cs | ||
LoginOverlay.cs | ||
MedalOverlay.cs | ||
MusicController.cs | ||
NewsOverlay.cs | ||
NotificationOverlay.cs | ||
NowPlayingOverlay.cs | ||
OnlineOverlay.cs | ||
OnScreenDisplay.cs | ||
OverlayActivation.cs | ||
OverlayColourProvider.cs | ||
OverlayHeader.cs | ||
OverlayHeaderBackground.cs | ||
OverlayPanelDisplayStyleControl.cs | ||
OverlayRulesetSelector.cs | ||
OverlayRulesetTabItem.cs | ||
OverlayScrollContainer.cs | ||
OverlaySidebar.cs | ||
OverlaySortTabControl.cs | ||
OverlayStreamControl.cs | ||
OverlayStreamItem.cs | ||
OverlayTabControl.cs | ||
OverlayTitle.cs | ||
OverlayView.cs | ||
RankingsOverlay.cs | ||
RestoreDefaultValueButton.cs | ||
SettingsOverlay.cs | ||
SettingsPanel.cs | ||
SettingsSubPanel.cs | ||
SettingsToolboxGroup.cs | ||
SortDirection.cs | ||
TabbableOnlineOverlay.cs | ||
TabControlOverlayHeader.cs | ||
UserProfileOverlay.cs | ||
VersionManager.cs | ||
VolumeOverlay.cs | ||
WaveOverlayContainer.cs | ||
WikiOverlay.cs |