Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/26/10 21:35:24 (14 years ago)
Author:
mkommend
Message:

Corrected the HL3.3 tests project and the unit tests (ticket #1202).

File:
1 edited

Legend:

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

    r4490 r4508  
    1313
    1414    static PluginLoader() {
    15       foreach (string path in Directory.EnumerateFiles(AppDomain.CurrentDomain.BaseDirectory)
     15      foreach (string path in Directory.EnumerateFiles(Environment.CurrentDirectory)
    1616        .Where(s => s.EndsWith(AssemblyExtension)))
    1717        Assembly.LoadFrom(path);
     
    2424        .Where(t => typeof(IPlugin).IsAssignableFrom(t) && !t.IsAbstract && !t.IsInterface).Any();
    2525    }
    26 
    27 
    28     //public static void LoadPluginsIntoAppDomain() {
    29     //  new HeuristicLab.Algorithms.DataAnalysis.HeuristicLabAlgorithmsDataAnalysisPlugin();
    30     //  new HeuristicLab.Algorithms.EvolutionStrategy.HeuristicLabAlgorithmsEvolutionStrategyPlugin();
    31     //  new HeuristicLab.Algorithms.GeneticAlgorithm.HeuristicLabAlgorithmsGeneticAlgorithmPlugin();
    32     //  new HeuristicLab.Algorithms.LocalSearch.HeuristicLabAlgorithmsLocalSearchPlugin();
    33     //  new HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm.HeuristicLabAlgorithmsOffspringSelectionGeneticAlgorithmPlugin();
    34     //  new HeuristicLab.Algorithms.SimulatedAnnealing.HeuristicLabAlgorithmsSimulatedAnnealingPlugin();
    35     //  new HeuristicLab.Algorithms.TabuSearch.HeuristicLabAlgorithmsTabuSearchPlugin();
    36 
    37     //  new HeuristicLab.Analysis.HeuristicLabAnalysisPlugin();
    38     //  new HeuristicLab.Analysis.Views.HeuristicLabAnalysisViewsPlugin();
    39 
    40     //  new HeuristicLab.Clients.Common.HeuristicLabClientsCommonPlugin();
    41     //  new HeuristicLab.CodeEditor.HeuristicLabCodeEditorPlugin();
    42     //  new HeuristicLab.Collections.HeuristicLabCollectionsPlugin();
    43 
    44     //  new HeuristicLab.Common.HeuristicLabCommonPlugin();
    45     //  new HeuristicLab.Common.Resources.HeuristicLabCommonResourcesPlugin();
    46 
    47     //  new HeuristicLab.Core.HeuristicLabCorePlugin();
    48     //  new HeuristicLab.Core.Views.HeuristicLabCoreViewsPlugin();
    49 
    50     //  new HeuristicLab.Data.HeuristicLabDataPlugin();
    51     //  new HeuristicLab.Data.Views.HeuristicLabDataViewsPlugin();
    52 
    53     //  new HeuristicLab.Encodings.BinaryVectorEncoding.HeuristicLabEncodingsBinaryVectorEncodingPlugin();
    54     //  new HeuristicLab.Encodings.IntegerVectorEncoding.HeuristicLabEncodingsIntegerVectorEncodingPlugin();
    55     //  new HeuristicLab.Encodings.PermutationEncoding.HeuristicLabEncodingsPermutationEncodingPlugin();
    56     //  new HeuristicLab.Encodings.PermutationEncoding.Views.HeuristicLabEncodingsPermutationEncodingViewsPlugin();
    57     //  new HeuristicLab.Encodings.RealVectorEncoding.HeuristicLabEncodingsRealVectorEncodingPlugin();
    58     //  new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.HeuristicLabEncodingsSymbolicExpressionTreeEncodingPlugin();
    59     //  new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.HeuristicLabEncodingsSymbolicExpressionTreeEncodingViewsPlugin();
    60 
    61     //  new HeuristicLab.MainForm.HeuristicLabMainFormPlugin();
    62     //  new HeuristicLab.MainForm.WindowsForms.HeuristicLabMainFormPlugin();
    63 
    64     //  new HeuristicLab.Operators.HeuristicLabOperatorsPlugin();
    65     //  new HeuristicLab.Operators.Programmable.HeuristicLabOperatorsProgrammablePlugin();
    66     //  new HeuristicLab.Operators.Views.HeuristicLabOperatorsViewsPlugin();
    67     //  new HeuristicLab.Operators.Views.GraphVisualization.HeuristicLabOperatorsViewsGraphVisualizationPlugin();
    68 
    69     //  new HeuristicLab.Parameters.HeuristicLabParametersPlugin();
    70     //  new HeuristicLab.Parameters.Views.HeuristicLabParametersViewsPlugin();
    71 
    72     //  new HeuristicLab.Persistence.HeuristicLabPersistencePlugin();
    73     //  new HeuristicLab.Persistence.GUI.HeuristicLabPersistenceGUIPlugin();
    74 
    75     //  new HeuristicLab.Problems.ArtificialAnt.HeuristicLabProblemsArtificialAntPlugin();
    76     //  new HeuristicLab.Problems.ArtificialAnt.Views.HeuristicLabProblemsArtificialAntViewsPlugin();
    77     //  new HeuristicLab.Problems.DataAnalysis.HeuristicLabProblemsDataAnalysisPlugin();
    78     //  new HeuristicLab.Problems.DataAnalysis.Regression.HeuristicLabProblemsDataAnalysisRegressionPlugin();
    79     //  new HeuristicLab.Problems.DataAnalysis.Views.HeuristicLabProblemsDataAnalysisViewsPlugin();
    80     //  new HeuristicLab.Problems.ExternalEvaluation.HeuristicLabProblemsExternalEvaluationPlugin();
    81     //  new HeuristicLab.Problems.ExternalEvaluation.GP.HeuristicLabProblemsExternalEvaluationGPPlugin();
    82     //  new HeuristicLab.Problems.ExternalEvaluation.GP.Views.HeuristicLabProblemsExternalEvaluationGPViewsPlugin();
    83     //  new HeuristicLab.Problems.ExternalEvaluation.Views.HeuristicLabProblemsExternalEvaluationViewsPlugin();
    84     //  new HeuristicLab.Problems.Knapsack.HeuristicLabProblemsKnapsackPlugin();
    85     //  new HeuristicLab.Problems.Knapsack.Views.HeuristicLabProblemsKnapsackViewsPlugin();
    86     //  new HeuristicLab.Problems.OneMax.HeuristicLabProblemsOneMaxPlugin();
    87     //  new HeuristicLab.Problems.OneMax.Views.HeuristicLabProblemsKnapsackViewsPlugin();
    88     //  new HeuristicLab.Problems.TestFunctions.HeuristicLabProblemsTestFunctionsPlugin();
    89     //  new HeuristicLab.Problems.TestFunctions.Views.HeuristicLabProblemsTestFunctionsViewsPlugin();
    90     //  new HeuristicLab.Problems.TravelingSalesman.HeuristicLabProblemsTravelingSalesmanPlugin();
    91     //  new HeuristicLab.Problems.TravelingSalesman.Views.HeuristicLabProblemsTravelingSalesmanViewsPlugin();
    92     //  new HeuristicLab.Problems.VehicleRouting.HeuristicLabProblemsVehicleRoutingPlugin();
    93     //  new HeuristicLab.Problems.VehicleRouting.Views.HeuristicLabProblemsVehicleRoutingViewsPlugin();
    94 
    95     //  new HeuristicLab.Random.HeuristicLabRandomPlugin();
    96     //  new HeuristicLab.Selection.HeuristicLabSelectionPlugin();
    97     //  new HeuristicLab.SequentialEngine.HeuristicLabSequentialEnginePlugin();
    98     //  new HeuristicLab.Tracing.HeuristicLabPersistencePlugin();
    99     //}
    10026  }
    10127}
Note: See TracChangeset for help on using the changeset viewer.