mirror of
https://github.com/osukey/osukey.git
synced 2025-05-26 07:57:32 +09:00
Fix test matching conditions
This commit is contained in:
parent
c57a918bbb
commit
a0ac316d6e
@ -49,7 +49,8 @@ namespace osu.Game.Tests.Visual.Settings
|
|||||||
AddAssert("ensure all items match filter", () => settings.SectionsContainer
|
AddAssert("ensure all items match filter", () => settings.SectionsContainer
|
||||||
.ChildrenOfType<SettingsSection>().Where(f => f.IsPresent)
|
.ChildrenOfType<SettingsSection>().Where(f => f.IsPresent)
|
||||||
.All(section =>
|
.All(section =>
|
||||||
section.ChildrenOfType<Drawable>().Where(f => f.IsPresent)
|
section.Children.Where(f => f.IsPresent)
|
||||||
|
.OfType<ISettingsItem>()
|
||||||
.OfType<IFilterable>()
|
.OfType<IFilterable>()
|
||||||
.Where(f => !(f is IHasFilterableChildren))
|
.Where(f => !(f is IHasFilterableChildren))
|
||||||
.All(f => f.FilterTerms.Any(t => t.Contains("scaling")))
|
.All(f => f.FilterTerms.Any(t => t.Contains("scaling")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user