- Timestamp:
- 06/18/19 23:15:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs
r16565 r17021 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 29 using HeuristicLab.Optimization; 29 using HeuristicLab.Persistence.Default.Xml;30 30 using HeuristicLab.PluginInfrastructure; 31 31 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 34 34 [TestClass] 35 35 public class DeepCloneableCloningTest { 36 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 37 36 38 private TestContext testContextInstance; 37 39 public TestContext TestContext { … … 66 68 [TestProperty("Time", "long")] 67 69 public void TestCloningFinishedExperiment() { 68 Experiment experiment = (Experiment) XmlParser.Deserialize(@"Test Resources\SamplesExperimentFinished.hl");70 Experiment experiment = (Experiment)serializer.Deserialize(@"Test Resources\SamplesExperimentFinished.hl"); 69 71 70 72 Experiment clone = (Experiment)experiment.Clone(new Cloner());
Note: See TracChangeset
for help on using the changeset viewer.