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