public void TestMethodInClass() { var info = new AssemblyBrowserLib.TypeInfo(typeof(Class3)); var methodInfo = new TypeMemberInfo(typeof(Class3).GetMember("DoSmt")[0]); Assert.AreEqual(info.Members[0].Info, methodInfo.Info); }
public void TestClassInfo() { var info = new AssemblyBrowserLib.TypeInfo(typeof(Class1)); Assert.AreEqual(2, info.Members.Count); }
public void TestTypeInfo() { var info = new AssemblyBrowserLib.TypeInfo(typeof(Class1)); Assert.AreEqual("Field System.Int32 one", info.Members[1].Info); }
private void Setup() { var info = new AssemblyBrowserLib.TypeInfo(typeof(Class2)); info.Members[0].ToString(); }