···5959 }
60606161 /// <summary>
6262- /// Tests that if a drawable is removed from the hierarchy (or is otherwise removed from the input queues),
6363- /// it won't receive an OnKeyDown() event for every subsequent repeat.
6262+ /// Tests that a drawable that is removed from the hierarchy (or is otherwise removed from the input queues) won't receive OnKeyDown() events for every subsequent repeat.
6463 /// </summary>
6564 [Test]
6665 public void TestNoLongerValidDrawableDoesNotReceiveRepeat()
···7776 });
78777978 AddStep("press key", () => InputManager.PressKey(Key.A));
7979+ AddUntilStep("wait for repeat on receptor 0", () => receptors[0].RepeatReceived);
80808181 AddStep("remove receptor 0 & reset repeat", () =>
8282 {
···9090 }
91919292 /// <summary>
9393- /// Tests that a drawable that was previously removed from the hierarchy receives OnKeyDown() for repeat events if the drawable previously received OnKeyDown().
9393+ /// Tests that a drawable that was previously removed from the hierarchy receives repeat OnKeyDown() events when re-added to the hierarchy,
9494+ /// if it previously received a non-repeat OnKeyDown() event.
9495 /// </summary>
9596 [Test]
9697 public void TestReValidatedDrawableReceivesRepeat()
+5-3
osu.Framework.Tests/Input/MouseInputTest.cs
···1616 public class MouseInputTest : ManualInputManagerTestScene
1717 {
1818 /// <summary>
1919- /// Tests that if a drawable is removed from the hierarchy (or is otherwise removed from the input queues),
2020- /// it won't receive an OnClick() event on mouse up.
1919+ /// Tests that a drawable that is removed from the hierarchy (or is otherwise removed from the input queues) does not receive an OnClick() event on mouse up.
2120 /// </summary>
2221 [Test]
2322 public void TestNoLongerValidDrawableDoesNotReceiveClick()
···4342 }
44434544 /// <summary>
4646- /// Tests that a drawable that is removed and re-added to the hierarchy can still handle OnClick().
4545+ /// Tests that a drawable that is removed and re-added to the hierarchy still receives an OnClick() event.
4746 /// </summary>
4847 [Test]
4948 public void TestReValidatedDrawableReceivesClick()
···6968 AddAssert("receptor 0 received click", () => receptors[0].ClickReceived);
7069 }
71707171+ /// <summary>
7272+ /// Tests that a drawable that is removed from the hierarchy (or is otherwise removed from the input queues) does not receive an OnDoubleClick() event.
7373+ /// </summary>
7274 [Test]
7375 public void TestNoLongerValidDrawableDoesNotReceiveDoubleClick()
7476 {