Esempio n. 1
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, Action <object> attributeValidator, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     attributeValidator(frame.AttributeValue);
 }
Esempio n. 2
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, object attributeValue, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     Assert.Equal(attributeValue, frame.AttributeValue);
 }
Esempio n. 3
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, Type valueType, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     Assert.IsType(valueType, frame.AttributeValue);
 }
Esempio n. 4
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, Action <UIEventArgs> attributeEventHandlerValue, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     Assert.Equal(attributeEventHandlerValue, frame.AttributeValue);
 }