Example #1
0
 private void tryToConfigure(CoreSection core)
 {
     try
     {
         _watchDirectories = core.WatchDirectories.ToArray();
         _buildExecutables = core.BuildExecutables;
         _nunitTestRunners = core.NUnitTestRunner;
         _msTestRunner = core.MSTestRunner;
         _xunitTestRunner = core.XUnitTestRunner;
         _codeEditor = core.CodeEditor;
         _debuggingEnabled = core.DebuggingEnabled;
     }
     catch (Exception ex)
     {
         DebugLog.Debug.FailedToConfigure(ex);
         throw;
     }
 }
Example #2
0
        private void tryToConfigure(CoreSection core)
        {
            try
            {
                _watchDirectories = core.WatchDirectories.ToArray();
                _buildExecutables = core.BuildExecutables;
                _nunitTestRunners = core.NUnitTestRunner;
                _msTestRunner = core.MSTestRunner;
                _xunitTestRunner = core.XUnitTestRunner;
                _codeEditor = core.CodeEditor;
                _debuggingEnabled = core.DebuggingEnabled;
				GrowlNotify = core.GrowlNotify;
				NotifyOnRunStarted = core.NotifyOnRunStarted;
				NotifyOnRunCompleted = core.NotifyOnRunCompleted;
				_ignoreFile = core.WatchIgnoreFile;
            }
            catch (Exception ex)
            {
                DebugLog.Debug.FailedToConfigure(ex);
                throw;
            }
        }
Example #3
0
        private void tryToConfigure(CoreSection core)
        {
            try
            {
                _watchDirectories = core.WatchDirectories.Value;
                _buildExecutables.AddRange(core.BuildExecutables.Value);
                _nunitTestRunners.AddRange(core.NUnitTestRunner.Value);
                _msTestRunner.AddRange(core.MSTestRunner.Value);
                _xunitTestRunner.AddRange(core.XUnitTestRunner.Value);
                _codeEditor = core.CodeEditor.Value;
                _debuggingEnabled = core.DebuggingEnabled.Value;
				GrowlNotify = core.GrowlNotify.Value;
				NotifyOnRunStarted = core.NotifyOnRunStarted.Value;
				NotifyOnRunCompleted = core.NotifyOnRunCompleted.Value;
				TestAssembliesToIgnore = core.TestAssembliesToIgnore.Value;
				TestCategoriesToIgnore = core.TestCategoriesToIgnore.Value;
				_ignoreFile = core.WatchIgnoreFile.Value;
				FileChangeBatchDelay = core.FileChangeBatchDelay.Value;
            }
            catch (Exception ex)
            {
                DebugLog.Debug.FailedToConfigure(ex);
                throw;
            }
        }
Example #4
0
		private void mergeCodeEditor(ConfigItem<CodeEditor> settingToMerge)
		{
			if (!settingToMerge.WasReadFromConfig)
				return;
			if (settingToMerge.ShouldExclude)
			{
				_codeEditor = new CodeEditor("", "");
				return;
			}
			_codeEditor = settingToMerge.Value;
		}
Example #5
0
		private void tryToConfigure(CoreSection core)
        {
            try
            {
                StartPaused = core.StartPaused.Value;
                _watchDirectories = core.WatchDirectories.Value;
                _buildExecutables.AddRange(core.BuildExecutables.Value);
                _nunitTestRunners.AddRange(core.NUnitTestRunner.Value);
                _msTestRunner.AddRange(core.MSTestRunner.Value);
                _xunitTestRunner.AddRange(core.XUnitTestRunner.Value);
                _mspecTestRunner.AddRange(core.MSpecTestRunner.Value);
                _codeEditor = core.CodeEditor.Value;
                _debuggingEnabled = core.DebuggingEnabled.Value;
                MSBuildAdditionalParameters = core.MSBuildAdditionalParameters.Value;
                MSBuildParallelBuildCount = core.MSBuildParallelBuildCount.Value;
				GrowlNotify = core.GrowlNotify.Value;
				NotifyOnRunStarted = core.NotifyOnRunStarted.Value;
				NotifyOnRunCompleted = core.NotifyOnRunCompleted.Value;
				TestAssembliesToIgnore = core.TestAssembliesToIgnore.Value;
				TestCategoriesToIgnore = core.TestCategoriesToIgnore.Value;
				_ignoreFile = core.WatchIgnoreFile.Value;
				FileChangeBatchDelay = core.FileChangeBatchDelay.Value;
				CustomOutputPath = core.CustomOutputPath.Value;
				RerunFailedTestsFirst = core.RerunFailedTestsFirst.Value;
                WhenWatchingSolutionBuildSolution = core.WhenWatchingSolutionBuildSolution.Value;
                UseAutoTestTestRunner = core.UseAutoTestTestRunner.Value;
                UseLowestCommonDenominatorAsWatchPath = core.UseLowestCommonDenominatorAsWatchPath.Value;
                WatchAllFiles = core.WatchAllFiles.Value;
                RunAssembliesInParallel = core.RunAssembliesInParallel.Value;
                TestRunnerCompatibilityMode = core.TestRunnerCompatibilityMode.Value;
                LogRecycleSize = core.LogRecycleSize.Value;
                ProjectsToIgnore = core.ProjectsToIgnore.Value;
                _keys = core.Keys;
            }
            catch (Exception ex)
            {
                DebugLog.Debug.FailedToConfigure(ex);
                throw;
            }
        }