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.Scripting-3.3/GridSearchRFClassificationScriptTest.cs

    r16565 r17021  
    2222using System.IO;
    2323using System.Linq;
    24 using HeuristicLab.Persistence.Default.Xml;
     24using HEAL.Attic;
    2525using HeuristicLab.Problems.DataAnalysis;
    2626using HeuristicLab.Problems.Instances.DataAnalysis;
     
    3838    private const string BestSolutionVariableName = "bestSolution";
    3939
     40    private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer();
     41
    4042    [TestMethod]
    4143    [TestCategory("Scripts.Create")]
     
    4446      var script = CreateGridSearchRFClassificationScript();
    4547      string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension);
    46       XmlGenerator.Serialize(script, path);
     48      serializer.Serialize(script, path);
    4749    }
    4850
Note: See TracChangeset for help on using the changeset viewer.