Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/21/10 16:39:56 (13 years ago)
Author:
mkommend
Message:

Corrected CloningConstructorTest and StorableConstructorTest to test only HL plugin assemblies (ticket #1351).

File:
1 edited

Legend:

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

    r4512 r5151  
    1010  internal static class PluginLoader {
    1111    public const string AssemblyExtension = ".dll";
     12    public const string TestAccessorAssemblyExtension = "_Accessor.dll";
     13    public const string TestAssemblyExtension = ".test.dll";
    1214    public static List<Assembly> pluginAssemblies;
    1315
    1416    static PluginLoader() {
    1517      foreach (string path in Directory.EnumerateFiles(Environment.CurrentDirectory)
    16         .Where(s => s.EndsWith(AssemblyExtension)))
     18        .Where(s => s.EndsWith(AssemblyExtension) && !s.EndsWith(TestAccessorAssemblyExtension) && !s.EndsWith(TestAssemblyExtension)))
    1719        Assembly.LoadFrom(path);
    1820
Note: See TracChangeset for help on using the changeset viewer.