- Timestamp:
- 08/29/19 15:57:35 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Tests
- Property svn:mergeinfo changed
/branches/2435-alglib_3_15/HeuristicLab.Tests (added) merged: 17034 /trunk/HeuristicLab.Tests merged: 16997,17019,17021,17024,17033,17037,17125,17180
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GAQAPScriptTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System.IO; 23 23 using System.Linq; 24 using H euristicLab.Persistence.Default.Xml;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.Instances.QAPLIB; 26 26 using HeuristicLab.Problems.QuadraticAssignment; … … 37 37 private const string BestQualityVariableName = "bestQuality"; 38 38 39 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 40 39 41 [TestMethod] 40 42 [TestCategory("Scripts.Create")] … … 43 45 var script = CreateGAQAPScript(); 44 46 string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension); 45 XmlGenerator.Serialize(script, path);47 serializer.Serialize(script, path); 46 48 } 47 49 -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GUIAutomationScriptTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using System.IO; 23 using H euristicLab.Persistence.Default.Xml;23 using HEAL.Attic; 24 24 using HeuristicLab.Scripting; 25 25 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 32 32 private const string ScriptItemDescription = "A script that runs a genetic algorithm on a traveling salesman problem with 5 different settings for population sizes and with 10 repetitions, then opens a bubble chart of the results and chooses the appropriate values for x and y axis automatically"; 33 33 34 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 35 34 36 [TestMethod] 35 37 [TestCategory("Scripts.Create")] … … 38 40 var script = CreateGUIAutomationScript(); 39 41 string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension); 40 XmlGenerator.Serialize(script, path);42 serializer.Serialize(script, path); 41 43 } 42 44 -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GridSearchRFClassificationScriptTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System.IO; 23 23 using System.Linq; 24 using H euristicLab.Persistence.Default.Xml;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis; 26 26 using HeuristicLab.Problems.Instances.DataAnalysis; … … 38 38 private const string BestSolutionVariableName = "bestSolution"; 39 39 40 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 41 40 42 [TestMethod] 41 43 [TestCategory("Scripts.Create")] … … 44 46 var script = CreateGridSearchRFClassificationScript(); 45 47 string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension); 46 XmlGenerator.Serialize(script, path);48 serializer.Serialize(script, path); 47 49 } 48 50 -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GridSearchRFRegressionScriptTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System.IO; 23 23 using System.Linq; 24 using H euristicLab.Persistence.Default.Xml;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis; 26 26 using HeuristicLab.Problems.Instances.DataAnalysis; … … 38 38 private const string BestSolutionVariableName = "bestSolution"; 39 39 40 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 41 40 42 [TestMethod] 41 43 [TestCategory("Scripts.Create")] … … 44 46 var script = CreateGridSearchRFRegressionScript(); 45 47 string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension); 46 XmlGenerator.Serialize(script, path);48 serializer.Serialize(script, path); 47 49 } 48 50 -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GridSearchSVMClassificationScriptTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System.IO; 23 23 using System.Linq; 24 using H euristicLab.Persistence.Default.Xml;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis; 26 26 using HeuristicLab.Problems.Instances.DataAnalysis; … … 38 38 private const string BestSolutionVariableName = "bestSolution"; 39 39 40 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 41 40 42 [TestMethod] 41 43 [TestCategory("Scripts.Create")] … … 44 46 var script = CreateGridSearchSVMClassificationScript(); 45 47 string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension); 46 XmlGenerator.Serialize(script, path);48 serializer.Serialize(script, path); 47 49 } 48 50 -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GridSearchSVMRegressionScriptTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System.IO; 23 23 using System.Linq; 24 using H euristicLab.Persistence.Default.Xml;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis; 26 26 using HeuristicLab.Problems.Instances.DataAnalysis; … … 38 38 private const string BestSolutionVariableName = "bestSolution"; 39 39 40 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 41 40 42 [TestMethod] 41 43 [TestCategory("Scripts.Create")] … … 44 46 var script = CreateGridSearchSVMRegressionScript(); 45 47 string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension); 46 XmlGenerator.Serialize(script, path);48 serializer.Serialize(script, path); 47 49 } 48 50 -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/OSGARastriginScriptTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using System.IO; 23 using HEAL.Attic; 23 24 using HeuristicLab.Data; 24 using HeuristicLab.Persistence.Default.Xml;25 25 using HeuristicLab.Scripting; 26 26 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 38 38 private const string BestQualityVariableName = "bestFitness"; 39 39 40 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 41 40 42 [TestMethod] 41 43 [TestCategory("Scripts.Create")] … … 44 46 var script = CreateOSGARastriginScript(); 45 47 string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension); 46 XmlGenerator.Serialize(script, path);48 serializer.Serialize(script, path); 47 49 } 48 50 -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/ScriptingUtils.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab.
Note: See TracChangeset
for help on using the changeset viewer.