Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5168


Ignore:
Timestamp:
12/23/10 11:31:30 (14 years ago)
Author:
mkommend
Message:

Corrected plugin check in unit tests (ticket #1351).

Location:
trunk/sources/HeuristicLab/3.3/Tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/3.3/Tests/CloningConstructorTest.cs

    r5151 r5168  
    2222      foreach (Type deepCloneableType in ApplicationManager.Manager.GetTypes(typeof(IDeepCloneable))) {
    2323        //test only types contained in HL plugin assemblies
    24         if (!PluginLoader.pluginAssemblies.Contains(deepCloneableType.Assembly)) break;
     24        if (!PluginLoader.pluginAssemblies.Contains(deepCloneableType.Assembly)) continue;
    2525
    2626        bool found = false;
  • trunk/sources/HeuristicLab/3.3/Tests/StorableConstructorTest.cs

    r5151 r5168  
    2626        .Where(t => StorableClassAttribute.IsStorableClass(t))) {
    2727        //test only types contained in HL plugin assemblies
    28         if (!PluginLoader.pluginAssemblies.Contains(storableType.Assembly)) break;
     28        if (!PluginLoader.pluginAssemblies.Contains(storableType.Assembly)) continue;
    2929
    3030        IEnumerable<ConstructorInfo> ctors = storableType.GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
Note: See TracChangeset for help on using the changeset viewer.