コード例 #1
0
        public void SelectFromSuggestionList()
        {
            textBox.Enter("h");
            SuggestionList suggestionList = textBox.SuggestionList;

            suggestionList.Select("hello");
            Assert.AreEqual("hello", textBox.Text);
        }
コード例 #2
0
ファイル: TextBoxTest.cs プロジェクト: yonglehou/White
        void SelectFromSuggestionList()
        {
            var textBox = MainWindow.Get <WinFormTextBox>("TextBox");

            textBox.Enter("h");
            SuggestionList suggestionList = textBox.SuggestionList;

            suggestionList.Select("hello");
            Assert.Equal("hello", textBox.Text);
        }