public void RenderValue1() { TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton(); rb.ID = "id"; string attrs = rb.RenderAttributes(); Assert.IsTrue(attrs.IndexOf("value=\"id\"") >= 0); rb.Value = "hola<&"; attrs = rb.RenderAttributes(); Assert.IsTrue(attrs.IndexOf("value=\"hola<&\"") >= 0); }
public void RenderAttributes() { TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton(); rb.Checked = true; rb.Name = "mono"; rb.Value = "value"; rb.RenderAttributes(); }
public void RenderValue1 () { TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton (); rb.ID = "id"; string attrs = rb.RenderAttributes (); Assert.IsTrue (attrs.IndexOf ("value=\"id\"") >= 0); rb.Value = "hola<&"; attrs = rb.RenderAttributes (); Assert.IsTrue (attrs.IndexOf ("value=\"hola<&\"") >= 0); }
public void RenderAttributes () { TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton (); rb.Checked = true; rb.Name = "mono"; rb.Value = "value"; rb.RenderAttributes (); }