Changeset 6231
- Timestamp:
- 05/18/11 10:55:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceSpeedUp/HeuristicLab/3.3/Tests/StorableConstructorTest.cs
r5306 r6231 23 23 StringBuilder errorMessage = new StringBuilder(); 24 24 25 foreach (Type storableType in ApplicationManager.Manager.GetTypes(typeof(object)) 26 .Where(t => StorableClassAttribute.IsStorableClass(t))) { 27 //test only types contained in HL plugin assemblies 28 if (!PluginLoader.Assemblies.Contains(storableType.Assembly)) continue; 25 foreach (Type storableType in ApplicationManager.Manager.GetTypes(typeof(object))) { 26 //test only storable types contained in HL plugin assemblies 27 if (!PluginLoader.Assemblies.Contains(storableType.Assembly) || 28 !storableType.GetCustomAttributes(typeof(StorableClassAttribute), false).Any()) 29 continue; 29 30 30 31 IEnumerable<ConstructorInfo> ctors = storableType.GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
Note: See TracChangeset
for help on using the changeset viewer.