/// <summary>
 /// Creates a keyboard controller and sets the focus on the control
 /// indicated by the supplied ControlTester.
 /// </summary>
 /// <param name="controlTester">The ControlTester to use the keyboard
 /// on.</param>
 public KeyboardController(ControlTester controlTester)
 {
     UseOn(controlTester);
 }
示例#2
0
 public CheckBoxTester(ControlTester <CheckBox, CheckBoxTester> tester, int index) : base(tester, index)
 {
 }
示例#3
0
 public RichTextBoxTester(ControlTester <RichTextBox, RichTextBoxTester> tester, int index) : base(tester, index)
 {
 }
示例#4
0
        ///<summary>
        /// Verifies the text of the named control matches the expected text.
        ///</summary>
        public void VerifyText(string controlName, string expectedText)
        {
            ControlTester anyControl = new ControlTester(controlName, targetForm.Properties);

            Assert.AreEqual(expectedText, anyControl.Text);
        }
示例#5
0
 public ControlTester(ControlTester <T, TThis> tester, int index) : base(tester, index)
 {
 }