Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/10/14 13:10:15 (8 years ago)
Author:
epitzer
Message:

#2242 Add composite serializer for Queues and generic Queue<>s.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Persistence-3.3/UseCases.cs

    r11352 r11353  
    15161516    }
    15171517
     1518    [TestMethod]
     1519    [TestCategory("Persistence")]
     1520    [TestProperty("Time", "short")]
     1521    public void TestQueue() {
     1522      var q = new Queue<int>(new[] {1, 2, 3, 4, 0});
     1523      XmlGenerator.Serialize(q, tempFile);
     1524      var newQ = (Queue<int>)XmlParser.Deserialize(tempFile);
     1525      CollectionAssert.AreEqual(q, newQ);
     1526    }
     1527
     1528
    15181529
    15191530    [ClassInitialize]
Note: See TracChangeset for help on using the changeset viewer.