示例#1
0
 private void Report(Exception x)
 {
     TestPlatform.PrintStackTrace(TestPlatform.GetStdErr(), x);
 }
 protected virtual bool IsTestMethod(MethodInfo method)
 {
     return(HasTestPrefix(method) && TestPlatform.IsPublic(method) && !TestPlatform.IsStatic
                (method) && !TestPlatform.HasParameters(method));
 }
示例#3
0
 public virtual int Run()
 {
     return(Run(TestPlatform.GetStdErr()));
 }