public void ComboBox_OnLoad_IsInitializedCorrectly()
        {
            ComboBox combo = Combos["configurationComboBox"];

            dlg.Show();
            Assert.AreEqual(3, combo.Items.Count);
            Assert.AreEqual("<none>", combo.Items[0]);
            Assert.AreEqual("Debug", combo.Items[1]);
            Assert.AreEqual("Release", combo.Items[2]);
            Assert.AreEqual("<none>", combo.SelectedItem);
        }
Пример #2
0
        public void CheckComboBox()
        {
            ComboBox combo = Combos["configurationComboBox"];

            dlg.Show();
            Assert.AreEqual(3, combo.Items.Count);
            Assert.AreEqual("<none>", combo.Items[0]);
            Assert.AreEqual("Debug", combo.Items[1]);
            Assert.AreEqual("Release", combo.Items[2]);
            Assert.AreEqual("Debug", combo.SelectedItem);
        }