mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:43:22 +08:00
Update tests to reflect new expected behaviour
This commit is contained in:
parent
e9d52aa954
commit
19297375e2
@ -99,15 +99,15 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tests expanding a container will expand underlying groups if contracted.
|
||||
/// Tests expanding a container will not expand underlying groups if they were manually contracted by the user.
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void TestExpandingContainerExpandsContractedGroup()
|
||||
public void TestExpandingContainerDoesNotExpandContractedGroup()
|
||||
{
|
||||
AddStep("contract group", () => toolboxGroup.Expanded.Value = false);
|
||||
|
||||
AddStep("expand container", () => container.Expanded.Value = true);
|
||||
AddAssert("group expanded", () => toolboxGroup.Expanded.Value);
|
||||
AddAssert("group not expanded", () => !toolboxGroup.Expanded.Value);
|
||||
AddAssert("controls expanded", () => slider1.Expanded.Value && slider2.Expanded.Value);
|
||||
|
||||
AddStep("contract container", () => container.Expanded.Value = false);
|
||||
|
Loading…
Reference in New Issue
Block a user