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