Changeset 17024


Ignore:
Timestamp:
06/19/19 09:50:08 (4 months ago)
Author:
mkommend
Message:

#2520: Adapted unit test for loading samples.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Tests/HeuristicLab.Persistence.Attic/UseCases.cs

    r17021 r17024  
    335335      var serializer = new ProtoBufSerializer();
    336336      foreach (var fileName in Directory.EnumerateFiles(path, "*.hl")) {
    337         var original = XmlParser.Deserialize(fileName);
     337        var original = serializer.Deserialize(fileName);
    338338        var ok = true;
    339339        foreach (var t in original.GetObjectGraphObjects().Select(o => o.GetType())) {
     
    370370      var serializer = new ProtoBufSerializer();
    371371      foreach (var fileName in Directory.EnumerateFiles(path, "*.hl")) {
    372         var original = XmlParser.Deserialize(fileName);
     372        var original = serializer.Deserialize(fileName);
    373373
    374374        var exec = original as IExecutable;
Note: See TracChangeset for help on using the changeset viewer.