Ejemplo n.º 1
0
        public void LoadPostData()
        {
            TestHtmlInputPassword it = new TestHtmlInputPassword();

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

            nvc.Add("id1", "mono");
            Assert.IsTrue(it.LoadPost("id1", nvc), "LoadPostData");
            Assert.AreEqual("mono", it.Value, "Value");
        }
Ejemplo n.º 2
0
		public void LoadPostData ()
		{
			TestHtmlInputPassword it = new TestHtmlInputPassword ();
			it.ID = "id1";
			NameValueCollection nvc = new NameValueCollection ();
			nvc.Add ("id1", "mono");
			Assert.IsTrue (it.LoadPost ("id1", nvc), "LoadPostData");
			Assert.AreEqual ("mono", it.Value, "Value");
		}
Ejemplo n.º 3
0
        public void LoadPostData_NullCollection()
        {
            TestHtmlInputPassword it = new TestHtmlInputPassword();

            it.LoadPost("id1", null);
        }
Ejemplo n.º 4
0
		public void LoadPostData_NullCollection ()
		{
			TestHtmlInputPassword it = new TestHtmlInputPassword ();
			it.LoadPost ("id1", null);
		}