Exemple #1
0
 public void Arrays()
 {
     Assert.AreEqual("System.String[]", Cd2Cd.GetTypeName(typeof(string[])));
 }
Exemple #2
0
 public void Lists()
 {
     Assert.AreEqual("System.Collections.Generic.List<System.String>", Cd2Cd.GetTypeName(typeof(List <string>)));
 }
Exemple #3
0
 public void NestedGeneric1()
 {
     Assert.AreEqual("Tests.Name.MyTest3<System.String>.MyTest4<System.Int32>", Cd2Cd.GetTypeName(typeof(MyTest3 <string> .MyTest4 <int>)));
 }
Exemple #4
0
 public void SimpleGeneric()
 {
     Assert.AreEqual("Tests.Name.MyTest3<System.String>", Cd2Cd.GetTypeName(typeof(MyTest3 <string>)));
 }
Exemple #5
0
 public void NestedClass()
 {
     Assert.AreEqual("Tests.Name.ClassNameTests.MyTest2", Cd2Cd.GetTypeName(typeof(MyTest2)));
 }
Exemple #6
0
 public void SmokeTest()
 {
     Assert.AreEqual("Tests.Name.MyTest1", Cd2Cd.GetTypeName(typeof(MyTest1)));
 }