private void PlugIn1_TextChanged(TextChangedEventArgs ea) { if (_currentTestData != null && _currentTestData.Result.Status != TestStatus.Unknown) { _currentTestData.Result = new TestResult(); DxCoreUtil.Invalidate(_currentTestData.Method); } }
private void PlugIn1_OptionsChanged(OptionsChangedEventArgs ea) { if (ea.OptionsPages.Contains(typeof(OptRedGreenPlugIn))) { LoadSettings(); DxCoreUtil.Invalidate(CodeRush.Source.ActiveClass); } }
/// <summary> /// Handle the end of tests event /// </summary> private void runner_AllTestsComplete(object sender, AllTestsCompleteEventArgs args) { string overview = string.Format("\n{0} passed, {1} failed, {2} skipped, duration: {3} seconds\n", args.PassCount, args.FailCount, args.SkipCount, args.Duration); WriteToTestPane(overview); CodeRush.Windows.Active.DTE.StatusBar.Text = overview; CreateFailedTestList(); DxCoreUtil.Invalidate(CodeRush.Source.ActiveClass); }