private void GetClassAttributes() { Type type = this.GetType(); foreach (Attribute attr in type.GetCustomAttributes(true)) { if (SupportedAttributeTypes.Contains(attr.GetType())) { Attributes.Add((Vji.Test.NfsTestAttribute)attr); } } }
protected NUnitStdTestCaseImpl() : base() { SupportedAttributeTypes.Add(typeof(BootstrapLog4netAttribute)); SupportedAttributeTypes.Add(typeof(BootstrapSpringAttribute)); }