コード例 #1
0
        public void ModalFormDoesntShow()
        {
            ModalMultiForm f = new ModalMultiForm();

            f.Show();
            ModalFormHandler = handler;
            f.Close();
            Verify();
        }
コード例 #2
0
        public void TestModalForm()
        {
            ExpectModal("Form-0", new ModalFormActivated(ClickHandler));

            ModalMultiForm form = new ModalMultiForm();

            form.Show();

            ButtonTester buttonOne = new ButtonTester("myButton", "Form");

            buttonOne.Click();
        }
コード例 #3
0
        public void TestModalForm()
        {
            ModalMultiForm form = new ModalMultiForm();

            form.Show();

            ButtonTester buttonOne = new ButtonTester("myButton", "Form");

            ModalFormHandler = handler;
            buttonOne.Click();
            form.Close();
            Verify();
        }