public override void UpdateTestResult(TestResult result) { // Code duplication - taken from NUnitTestProject int lastDot = result.Name.LastIndexOf('.'); if (lastDot < 0) { return; } string fixtureName = result.Name.Substring(0, lastDot); string memberName = result.Name.Substring(lastDot + 1); MSTestClass testClass = GetMSTestClass(new FullTypeName(fixtureName)); MSTestMember test = testClass.FindTestMember(memberName); if (test != null) { test.UpdateTestResult(result); } }
protected override bool IsTestClass(ITypeDefinition typeDefinition) { return(MSTestClass.IsTestClass(typeDefinition)); }