mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 08:12:56 +08:00
Rename method for better comprehension
This commit is contained in:
parent
b521405ec8
commit
f35a07fee7
@ -37,7 +37,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
foreach (var item in items.Reverse().SkipLast(3))
|
foreach (var item in items.Reverse().SkipLast(3))
|
||||||
AddStep($"Remove {item} item", () => header.RemoveItem(item));
|
AddStep($"Remove {item} item", () => header.RemoveItem(item));
|
||||||
|
|
||||||
AddStep("Clear item", () => header.ClearItem());
|
AddStep("Clear items", () => header.ClearItems());
|
||||||
|
|
||||||
foreach (var item in items)
|
foreach (var item in items)
|
||||||
AddStep($"Add {item} item", () => header.AddItem(item));
|
AddStep($"Add {item} item", () => header.AddItem(item));
|
||||||
@ -66,7 +66,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
Current.Value = TabControl.Items.LastOrDefault();
|
Current.Value = TabControl.Items.LastOrDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ClearItem()
|
public void ClearItems()
|
||||||
{
|
{
|
||||||
TabControl.Clear();
|
TabControl.Clear();
|
||||||
Current.Value = null;
|
Current.Value = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user