예제 #1
0
 private void RunAssertionEventInvalidProp(EventBean @event)
 {
     foreach (var prop in Arrays.AsList("xxxx", "MyString('a')", "x.y", "MyString.x"))
     {
         SupportMessageAssertUtil.TryInvalidProperty(@event, prop);
         SupportMessageAssertUtil.TryInvalidGetFragment(@event, prop);
     }
 }
 private void RunAssertionEventInvalidProp(EventBean @event)
 {
     foreach (var prop in Collections.List("l2", "l2[0]", "l1[0].l3", "l1[0].l2[0].l3[0].x"))
     {
         SupportMessageAssertUtil.TryInvalidProperty(@event, prop);
         SupportMessageAssertUtil.TryInvalidGetFragment(@event, prop);
     }
 }
 private void RunAssertionEventInvalidProp(EventBean @event)
 {
     foreach (var prop in Arrays.AsList("L2", "L1.L3", "L1.xxx", "L1.L2.x", "L1.L2.L3.x", "L1.Lvl1.x"))
     {
         SupportMessageAssertUtil.TryInvalidProperty(@event, prop);
         SupportMessageAssertUtil.TryInvalidGetFragment(@event, prop);
     }
 }
 private void RunAssertionEventInvalidProp(EventBean @event)
 {
     foreach (string prop in Collections.List("xxxx", "mapped[1]", "indexed('a')", "mapped.x", "indexed.x"))
     {
         SupportMessageAssertUtil.TryInvalidProperty(@event, prop);
         SupportMessageAssertUtil.TryInvalidGetFragment(@event, prop);
     }
 }