Example #1
0
 private void ToUnitTestResult(NUnit.Core.Test test)
 {
     if (test.IsSuite)
     {
         ToUnitTestResult(test.Tests);
     }
     else
     {
         UpdateTest(test.UnitTestResult());
     }
 }
Example #2
0
 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());
     }
 }