Example #1
0
 public void OnChildAdded2()
 {
     tlog.Debug(tag, $"OnChildAdded2 START");
     try
     {
         MyElement t2 = new MyElement();
         Assert.IsNotNull(t2, "null Element");
         t2.ChildAdded(new MyElement());
     }
     catch (ArgumentNullException e)
     {
         Assert.True(true, "Caught Exception" + e.Message.ToString());
     }
     tlog.Debug(tag, $"OnChildAdded2 END");
 }
Example #2
0
 public void OnChildAdded()
 {
     tlog.Debug(tag, $"OnChildAdded START");
     try
     {
         MyElement t2 = new MyElement();
         Assert.IsNotNull(t2, "null Element");
         t2.ChildAdded(new MyElement());
     }
     catch (Exception e)
     {
         Assert.Fail("Caught Exception" + e.ToString());
     }
     tlog.Debug(tag, $"OnChildAdded END");
 }