Ejemplo n.º 1
0
 /// <summary>
 /// Called from the view when the view is appearing
 /// </summary>
 public void OnAppearing()
 {
     if (Options.AutoRun)
     {
         // Don't rerun if we navigate back
         Options.AutoRun = false;
         RunTestsCommand.Execute(null);
     }
 }
Ejemplo n.º 2
0
        private void OnRunTest(object sender, EventArgs <TestMethod> e)
        {
            var testItem = SelectTestItem(e.Value);

            if (RunTestsCommand.CanExecute(testItem))
            {
                RunTestsCommand.Execute(testItem);
            }
        }
Ejemplo n.º 3
0
 public SettingsDialogViewModel(Window aWindow)
 {
     KernelTypesToRun = new ObservableCollection <Type>(stableKernelTypes);
     RunTests         = new RunTestsCommand(aWindow, this);
 }