25 public static bool IsTestMethod(MethodInfo mi)
27 ParameterInfo[] args = mi.GetParameters();
28 bool correctSignature = args.Length == 1 && args[0].ParameterType == typeof(
CUIComponent);
29 bool shoudIgnore = Attribute.IsDefined(mi, typeof(IgnoreAttribute));
31 return mi.IsStatic && mi.IsPublic && correctSignature && !shoudIgnore;