- Timestamp:
- 02/24/10 12:35:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Persistence Test/HeuristicLab.Persistence/UnitTests/UseCases.cs
r2106 r2858 408 408 foreach (Type t in a.GetTypes()) { 409 409 foreach (MemberInfo mi in t.GetMembers(BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static)) { 410 if (mi.DeclaringType.Name.StartsWith("<>")) 411 continue; 410 412 if (char.IsLower(mi.Name[0])) { 411 413 if (mi.MemberType == MemberTypes.Field) … … 506 508 507 509 [TestMethod] 510 public void TestHexadecimalPublicKeyToken() { 511 string name = "TestClass, TestAssembly, Version=1.2.3.4, PublicKey=1234abc"; 512 string shortName = "TestClass, TestAssembly"; 513 Assert.AreEqual(name, TypeNameParser.Parse(name).ToString()); 514 Assert.AreEqual(shortName, TypeNameParser.Parse(name).ToString(false)); 515 } 516 517 [TestMethod] 508 518 public void TestMultipleFailure() { 509 519 List<NonSerializable> l = new List<NonSerializable>();
Note: See TracChangeset
for help on using the changeset viewer.