Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void ClickingDisabledRadioButtonDoesNotCauseTheOthersToUnselect() { if (mouse == null) return; //ncrunch: no coverage var buttons = dialog.Get<List<RadioButton>>(); buttons[2].IsEnabled = false; PressAndReleaseMouse(new Vector2D(0.35f, 0.5f)); PressAndReleaseMouse(new Vector2D(0.35f, 0.6f)); Assert.IsTrue(buttons[1].State.IsSelected); Assert.IsFalse(buttons[2].State.IsSelected); }
See Also