Example #1
0
        public void init()
        {
            verified = false;

            if (!SystemInformation.UserInteractive)
            {
                isUserInteractive.SetValue(null, true);
            }

            if (UseHidden)
            {
                testDesktop = new Desktop("MbUnitForms Test Desktop", DisplayHidden);
            }

            modal    = new ModalFormTester();
            mouse    = new MouseController();
            keyboard = new KeyboardController();

            Setup();
        }
Example #2
0
        public void init()
        {
            verified = false;

            if (!SystemInformation.UserInteractive)
            {
                isUserInteractive.SetValue(null, true);
            }

            if (UseHidden)
            {
                testDesktop = new Desktop("MbUnitForms Test Desktop", DisplayHidden);
            }

            modal = new ModalFormTester();
            mouse = new MouseController();
            keyboard = new KeyboardController();

            Setup();
        }