Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/18/19 23:15:13 (5 years ago)
Author:
mkommend
Message:

#2520: Adapted all unit tests to use attic instead of the xml persistence. This affects all sample unit tests, the test resources, script unit tests and some general unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Tests/HeuristicLab-3.3/Samples/ScatterSearchVRPSampleTest.cs

    r16565 r17021  
    2222using System.IO;
    2323using System.Linq;
     24using HEAL.Attic;
    2425using HeuristicLab.Algorithms.ScatterSearch;
    25 using HeuristicLab.Persistence.Default.Xml;
    2626using HeuristicLab.Problems.Instances.VehicleRouting;
    2727using HeuristicLab.Problems.VehicleRouting;
     
    3232  public class ScatterSearchVRPSampleTest {
    3333    private const string SampleFileName = "SS_VRP";
     34    private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer();
    3435
    3536    [TestMethod]
     
    3940      var ss = CreateScatterSearchVRPSample();
    4041      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
    41       XmlGenerator.Serialize(ss, path);
     42      serializer.Serialize(ss, path);
    4243    }
    4344
Note: See TracChangeset for help on using the changeset viewer.