コード例 #1
0
 //---------------------------------------------------------------------
 static void AssertCoverage(
     BaseCoverage coverage,
     int expectedCoverLineCount,
     int expectedTotalLineCount)
 {
     Assert.AreEqual(expectedCoverLineCount, coverage.CoverLineCount);
     Assert.AreEqual(expectedTotalLineCount, coverage.TotalLineCount);
 }
コード例 #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);
 }