Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/14 10:31:41 (10 years ago)
Author:
pfleck
Message:

#2269 Merged trunk. Updated .net version of ALPS plugin.

Location:
branches/ALPS
Files:
1 deleted
36 edited
4 copied

Legend:

Unmodified
Added
Removed
  • branches/ALPS

  • branches/ALPS/HeuristicLab.Tests

  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/CloningConstructorTest.cs

    r11498 r11677  
    2121
    2222using System;
    23 using System.Linq;
    2423using System.Reflection;
    2524using System.Text;
     
    3130  [TestClass]
    3231  public class CloningConstructorTest {
    33     // Use ClassInitialize to run code before running the first test in the class
    34     [ClassInitialize]
    35     public static void MyClassInitialize(TestContext testContext) {
    36       PluginLoader.Assemblies.Any();
    37     }
    38 
    3932    [TestMethod]
    4033    [TestCategory("General")]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/ContentViewTests.cs

    r11171 r11677  
    3131  [TestClass]
    3232  public class ContentViewTests {
    33     public ContentViewTests() {
    34     }
    35 
    36     // Use ClassInitialize to run code before running the first test in the class
    37     [ClassInitialize]
    38     public static void MyClassInitialize(TestContext testContext) {
    39       PluginLoader.Assemblies.Any();
    40     }
    41 
    42 
    4333    [TestMethod]
    4434    [TestCategory("General")]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs

    r11498 r11677  
    3232
    3333namespace HeuristicLab.Tests {
    34   /// <summary>
    35   /// Summary description for DeepCloneableCloningTest
    36   /// </summary>
    3734  [TestClass]
    3835  public class DeepCloneableCloningTest {
    39 
    40     [ClassInitialize]
    41     public static void MyClassInitialize(TestContext testContext) {
    42       PluginLoader.Assemblies.Any();
    43     }
    44 
    4536    private TestContext testContextInstance;
    4637    public TestContext TestContext {
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/InstantiateCreatablesTest.cs

    r11171 r11677  
    3131  [TestClass]
    3232  public class InstantiateCreatablesTest {
    33     // Use ClassInitialize to run code before running the first test in the class
    34     [ClassInitialize]
    35     public static void MyClassInitialize(TestContext testContext) {
    36       PluginLoader.Assemblies.Any();
    37     }
    3833    [TestMethod]
    3934    [TestCategory("General")]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/NamedItemTest.cs

    r9820 r11677  
    1 using System.Linq;
    2 using System.Text;
     1using System.Text;
    32using HeuristicLab.Common;
    43using HeuristicLab.Core;
     
    98  [TestClass]
    109  public class NamedItemTest {
    11     [ClassInitialize]
    12     public static void MyClassInitialize(TestContext testContext) {
    13       PluginLoader.Assemblies.Any();
    14     }
    15 
    1610    [TestMethod]
    1711    [TestCategory("General")]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/ParameterVisibilityTest.cs

    r11171 r11677  
    3131  [TestClass]
    3232  public class ParameterVisibilityTest {
    33     // Use ClassInitialize to run code before running the first test in the class
    34     [ClassInitialize]
    35     public static void MyClassInitialize(TestContext testContext) {
    36       PluginLoader.Assemblies.Any();
    37     }
    38 
    3933    private TestContext testContextInstance;
    4034    public TestContext TestContext {
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/EsGriewankSampleTest.cs

    r11450 r11677  
    2929
    3030namespace HeuristicLab.Tests {
    31   /// <summary>
    32   /// Summary description for EsGriewankSampleTest
    33   /// </summary>
    3431  [TestClass]
    3532  public class EsGriewankSampleTest {
    36     private const string samplesDirectory = SamplesUtils.Directory;
    37 
    38     [ClassInitialize]
    39     public static void MyClassInitialize(TestContext testContext) {
    40       if (!Directory.Exists(samplesDirectory))
    41         Directory.CreateDirectory(samplesDirectory);
    42     }
     33    private const string SampleFileName = "ES_Griewank";
    4334
    4435    [TestMethod]
     
    4738    public void CreateEsGriewankSampleTest() {
    4839      var es = CreateEsGriewankSample();
    49       XmlGenerator.Serialize(es, @"Samples\ES_Griewank.hl");
     40      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     41      XmlGenerator.Serialize(es, path);
    5042    }
    5143
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GATspSampleTest.cs

    r11450 r11677  
    3333  [TestClass]
    3434  public class GATspSampleTest {
    35     private const string samplesDirectory = SamplesUtils.Directory;
    36     [ClassInitialize]
    37     public static void MyClassInitialize(TestContext testContext) {
    38       if (!Directory.Exists(samplesDirectory))
    39         Directory.CreateDirectory(samplesDirectory);
    40     }
    41 
     35    private const string SampleFileName = "GA_TSP";
    4236
    4337    [TestMethod]
     
    4640    public void CreateGaTspSampleTest() {
    4741      var ga = CreateGaTspSample();
    48       XmlGenerator.Serialize(ga, @"Samples\GA_TSP.hl");
     42      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     43      XmlGenerator.Serialize(ga, path);
    4944    }
     45
    5046    [TestMethod]
    5147    [TestCategory("Samples.Execute")]
     
    6359    private GeneticAlgorithm CreateGaTspSample() {
    6460      GeneticAlgorithm ga = new GeneticAlgorithm();
     61
    6562      #region Problem Configuration
    6663      var provider = new TSPLIBTSPInstanceProvider();
     
    7774        ga, 100, 1, 1000, 0.05);
    7875      #endregion
     76
    7977      return ga;
    8078    }
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GAVrpSampleTest.cs

    r11450 r11677  
    3434
    3535namespace HeuristicLab.Tests {
    36   /// <summary>
    37   /// Summary description for GAVrpSampleTest
    38   /// </summary>
    3936  [TestClass]
    4037  public class GAVrpSampleTest {
    41     private const string samplesDirectory = SamplesUtils.Directory;
    42     [ClassInitialize]
    43     public static void MyClassInitialize(TestContext testContext) {
    44       if (!Directory.Exists(samplesDirectory))
    45         Directory.CreateDirectory(samplesDirectory);
    46     }
    47 
     38    private const string SampleFileName = "GA_VRP";
    4839
    4940    [TestMethod]
     
    5243    public void CreateGaVrpSampleTest() {
    5344      var ga = CreateGaVrpSample();
    54       XmlGenerator.Serialize(ga, @"Samples\GA_VRP.hl");
     45      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     46      XmlGenerator.Serialize(ga, path);
    5547    }
    5648
     
    7062    private GeneticAlgorithm CreateGaVrpSample() {
    7163      GeneticAlgorithm ga = new GeneticAlgorithm();
     64
    7265      #region Problem Configuration
    7366      VehicleRoutingProblem vrpProblem = new VehicleRoutingProblem();
     
    117110        .Single(), true);
    118111      #endregion
     112
    119113      return ga;
    120114    }
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPArtificialAntSampleTest.cs

    r11450 r11677  
    3030
    3131namespace HeuristicLab.Tests {
    32   /// <summary>
    33   /// Summary description for GPArtificialAntSampleTest
    34   /// </summary>
    3532  [TestClass]
    3633  public class GPArtificialAntSampleTest {
    37     private const string samplesDirectory = SamplesUtils.Directory;
    38     [ClassInitialize]
    39     public static void MyClassInitialize(TestContext testContext) {
    40       if (!Directory.Exists(samplesDirectory))
    41         Directory.CreateDirectory(samplesDirectory);
    42     }
     34    private const string SampleFileName = "SGP_SantaFe";
    4335
    4436    [TestMethod]
     
    4739    public void CreateGpArtificialAntSampleTest() {
    4840      var ga = CreateGpArtificialAntSample();
    49       XmlGenerator.Serialize(ga, @"Samples\SGP_SantaFe.hl");
     41      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     42      XmlGenerator.Serialize(ga, path);
    5043    }
    5144
     
    6558    public GeneticAlgorithm CreateGpArtificialAntSample() {
    6659      GeneticAlgorithm ga = new GeneticAlgorithm();
     60
    6761      #region Problem Configuration
    6862      ArtificialAntProblem antProblem = new ArtificialAntProblem();
     
    9488        .Single(), false);
    9589      #endregion
     90
    9691      return ga;
    9792    }
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPLawnMowerSampleTest.cs

    r11450 r11677  
    2020#endregion
    2121
    22 using System.IO;
    2322using System.Linq;
    2423using HeuristicLab.Algorithms.GeneticAlgorithm;
     
    2827
    2928namespace HeuristicLab.Tests {
    30   /// <summary>
    31   /// Summary description for GPLawnMowerSampleTest
    32   /// </summary>
    3329  [TestClass]
    3430  public class GPLawnMowerSampleTest {
    35     private const string samplesDirectory = SamplesUtils.Directory;
    36     [ClassInitialize]
    37     public static void MyClassInitialize(TestContext testContext) {
    38       if (!Directory.Exists(samplesDirectory))
    39         Directory.CreateDirectory(samplesDirectory);
    40     }
    41 
    4231    [TestMethod]
    4332    [TestCategory("Samples.Execute")]
     
    5746
    5847      #endregion
    59 
    6048      #region Algorithm Configuration
    6149
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPMultiplexerSampleTest.cs

    r11051 r11677  
    3333  [TestClass]
    3434  public class GPMultiplexerSampleTest {
    35     private const string samplesDirectory = SamplesUtils.Directory;
    36     [ClassInitialize]
    37     public static void MyClassInitialize(TestContext testContext) {
    38       if (!Directory.Exists(samplesDirectory))
    39         Directory.CreateDirectory(samplesDirectory);
    40     }
     35    private const string SampleFileName = "GP_Multiplexer";
    4136
    4237    [TestMethod]
     
    4540    public void CreateGpMultiplexerSampleTest() {
    4641      var ga = CreateGpMultiplexerSample();
    47       var path = Path.Combine(samplesDirectory, "GP_Multiplexer.hl");
     42      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
    4843      XmlGenerator.Serialize(ga, path);
    4944    }
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicClassificationSampleTest.cs

    r11450 r11677  
    3333
    3434namespace HeuristicLab.Tests {
    35   /// <summary>
    36   /// Summary description for GPSymbolicClassificationSampleTest
    37   /// </summary>
    3835  [TestClass]
    3936  public class GPSymbolicClassificationSampleTest {
    40     private const string samplesDirectory = SamplesUtils.Directory;
    41     [ClassInitialize]
    42     public static void MyClassInitialize(TestContext testContext) {
    43       if (!Directory.Exists(samplesDirectory))
    44         Directory.CreateDirectory(samplesDirectory);
    45     }
     37    private const string SampleFileName = "SGP_SymbClass";
    4638
    4739    [TestMethod]
     
    5042    public void CreateGpSymbolicClassificationSampleTest() {
    5143      var ga = CreateGpSymbolicClassificationSample();
    52       XmlGenerator.Serialize(ga, @"Samples\SGP_SymbClass.hl");
     44      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     45      XmlGenerator.Serialize(ga, path);
    5346    }
    5447
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleTest.cs

    r11450 r11677  
    3333
    3434namespace HeuristicLab.Tests {
    35   /// <summary>
    36   /// Summary description for GPSymbolicRegressionSampleTest
    37   /// </summary>
    3835  [TestClass]
    3936  public class GPSymbolicRegressionSampleTest {
    40     private const string samplesDirectory = SamplesUtils.Directory;
    41     [ClassInitialize]
    42     public static void MyClassInitialize(TestContext testContext) {
    43       if (!Directory.Exists(samplesDirectory))
    44         Directory.CreateDirectory(samplesDirectory);
    45     }
    46 
     37    private const string SampleFileName = "SGP_SymbReg";
    4738
    4839    [TestMethod]
     
    5142    public void CreateGpSymbolicRegressionSampleTest() {
    5243      var ga = CreateGpSymbolicRegressionSample();
    53       XmlGenerator.Serialize(ga, @"Samples\SGP_SymbReg.hl");
     44      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     45      XmlGenerator.Serialize(ga, path);
    5446    }
    5547    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPTimeSeriesSampleTest.cs

    r11091 r11677  
    3232  [TestClass]
    3333  public class GPTimeSeriesSampleTest {
    34     private const string samplesDirectory = SamplesUtils.Directory;
    35     [ClassInitialize]
    36     public static void MyClassInitialize(TestContext testContext) {
    37       if (!Directory.Exists(samplesDirectory))
    38         Directory.CreateDirectory(samplesDirectory);
    39     }
     34    private const string SampleFileName = "OSGP_TimeSeries";
    4035
    4136    [TestMethod]
     
    4439    public void CreateGpTimeSeriesSampleTest() {
    4540      var ga = CreateGpTimeSeriesSample();
    46       var path = Path.Combine(samplesDirectory, "OSGP_TimeSeries.hl");
     41      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
    4742      XmlGenerator.Serialize(ga, path);
    4843    }
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GaussianProcessRegressionSampleTest.cs

    r11450 r11677  
    2929
    3030namespace HeuristicLab.Tests {
    31   /// <summary>
    32   /// Summary description for GaussianProcessRegressionSampleTest
    33   /// </summary>
    3431  [TestClass]
    3532  public class GaussianProcessRegressionSampleTest {
    36     private const string samplesDirectory = SamplesUtils.Directory;
    37     [ClassInitialize]
    38     public static void MyClassInitialize(TestContext testContext) {
    39       if (!Directory.Exists(samplesDirectory))
    40         Directory.CreateDirectory(samplesDirectory);
    41     }
     33    private const string SampleFileName = "GPR";
    4234
    4335    [TestMethod]
     
    4638    public void CreateGaussianProcessRegressionSampleTest() {
    4739      var gpr = CreateGaussianProcessRegressionSample();
    48       XmlGenerator.Serialize(gpr, @"Samples\GPR.hl");
     40      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     41      XmlGenerator.Serialize(gpr, path);
    4942    }
     43
    5044    [TestMethod]
    5145    [TestCategory("Samples.Execute")]
     
    6660      var regProblem = new RegressionProblem();
    6761      regProblem.Load(provider.LoadData(instance));
     62
    6863      #region Algorithm Configuration
    6964      gpr.Name = "Gaussian Process Regression";
     
    7772      gpr.SetSeedRandomly = true;
    7873      #endregion
     74
    7975      gpr.Engine = new ParallelEngine.ParallelEngine();
    8076      return gpr;
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GeSymbolicRegressionSampleTest.cs

    r11450 r11677  
    3030
    3131namespace HeuristicLab.Tests {
    32   /// <summary>
    33   /// Summary description for GeSymbolicRegressionSampleTest
    34   /// </summary>
    3532  [TestClass]
    3633  public class GeSymbolicRegressionSampleTest {
    37     private const string samplesDirectory = SamplesUtils.Directory;
    38     [ClassInitialize]
    39     public static void MyClassInitialize(TestContext testContext) {
    40       if (!Directory.Exists(samplesDirectory))
    41         Directory.CreateDirectory(samplesDirectory);
    42     }
     34    #region artificial ant
     35    private const string GeArtificialAntSampleFileName = "GE_ArtificialAnt";
    4336
    44     #region artificial ant
    4537    [TestMethod]
    4638    [TestCategory("Samples.Create")]
     
    4840    public void CreateGeArtificialAntSampleTest() {
    4941      var geaa = CreateGeArtificialAntSample();
    50       XmlGenerator.Serialize(geaa, @"Samples\GE_ArtificialAnt.hl");
     42      string path = Path.Combine(SamplesUtils.SamplesDirectory, GeArtificialAntSampleFileName + SamplesUtils.SampleFileExtension);
     43      XmlGenerator.Serialize(geaa, path);
    5144    }
    5245
     
    6255    public OffspringSelectionGeneticAlgorithm CreateGeArtificialAntSample() {
    6356      OffspringSelectionGeneticAlgorithm ga = new OffspringSelectionGeneticAlgorithm();
     57
    6458      #region Problem Configuration
    6559      var problem = new HeuristicLab.Problems.GrammaticalEvolution.GEArtificialAntProblem();
     
    7266        ga, 200, 1, 50, 0.05, 200);
    7367      #endregion
     68
    7469      return ga;
    7570    }
     
    7772
    7873    #region symbolic regression
    79     #endregion
     74    private const string GeSymbolicRegressionSampleFileName = "GE_SymbReg";
     75
    8076    [TestMethod]
    8177    [TestCategory("Samples.Create")]
     
    8379    public void CreateGeSymbolicRegressionSampleTest() {
    8480      var geSymbReg = CreateGeSymbolicRegressionSample();
    85       XmlGenerator.Serialize(geSymbReg, @"Samples\GE_SymbReg.hl");
     81      string path = Path.Combine(SamplesUtils.SamplesDirectory, GeSymbolicRegressionSampleFileName + SamplesUtils.SampleFileExtension);
     82      XmlGenerator.Serialize(geSymbReg, path);
    8683    }
    8784
     
    9794    public OffspringSelectionGeneticAlgorithm CreateGeSymbolicRegressionSample() {
    9895      var ga = new OffspringSelectionGeneticAlgorithm();
     96
    9997      #region Problem Configuration
    10098      var problem = new HeuristicLab.Problems.GrammaticalEvolution.GESymbolicRegressionSingleObjectiveProblem();
     
    116114        ga, 1000, 1, 50, 0.05, 200);
    117115      #endregion
     116
    118117      return ga;
    119118    }
     119    #endregion
    120120  }
    121121}
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/IslandGaTspSampleTest.cs

    r11450 r11677  
    3434  [TestClass]
    3535  public class UnitTest1 {
    36     private const string samplesDirectory = SamplesUtils.Directory;
    37     [ClassInitialize]
    38     public static void MyClassInitialize(TestContext testContext) {
    39       if (!Directory.Exists(samplesDirectory))
    40         Directory.CreateDirectory(samplesDirectory);
    41     }
     36    private const string SampleFileName = "IslandGA_TSP";
    4237
    4338    [TestMethod]
     
    4641    public void CreateIslandGaTspSampleTest() {
    4742      var ga = CreateIslandGaTspSample();
    48       XmlGenerator.Serialize(ga, @"Samples\IslandGA_TSP.hl");
     43      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     44      XmlGenerator.Serialize(ga, path);
    4945    }
    5046    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/LocalSearchKnapsackSampleTest.cs

    r11450 r11677  
    3030
    3131namespace HeuristicLab.Tests {
    32   /// <summary>
    33   /// Summary description for LocalSearchKnapsackSampleTest
    34   /// </summary>
    3532  [TestClass]
    3633  public class LocalSearchKnapsackSampleTest {
    37     private const string samplesDirectory = SamplesUtils.Directory;
    38     [ClassInitialize]
    39     public static void MyClassInitialize(TestContext testContext) {
    40       if (!Directory.Exists(samplesDirectory))
    41         Directory.CreateDirectory(samplesDirectory);
    42     }
     34    private const string SampleFileName = "LS_Knapsack";
    4335
    4436    [TestMethod]
     
    4739    public void CreateLocalSearchKnapsackSampleTest() {
    4840      var ls = CreateLocalSearchKnapsackSample();
    49       XmlGenerator.Serialize(ls, @"Samples\LS_Knapsack.hl");
     41      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     42      XmlGenerator.Serialize(ls, path);
    5043    }
    5144    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/PsoSchwefelSampleTest.cs

    r11450 r11677  
    3232
    3333namespace HeuristicLab.Tests {
    34   /// <summary>
    35   /// Summary description for PsoSchwefelSampleTest
    36   /// </summary>
    3734  [TestClass]
    3835  public class PsoSchwefelSampleTest {
    39     private const string samplesDirectory = SamplesUtils.Directory;
    40     [ClassInitialize]
    41     public static void MyClassInitialize(TestContext testContext) {
    42       if (!Directory.Exists(samplesDirectory))
    43         Directory.CreateDirectory(samplesDirectory);
    44     }
     36    private const string SampleFileName = "PSO_Schwefel";
    4537
    4638    [TestMethod]
     
    4941    public void CreatePsoSchwefelSampleTest() {
    5042      var pso = CreatePsoSchwefelSample();
    51       XmlGenerator.Serialize(pso, @"Samples\PSO_Schwefel.hl");
     43      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     44      XmlGenerator.Serialize(pso, path);
    5245    }
    5346    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/RAPGASchedulingSampleTest.cs

    r11450 r11677  
    2929
    3030namespace HeuristicLab.Tests {
    31   /// <summary>
    32   /// Summary description for RAPGASchedulingSampleTest
    33   /// </summary>
    3431  [TestClass]
    3532  public class RAPGASchedulingSampleTest {
    36     private const string samplesDirectory = SamplesUtils.Directory;
    37     [ClassInitialize]
    38     public static void MyClassInitialize(TestContext testContext) {
    39       if (!Directory.Exists(samplesDirectory))
    40         Directory.CreateDirectory(samplesDirectory);
    41     }
     33    private const string SampleFileName = "RAPGA_JSSP";
    4234
    4335    [TestMethod]
     
    4638    public void CreateRAPGASchedulingSampleTest() {
    4739      var ss = CreateRAPGASchedulingSample();
    48       XmlGenerator.Serialize(ss, @"Samples\RAPGA_JSSP.hl");
     40      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     41      XmlGenerator.Serialize(ss, path);
    4942    }
    5043
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/SamplesUtils.cs

    r11051 r11677  
    1212namespace HeuristicLab.Tests {
    1313  public static class SamplesUtils {
    14     public const string Directory = @"Samples\";
     14    public const string SamplesDirectory = @"Samples\";
     15    public const string SampleFileExtension = ".hl";
    1516
    1617    public static void RunAlgorithm(IAlgorithm a) {
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/ScatterSearchVRPSampleTest.cs

    r11450 r11677  
    2929
    3030namespace HeuristicLab.Tests {
    31   /// <summary>
    32   /// Summary description for ScatterSearchVRPSampleTest
    33   /// </summary>
    3431  [TestClass]
    3532  public class ScatterSearchVRPSampleTest {
    36     private const string samplesDirectory = SamplesUtils.Directory;
    37     [ClassInitialize]
    38     public static void MyClassInitialize(TestContext testContext) {
    39       if (!Directory.Exists(samplesDirectory))
    40         Directory.CreateDirectory(samplesDirectory);
    41     }
     33    private const string SampleFileName = "SS_VRP";
    4234
    4335    [TestMethod]
     
    4638    public void CreateScatterSearchVRPSampleTest() {
    4739      var ss = CreateScatterSearchVRPSample();
    48       XmlGenerator.Serialize(ss, @"Samples\SS_VRP.hl");
     40      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     41      XmlGenerator.Serialize(ss, path);
    4942    }
    5043
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/SimulatedAnnealingRastriginSampleTest.cs

    r11450 r11677  
    3131
    3232namespace HeuristicLab.Tests {
    33   /// <summary>
    34   /// Summary description for SimulatedAnnealingRastriginSampleTest
    35   /// </summary>
    3633  [TestClass]
    3734  public class SimulatedAnnealingRastriginSampleTest {
    38     private const string samplesDirectory = SamplesUtils.Directory;
    39     [ClassInitialize]
    40     public static void MyClassInitialize(TestContext testContext) {
    41       if (!Directory.Exists(samplesDirectory))
    42         Directory.CreateDirectory(samplesDirectory);
    43     }
     35    private const string SampleFileName = "SA_Rastrigin";
    4436
    4537    [TestMethod]
     
    4840    public void CreateSimulatedAnnealingRastriginSampleTest() {
    4941      var sa = CreateSimulatedAnnealingRastriginSample();
    50       XmlGenerator.Serialize(sa, @"Samples\SA_Rastrigin.hl");
     42      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     43      XmlGenerator.Serialize(sa, path);
    5144    }
    5245    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/TabuSearchTspSampleTest.cs

    r11450 r11677  
    3030
    3131namespace HeuristicLab.Tests {
    32   /// <summary>
    33   /// Summary description for TabuSearchTspSampleTest
    34   /// </summary>
    3532  [TestClass]
    3633  public class TabuSearchTspSampleTest {
    37     private const string samplesDirectory = SamplesUtils.Directory;
    38     [ClassInitialize]
    39     public static void MyClassInitialize(TestContext testContext) {
    40       if (!Directory.Exists(samplesDirectory))
    41         Directory.CreateDirectory(samplesDirectory);
    42     }
    43 
     34    private const string SampleFileName = "TS_TSP";
    4435
    4536    [TestMethod]
     
    4839    public void CreateTabuSearchTspSampleTest() {
    4940      var ts = CreateTabuSearchTspSample();
    50       XmlGenerator.Serialize(ts, @"Samples\TS_TSP.hl");
     41      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     42      XmlGenerator.Serialize(ts, path);
    5143    }
    5244    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/TabuSearchVRPSampleTest.cs

    r11450 r11677  
    3030
    3131namespace HeuristicLab.Tests {
    32   /// <summary>
    33   /// Summary description for TabuSearchVRPSampleTest
    34   /// </summary>
    3532  [TestClass]
    3633  public class TabuSearchVRPSampleTest {
    37     private const string samplesDirectory = SamplesUtils.Directory;
    38     [ClassInitialize]
    39     public static void MyClassInitialize(TestContext testContext) {
    40       if (!Directory.Exists(samplesDirectory))
    41         Directory.CreateDirectory(samplesDirectory);
    42     }
     34    private const string SampleFileName = "TS_VRP";
    4335
    4436    [TestMethod]
     
    4739    public void CreateTabuSearchVRPSampleTest() {
    4840      var vrp = CreateTabuSearchVrpSample();
    49       XmlGenerator.Serialize(vrp, @"Samples\TS_VRP.hl");
     41      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     42      XmlGenerator.Serialize(vrp, path);
    5043    }
    5144    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/VnsTspSampleTest.cs

    r11450 r11677  
    3131
    3232namespace HeuristicLab.Tests {
    33   /// <summary>
    34   /// Summary description for VnsTspSampleTest
    35   /// </summary>
    3633  [TestClass]
    3734  public class VnsTspSampleTest {
    38     private const string samplesDirectory = SamplesUtils.Directory;
    39     [ClassInitialize]
    40     public static void MyClassInitialize(TestContext testContext) {
    41       if (!Directory.Exists(samplesDirectory))
    42         Directory.CreateDirectory(samplesDirectory);
    43     }
     35    private const string SampleFileName = "VNS_TSP";
    4436
    4537    [TestMethod]
     
    4840    public void CreateVnsTspSampleTest() {
    4941      var vns = CreateVnsTspSample();
    50       XmlGenerator.Serialize(vns, @"Samples\VNS_TSP.hl");
     42      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
     43      XmlGenerator.Serialize(vns, path);
    5144    }
    5245    [TestMethod]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/StorableConstructorTest.cs

    r11171 r11677  
    3333  [TestClass]
    3434  public class StorableConstructorTest {
    35 
    36     // Use ClassInitialize to run code before running the first test in the class
    37     [ClassInitialize]
    38     public static void MyClassInitialize(TestContext testContext) {
    39       PluginLoader.Assemblies.Any();
    40     }
    41 
    4235    [TestMethod]
    4336    [TestCategory("General")]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/ThreadSafeLogTest.cs

    r11171 r11677  
    2828  [TestClass]
    2929  public class ThreadSafeLogTest {
    30 
    3130    [TestMethod]
    3231    [TestCategory("General")]
     
    4342      Assert.AreEqual(count, log.Messages.Count());
    4443    }
     44
     45    [TestMethod]
     46    [TestCategory("General")]
     47    [TestProperty("Time", "short")]
     48    public void ThreadSafeLogCapTest() {
     49      int count = 10000;
     50      int cap = 500;
     51      ThreadSafeLog log = new ThreadSafeLog(cap);
     52
     53      Parallel.For(0, count, (i) => {
     54        log.LogMessage("Message " + i); // write something
     55        log.Messages.Count(); // iterate over all messages
     56      });
     57
     58      Assert.AreEqual(cap, log.Messages.Count());
     59    }
    4560  }
    4661}
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/ToStringTest.cs

    r11171 r11677  
    2121
    2222using System;
    23 using System.Linq;
    2423using HeuristicLab.Core;
    2524using HeuristicLab.PluginInfrastructure;
     
    2928  [TestClass]
    3029  public class ToStringTest {
    31 
    3230    private TestContext testContextInstance;
    3331    public TestContext TestContext {
    3432      get { return testContextInstance; }
    3533      set { testContextInstance = value; }
    36     }
    37 
    38     // Use ClassInitialize to run code before running the first test in the class
    39     [ClassInitialize]
    40     public static void MyClassInitialize(TestContext testContext) {
    41       PluginLoader.Assemblies.Any();
    4234    }
    4335
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab.PluginInfraStructure-3.3/TypeExtensionsTest.cs

    r11171 r11677  
    2929
    3030namespace HeuristicLab.PluginInfrastructure.Tests {
    31   /// <summary>
    32   /// Summary description for TypeDiscoveryTest
    33   /// </summary>
    3431  [TestClass]
    3532  public class TypeExtensionsTest {
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab.Problems.VehicleRouting-3.4/VRPInstancesTest.cs

    r11432 r11677  
    2525using System.Text;
    2626using HeuristicLab.Problems.Instances;
    27 using HeuristicLab.Tests;
    2827using Microsoft.VisualStudio.TestTools.UnitTesting;
    2928
     
    3130  [TestClass]
    3231  public class VRPInstancesTest {
    33     [ClassInitialize]
    34     public static void MyClassInitialize(TestContext testContext) {
    35       PluginLoader.Assemblies.Any();
    36     }
    37 
    3832    [TestMethod]
    3933    [TestCategory("Problems.VehicleRouting")]
  • branches/ALPS/HeuristicLab.Tests/HeuristicLab.Tests.csproj

    r11466 r11677  
    1212    <RootNamespace>HeuristicLab.Tests</RootNamespace>
    1313    <AssemblyName>HeuristicLab.Tests</AssemblyName>
    14     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     14    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    1515    <FileAlignment>512</FileAlignment>
    1616    <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
     17    <TargetFrameworkProfile />
    1718  </PropertyGroup>
    1819  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     
    2425    <ErrorReport>prompt</ErrorReport>
    2526    <WarningLevel>4</WarningLevel>
     27    <Prefer32Bit>false</Prefer32Bit>
    2628  </PropertyGroup>
    2729  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     
    3234    <ErrorReport>prompt</ErrorReport>
    3335    <WarningLevel>4</WarningLevel>
     36    <Prefer32Bit>false</Prefer32Bit>
    3437  </PropertyGroup>
    3538  <PropertyGroup>
     
    5457    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    5558    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
     59    <Prefer32Bit>false</Prefer32Bit>
    5660  </PropertyGroup>
    5761  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
     
    7074    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    7175    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
     76    <Prefer32Bit>false</Prefer32Bit>
    7277  </PropertyGroup>
    7378  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
     
    8691    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    8792    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
     93    <Prefer32Bit>false</Prefer32Bit>
    8894  </PropertyGroup>
    8995  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
     
    100106    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    101107    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
     108    <Prefer32Bit>false</Prefer32Bit>
    102109  </PropertyGroup>
    103110  <ItemGroup>
    104     <Reference Include="ALGLIB-3.7.0, Version=3.7.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     111    <Reference Include="ALGLIB-3.7.0">
    105112      <HintPath>..\bin\ALGLIB-3.7.0.dll</HintPath>
    106113      <Private>False</Private>
     
    122129      <Private>False</Private>
    123130    </Reference>
    124     <Reference Include="HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    125       <SpecificVersion>False</SpecificVersion>
     131    <Reference Include="HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3">
    126132      <HintPath>..\bin\HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3.dll</HintPath>
     133      <Private>False</Private>
    127134    </Reference>
    128135    <Reference Include="HeuristicLab.Algorithms.ParticleSwarmOptimization-3.3">
     
    150157      <Private>False</Private>
    151158    </Reference>
    152     <Reference Include="HeuristicLab.Analysis-3.3, Version=3.3.0.0">
     159    <Reference Include="HeuristicLab.Analysis-3.3">
    153160      <HintPath>..\bin\HeuristicLab.Analysis-3.3.dll</HintPath>
    154161      <Private>False</Private>
     
    214221      <Private>False</Private>
    215222    </Reference>
    216     <Reference Include="HeuristicLab.Optimizer-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    217       <SpecificVersion>False</SpecificVersion>
     223    <Reference Include="HeuristicLab.Optimization.Views-3.3">
     224      <HintPath>..\bin\HeuristicLab.Optimization.Views-3.3.dll</HintPath>
     225      <Private>False</Private>
     226    </Reference>
     227    <Reference Include="HeuristicLab.Optimizer-3.3">
    218228      <HintPath>..\bin\HeuristicLab.Optimizer-3.3.dll</HintPath>
    219       <Private>True</Private>
     229      <Private>False</Private>
    220230    </Reference>
    221231    <Reference Include="HeuristicLab.ParallelEngine-3.3">
     
    259269      <Private>False</Private>
    260270    </Reference>
    261     <Reference Include="HeuristicLab.Problems.GrammaticalEvolution-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    262       <SpecificVersion>False</SpecificVersion>
     271    <Reference Include="HeuristicLab.Problems.GrammaticalEvolution-3.3">
    263272      <HintPath>..\bin\HeuristicLab.Problems.GrammaticalEvolution-3.3.dll</HintPath>
     273      <Private>False</Private>
    264274    </Reference>
    265275    <Reference Include="HeuristicLab.Problems.Instances-3.3">
     
    327337      <Private>False</Private>
    328338    </Reference>
    329     <Reference Include="HeuristicLab.Scripting-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    330       <SpecificVersion>False</SpecificVersion>
     339    <Reference Include="HeuristicLab.Scripting-3.3">
    331340      <HintPath>..\bin\HeuristicLab.Scripting-3.3.dll</HintPath>
    332341      <Private>False</Private>
     
    338347    <Reference Include="HeuristicLab.SequentialEngine-3.3">
    339348      <HintPath>..\bin\HeuristicLab.SequentialEngine-3.3.dll</HintPath>
     349      <Private>False</Private>
     350    </Reference>
     351    <Reference Include="LibSVM-3.12">
     352      <HintPath>..\bin\LibSVM-3.12.dll</HintPath>
    340353      <Private>False</Private>
    341354    </Reference>
     
    358371  </ItemGroup>
    359372  <ItemGroup>
     373    <Compile Include="AssemblyInitializer.cs" />
    360374    <Compile Include="HeuristicLab-3.3\AlgorithmExtensions.cs" />
    361375    <Compile Include="HeuristicLab-3.3\CloningConstructorTest.cs" />
     
    504518    <Compile Include="HeuristicLab.Problems.VehicleRouting-3.4\VRPInstancesTest.cs" />
    505519    <Compile Include="HeuristicLab.Random-3.3\RandomEnumerableSampleTest.cs" />
    506     <Compile Include="HeuristicLab.Scripting-3.3\GridSearchScriptTest.cs" />
     520    <Compile Include="HeuristicLab.Scripting-3.3\Scripts\GAQAPScriptTest.cs" />
     521    <Compile Include="HeuristicLab.Scripting-3.3\Scripts\GridSearchRFClassificationScriptTest.cs" />
     522    <Compile Include="HeuristicLab.Scripting-3.3\Scripts\GridSearchRFRegressionScriptTest.cs" />
     523    <Compile Include="HeuristicLab.Scripting-3.3\Scripts\GridSearchSVMClassificationScriptTest.cs" />
     524    <Compile Include="HeuristicLab.Scripting-3.3\Scripts\GridSearchSVMRegressionScriptTest.cs" />
     525    <Compile Include="HeuristicLab.Scripting-3.3\ScriptingUtils.cs" />
     526    <Compile Include="HeuristicLab.Scripting-3.3\Scripts\GUIAutomationScriptTest.cs" />
     527    <Compile Include="HeuristicLab.Scripting-3.3\Scripts\OSGARastriginScriptTest.cs" />
    507528    <Compile Include="Properties\AssemblyInfo.cs" />
     529    <Compile Include="Test Resources\Script Sources\GridSearch_RF_Classification_Script.cs">
     530      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     531    </Compile>
     532    <Compile Include="Test Resources\Script Sources\GridSearch_RF_Regression_Script.cs">
     533      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     534    </Compile>
     535    <Compile Include="Test Resources\Script Sources\GridSearch_SVM_Classification_Script.cs">
     536      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     537    </Compile>
     538    <Compile Include="Test Resources\Script Sources\GridSearch_SVM_Regression_Script.cs">
     539      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     540    </Compile>
     541    <Compile Include="Test Resources\Script Sources\GA_QAP_Script.cs">
     542      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     543    </Compile>
     544    <Compile Include="Test Resources\Script Sources\OSGA_Rastrigin_Script.cs">
     545      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     546    </Compile>
     547    <Compile Include="Test Resources\Script Sources\GUI_Automation_Script.cs">
     548      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     549    </Compile>
    508550    <Compile Include="TestRandom.cs" />
    509551  </ItemGroup>
  • branches/ALPS/HeuristicLab.Tests/app.config

    r6866 r11677  
    1 <?xml version="1.0" encoding="utf-8" ?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<configuration>
    33  <configSections>
    4     <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
    5       <section name="HeuristicLab.PluginInfrastructure.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
     4    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     5      <section name="HeuristicLab.PluginInfrastructure.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
    66    </sectionGroup>
    77  </configSections>
     
    3030    <bindings>
    3131      <wsHttpBinding>
    32         <binding name="WSHttpBinding_IUpdateService" closeTimeout="00:01:00"
    33           openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    34           bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
    35           maxBufferPoolSize="524288" maxReceivedMessageSize="200000000" messageEncoding="Text"
    36           textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
    37           <readerQuotas maxDepth="32" maxStringContentLength="32000" maxArrayLength="200000000"
    38             maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    39           <reliableSession ordered="true" inactivityTimeout="00:10:00"
    40             enabled="false" />
     32        <binding name="WSHttpBinding_IUpdateService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="200000000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
     33          <readerQuotas maxDepth="32" maxStringContentLength="32000" maxArrayLength="200000000" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
     34          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
    4135          <security mode="Message">
    42             <transport clientCredentialType="Windows" proxyCredentialType="None"
    43               realm="" />
    44             <message clientCredentialType="UserName" negotiateServiceCredential="true"
    45               algorithmSuite="Default" />
     36            <transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
     37            <message clientCredentialType="UserName" negotiateServiceCredential="true" algorithmSuite="Default"/>
    4638          </security>
    4739        </binding>
    4840
    49         <binding name="WSHttpBinding_IAdminService" closeTimeout="00:01:00"
    50           openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    51           bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
    52           maxBufferPoolSize="524288" maxReceivedMessageSize="200000000" messageEncoding="Text"
    53           textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
    54           <readerQuotas maxDepth="32" maxStringContentLength="32000" maxArrayLength="200000000"
    55             maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    56           <reliableSession ordered="true" inactivityTimeout="00:10:00"
    57             enabled="false" />
     41        <binding name="WSHttpBinding_IAdminService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="200000000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
     42          <readerQuotas maxDepth="32" maxStringContentLength="32000" maxArrayLength="200000000" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
     43          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
    5844          <security mode="Message">
    59             <transport clientCredentialType="Windows" proxyCredentialType="None"
    60               realm="" />
    61             <message clientCredentialType="UserName" negotiateServiceCredential="true"
    62               algorithmSuite="Default" />
     45            <transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
     46            <message clientCredentialType="UserName" negotiateServiceCredential="true" algorithmSuite="Default"/>
    6347          </security>
    6448        </binding>
     
    6751
    6852    <client>
    69       <endpoint address="http://services.heuristiclab.com/Deployment-3.3/UpdateService.svc"
    70         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUpdateService"
    71         contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IUpdateService"
    72         name="WSHttpBinding_IUpdateService">
     53      <endpoint address="http://services.heuristiclab.com/Deployment-3.3/UpdateService.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUpdateService" contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IUpdateService" name="WSHttpBinding_IUpdateService">
    7354        <identity>
    74           <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" />
     55          <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ=="/>
    7556        </identity>
    7657      </endpoint>
    77       <endpoint address="http://services.heuristiclab.com/Deployment-3.3/AdminService.svc"
    78         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAdminService"
    79         contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IAdminService"
    80         name="WSHttpBinding_IAdminService">
     58      <endpoint address="http://services.heuristiclab.com/Deployment-3.3/AdminService.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAdminService" contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IAdminService" name="WSHttpBinding_IAdminService">
    8159        <identity>
    82           <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" />
     60          <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ=="/>
    8361        </identity>
    8462      </endpoint>
    8563    </client>
    8664  </system.serviceModel>
    87 </configuration>
     65<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
Note: See TracChangeset for help on using the changeset viewer.