Esempio n. 1
0
        public void TestContentRestoreOnDispose()
        {
            AddAssert("not visible", () => !overlay.IsPresent);

            AddStep("show", () => overlay.Show());

            AddUntilStep("wait for content dim", () => dimContent.Colour != Color4.White);

            AddStep("expire", () => overlay.Expire());

            AddUntilStep("wait for content restore", () => dimContent.Colour == Color4.White);
        }