コード例 #1
0
        public void LoadData_OverloadedMethod_ParseAllInstances()
        {
            Assert.Inconclusive("not Supported yet - need to add method true signature");
            var target = new VSCoverageParser();
            target.LoadData("ctor.xml");
            var actual = target.Data;

            Assert.AreEqual(1, actual.Count);
            Assert.IsTrue(actual.Contains(new CoverageDataEntry("Class1", ".ctor", 100)));
        }
コード例 #2
0
 public void LoadData_InvalidFileName_throwsException()
 {
     var target = new VSCoverageParser();
     target.LoadData("NoSuchFile.xml");
 }
コード例 #3
0
 public void MyTestInitialize()
 {
     _target = new VSCoverageParser();
     _target.LoadData(@"unitTestdata\VSCoverageFiles\DummyProject.coverage");
 }