private void ToUnitTestResult(NUnit.Core.Test test) { if (test.IsSuite) { ToUnitTestResult(test.Tests); } else { UpdateTest(test.UnitTestResult()); } }
private void ToUnitTestResult(NUnit.Core.Test test) { if (test.IsSuite) { ToUnitTestResult(test.Tests); } else { if (test is TestMethod) { var tm = test as TestMethod; if (tm.Method.DeclaringType != tm.Method.ReflectedType) { return; } } UpdateTest(test.UnitTestResult()); } }