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