//---------------------------------------------------------------------
        void OnCoverageRateBuilt(CoverageRate coverageRate, string coveragePath)
        {
            if (coverageRate == null)
            {
                outputWindowWriter.WriteLine("The execution of the previous line failed." +
                                             " Please execute the previous line in a promt" +
                                             " command to have more information about the issue.");
                throw new VSPackageException("Cannot generate coverage. See output pane for more information");
            }
            outputWindowWriter.WriteLine("Coverage written in " + coveragePath);

            coverageTreeManager.ShowTreeCoverage(this.dte, this.coverageViewManager, coverageRate);
            this.coverageViewManager.CoverageRate = coverageRate;
        }
Exemplo n.º 2
0
        //---------------------------------------------------------------------
        public void ShowCoverageTree()
        {
            var coverageTreeManager = new CoverageTreeManager(windowFinder);

            coverageTreeManager.ShowTreeCoverage();
        }