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 IfValuesAreChangedButStillContainSelectedValueItRemainsSelected() { var newValues = new List<object> { 1, "value 1", 2 }; dropdownList.Values = newValues; Assert.AreEqual(newValues, dropdownList.Values); Assert.AreEqual("value 1", dropdownList.SelectedValue); Assert.AreEqual(3, dropdownList.SelectBox.texts.Count); }
See Also