Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NCoverExplorer"/> class.
 /// </summary>
 public NCoverExplorer()
 {
     _configName = string.Empty;
     _satisfactoryCoverage = 100;
     _minimumCoverage = 100;
     _reportType = CoverageReportType.ModuleSummary;
     _treeSortStyle = TreeSortStyle.Name;
     _treeFilterStyle = TreeFilterStyle.None;
 }
Ejemplo n.º 2
0
 public static bool ValueIncluded(this CoverageReportType c, CoverageReportType t)
 {
     return((c & t) == t);
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NCoverExplorerTask"/> class.
        /// </summary>
        public NCoverExplorerTask()
        {
            _coverageFiles = new FileSet();
            _configName = string.Empty;
            _satisfactoryCoverage = 100;
            _minimumCoverage = 100;
            _reportType = CoverageReportType.ModuleSummary;
            _treeSortStyle = TreeSortStyle.Name;
            _treeFilterStyle = TreeFilterStyle.None;

            _programArguments = new StringBuilder();
            _coverageExclusions = new CoverageExclusionCollection();
            _moduleThresholds = new ModuleThresholdCollection();

            ExeName = DefaultApplicationName;
        }
 public virtual void AddReportOutput(CoverageReportType reportType, ReportOutputFormats format)
 {
     this.AddReportOutput(new ReportOutputData {
         Format = format, ReportType = reportType
     });
 }