Changeset 17825 for branches/3040_VectorBasedGP/HeuristicLab.Tests/HeuristicLab-3.3/PluginDependenciesTest.cs
- Timestamp:
- 01/27/21 14:10:56 (4 years ago)
- Location:
- branches/3040_VectorBasedGP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3040_VectorBasedGP
- Property svn:mergeinfo changed
-
branches/3040_VectorBasedGP/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Tests merged: 17492,17584,17754,17781,17796-17797,17820,17823-17824
- Property svn:mergeinfo changed
-
branches/3040_VectorBasedGP/HeuristicLab.Tests/HeuristicLab-3.3/PluginDependenciesTest.cs
r17180 r17825 39 39 [ClassInitialize] 40 40 public static void MyClassInitialize(TestContext testContext) { 41 loadedPlugins = PluginLoader.Assemblies.Where(PluginLoader.IsPluginAssembly).ToDictionary(a => a, GetPluginFromAssembly); 41 try { 42 loadedPlugins = PluginLoader.Assemblies.Where(PluginLoader.IsPluginAssembly).ToDictionary(a => a, GetPluginFromAssembly); 43 } catch (BadImageFormatException e) { 44 var message = string.Join(Environment.NewLine, "Could not load all types. Check if test process architecture is set to x64.", string.Empty, "Exception:", e); 45 Assert.Fail(message); 46 } 47 42 48 pluginNames = loadedPlugins.ToDictionary(a => a.Key.GetName().FullName, a => GetPluginName(a.Value)); 43 49
Note: See TracChangeset
for help on using the changeset viewer.