Esempio n. 1
0
 //---------------------------------------------------------------------
 static void AssertCoverage(
     BaseCoverage coverage,
     int expectedCoverLineCount,
     int expectedTotalLineCount)
 {
     Assert.AreEqual(expectedCoverLineCount, coverage.CoverLineCount);
     Assert.AreEqual(expectedTotalLineCount, coverage.TotalLineCount);
 }
Esempio n. 2
0
 //-----------------------------------------------------------------------
 public BasicCoverageTreeNode(
     string name,
     BaseCoverage coverage,
     string iconFilename,
     bool isLeaf)
 {
     this.name        = name;
     this.coverage    = coverage;
     this.LazyLoading = !isLeaf;
     this.icon        = LoadIcon(iconFilename);
 }