コード例 #1
0
 public virtual void TestInstanceMethod()
 {
     PrototypesTestCase.Item item = ((PrototypesTestCase.Item)Prototype(typeof(PrototypesTestCase.Item
                                                                               )));
     AssertPath(item, item.Child(), new string[] { "_child" });
 }
コード例 #2
0
 public virtual void TestLevel2()
 {
     PrototypesTestCase.Item item = ((PrototypesTestCase.Item)Prototype(typeof(PrototypesTestCase.Item
                                                                               )));
     AssertPath(item, item.Child().Name(), new string[] { "_child", "_name" });
 }
コード例 #3
0
 public virtual void TestStringMethod()
 {
     PrototypesTestCase.Item item = ((PrototypesTestCase.Item)Prototype(typeof(PrototypesTestCase.Item
                                                                               )));
     AssertPath(item, item.Name(), new string[] { "_name" });
 }