Beispiel #1
0
        protected DashboardViewModel()
        {
            ClassLookup              = LookupEditViewModel.CreateLookupEdit();
            TestClassLookup          = LookupEditViewModel.CreateLookupEdit();
            BtnAnalyze               = ControlViewModel.Create();
            ChkIncludePartialClasses = ControlViewModel.CreateWithChecked();
            ChkNestedClasses         = ControlViewModel.Create();

            InitializeFolders();
        }
 protected MutantViewerViewModel(SourceClassDetail source)
 {
     _source                           = source;
     _silently                         = false;
     MutantList                        = ListBoxEditViewModel.CreateListBoxEdit();
     _outputLogger                     = new CommandPromptOutputLogger();
     ChkExecuteAllTests                = ControlViewModel.Create();
     ChkEnableDiagnostic               = ControlViewModel.Create();
     ChkEnableCodeCoverage             = ControlViewModel.CreateWithChecked();
     ChkAnalyzeExternalCoverage        = ControlViewModel.Create();
     ChkOptimizeTestProject            = ControlViewModel.CreateWithChecked();
     ChkUseClassFilter                 = ControlViewModel.CreateWithChecked();
     ChkRealTimeAnalysis               = ControlViewModel.Create();
     _testDiagnosticDocumentViewModel  = _outputLogger.GetLogFromOutput("Test Diagnostics Window", string.Empty);
     _buildDiagnosticDocumentViewModel = _outputLogger.GetLogFromOutput("Build Diagnostics Window", string.Empty);
     InitItemSources();
     _directoryFactory              = new TestDirectoryFactory(_source);
     _mutantInitializer             = new MutantInitializer(_source);
     _previousMutants               = new Dictionary <string, MutantStatus>();
     _isRealMutationAnalysisRunning = false;
     _isClosed = false;
 }