Exemplo n.º 1
0
        public void LoadPostData()
        {
            TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton();

            rb.ID = "id1";
            NameValueCollection nvc = new NameValueCollection();

            nvc.Add("id1", "mono");
            Assert.IsFalse(rb.LoadPost("id1", nvc), "LoadPostData");
            Assert.AreEqual("id1", rb.Value, "Value");
        }
Exemplo n.º 2
0
		public void LoadPostData ()
		{
			TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton ();
			rb.ID = "id1";
			NameValueCollection nvc = new NameValueCollection ();
			nvc.Add ("id1", "mono");
			Assert.IsFalse (rb.LoadPost ("id1", nvc), "LoadPostData");
			Assert.AreEqual ("id1", rb.Value, "Value");
		}
Exemplo n.º 3
0
        public void LoadPostData_NullCollection()
        {
            TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton();

            rb.LoadPost("id1", null);
        }
Exemplo n.º 4
0
		public void LoadPostData_NullCollection ()
		{
			TestHtmlInputRadioButton rb = new TestHtmlInputRadioButton ();
			rb.LoadPost ("id1", null);
		}