public ICollection<ITestClass> GetTestClasses() { ICollection<Type> classes = ReflectionUtility.GetTypesWithAttribute(this.assembly, typeof(TestFixtureAttribute)); List<ITestClass> list = new List<ITestClass>(); foreach(Type type in classes) { ITestClass testClass = new BaseTestClass(this, type); if(!testClass.Ignore) list.Add(testClass); } return list; }
public ICollection <ITestClass> GetTestClasses() { ICollection <Type> classes = ReflectionUtility.GetTypesWithAttribute(this.assembly, typeof(TestFixtureAttribute)); List <ITestClass> list = new List <ITestClass>(); foreach (Type type in classes) { ITestClass testClass = new BaseTestClass(this, type); if (!testClass.Ignore) { list.Add(testClass); } } return(list); }