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/GPMultiplexerSampleTest.cs

    r16565 r17021  
    2121
    2222using System.IO;
     23using HEAL.Attic;
    2324using HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm;
    2425using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.Xml;
    2626using HeuristicLab.Selection;
    2727using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3232    private const string SampleFileName = "GP_Multiplexer";
    3333
     34    private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer();
     35
    3436    [TestMethod]
    3537    [TestCategory("Samples.Create")]
     
    3840      var ga = CreateGpMultiplexerSample();
    3941      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
    40       XmlGenerator.Serialize(ga, path);
     42      serializer.Serialize(ga, path);
    4143    }
    4244    [TestMethod]
Note: See TracChangeset for help on using the changeset viewer.