Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/08/09 16:40:43 (16 years ago)
Author:
epitzer
Message:

Type name parser that recursively strips version information (#613)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/UnitTests/UseCases.cs

    r1734 r1776  
    1414using HeuristicLab.Persistence.Default.Xml.Primitive;
    1515using HeuristicLab.Persistence.Default.Decomposers;
     16using HeuristicLab.Persistence.Auxiliary;
    1617
    1718namespace HeuristicLab.Persistence.UnitTest {
     
    522523    }
    523524
     525    [TestMethod]
     526    public void TestTypeStringConversion() {
     527      string version = TypeStringBuilder.StripVersion(typeof(List<int>[]).AssemblyQualifiedName);
     528      Assert.AreEqual(version, typeof(List<int>[]).VersionInvariantName());
     529    }
     530
    524531    [ClassInitialize]
    525532    public static void Initialize(TestContext testContext) {
    526533      ConfigurationService.Instance.Reset();
    527     }
    528   }
     534    }   
     535  } 
    529536}
Note: See TracChangeset for help on using the changeset viewer.