Example #1
0
 public static bool IsTestMethod(MethodInfo method)
 {
     return(Reflect.HasAttribute(method, typeof(TestAttribute)));
 }
Example #2
0
 protected void InvokeMethod(MethodInfo method, params object[] args)
 {
     Reflect.InvokeMethod(method, this.fixture, args);
 }
Example #3
0
 private bool IsTestMethod(MethodInfo method)
 {
     return(method.Name.ToLower().StartsWith("test") ||
            Reflect.HasAttribute(method, typeof(TestAttribute)));
 }