예제 #1
0
 TestRunnerResult CatchExceptions(TestRunnerDelegate func)
 {
     try
     {
         return(func());
     }
     catch (Exception ex)
     {
         logger.ExceptionThrown(wrapper.AssemblyFilename, ex);
         return(TestRunnerResult.Failed);
     }
 }