Ejemplo n.º 1
0
 public TestSuiteView getTestSuiteView()
 {
     if (testSuiteView == null)
     {
         testSuiteView = new TestSuiteView(mainWindow);
     }
     return(testSuiteView);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Boots the application.
        /// </summary>
        /// <param name="args">
        /// Parameters for the application startup.
        /// </param>
        public void Boot(params string[] args)
        {
            var masterView = new TestSuiteView();

            runnerConfigView = new RunnerConfigView();

            if (args != null && args.Length != 0)
            {
                var macroToExecute = args[0];
                ((PlayMacroCommand)masterView.MacroPresenter.PlayMacroCommand).Execute(macroToExecute);
            }
            else
            {
                Application.Run(masterView);
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Boots the application.
        /// </summary>
        /// <param name="args">
        /// Parameters for the application startup.
        /// </param>
        public void Boot(params string[] args)
        {
            var masterView = new TestSuiteView();

            runnerConfigView = new RunnerConfigView();

            if (args != null && args.Length != 0)
            {
                var macroToExecute = args[0];
                //quiet mode?
                var quiet = false;
                if (args.Length > 1 && (args[1].ToLower() == "-quiet" || args[1].ToLower() == "-q"))
                {
                    quiet = true;
                }

                ((PlayMacroCommand)masterView.MacroPresenter.PlayMacroCommand).Execute(macroToExecute, quiet);
            }
            else
            {
                Application.Run(masterView);
            }
        }
Ejemplo n.º 4
0
 private void OpenTestSuiteEdit(object sender, RoutedEventArgs e)
 {
     testSuiteView = mainController.getTestSuiteView();
     this.refreshContent(testSuiteView);
 }