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

    r16565 r17021  
    2121
    2222using System.IO;
    23 using HeuristicLab.Persistence.Default.Xml;
     23using HEAL.Attic;
    2424using HeuristicLab.Scripting;
    2525using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3232    private const string ScriptItemDescription = "A script that runs a genetic algorithm on a traveling salesman problem with 5 different settings for population sizes and with 10 repetitions, then opens a bubble chart of the results and chooses the appropriate values for x and y axis automatically";
    3333
     34    private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer();
     35
    3436    [TestMethod]
    3537    [TestCategory("Scripts.Create")]
     
    3840      var script = CreateGUIAutomationScript();
    3941      string path = Path.Combine(ScriptingUtils.ScriptsDirectory, ScriptFileName + ScriptingUtils.ScriptFileExtension);
    40       XmlGenerator.Serialize(script, path);
     42      serializer.Serialize(script, path);
    4143    }
    4244
Note: See TracChangeset for help on using the changeset viewer.