/// <summary>
        /// Clears any code coverage results currently on display.
        /// </summary>
        public static void ClearResults()
        {
            CodeCoveragePad pad = CodeCoveragePad.Instance;

            if (pad != null)
            {
                pad.ClearCodeCoverageResults();
            }
            HideCodeCoverage();
            results.Clear();
        }
        /// <summary>
        /// Shows the code coverage results in the code coverage pad and
        /// highlights any source code files that have been profiled.
        /// </summary>
        public static void ShowResults(CodeCoverageResults results)
        {
            CodeCoverageService.results.Add(results);
            CodeCoveragePad pad = CodeCoveragePad.Instance;

            if (pad != null)
            {
                pad.ShowResults(results);
            }
            RefreshCodeCoverageHighlights();
        }
Exemplo n.º 3
0
		public CodeCoveragePad()
		{
			instance = this;
			
			codeCoverageControl = new CodeCoverageControl();
			codeCoverageControl.UpdateToolbar();
					
			ProjectService.SolutionClosed += SolutionClosed;
			ProjectService.SolutionLoaded += SolutionLoaded;
			
			ShowSourceCodePanel = CodeCoverageOptions.ShowSourceCodePanel;
			ShowVisitCountPanel = CodeCoverageOptions.ShowVisitCountPanel;
		}
Exemplo n.º 4
0
        public CodeCoveragePad()
        {
            instance = this;

            codeCoverageControl = new CodeCoverageControl();
            codeCoverageControl.UpdateToolbar();

            ProjectService.SolutionClosed += SolutionClosed;
            ProjectService.SolutionLoaded += SolutionLoaded;

            ShowSourceCodePanel = CodeCoverageOptions.ShowSourceCodePanel;
            ShowVisitCountPanel = CodeCoverageOptions.ShowVisitCountPanel;
        }