Skip to content

Commit

Permalink
2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Browse files Browse the repository at this point in the history
	* HtmlInputRadioButtonTest.cs: added test for bug #78101.


svn path=/branches/mono-1-1-13/mcs/; revision=59771
  • Loading branch information
gonzalop committed Apr 21, 2006
1 parent 7314869 commit d573fd2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputRadioButtonTest.cs: added test for bug #78101.

2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTextAreaTest.cs: add new test for 'Name'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,19 @@ public void IPostBackDataHandler_LoadPostData ()
Assert.IsFalse (pbdh.LoadPostData ("id1", nvc), "LoadPostData");
Assert.AreEqual ("id1", rb.Value, "Value");
}

[Test]
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);
}

#if NET_2_0
[Test]
public void RaisePostBackEvent ()
Expand Down

0 comments on commit d573fd2

Please sign in to comment.