Tester for System.Web.UI.HtmlControls.HtmlTextArea
Inheritance: HtmlControlTester
Example #1
0
        public void TestUnsetProperties()
        {
            HtmlTextAreaTester textArea = new HtmlTextAreaTester("textAreaDefaults");

            Assert.AreEqual(-1, textArea.Cols);
            Assert.AreEqual(-1, textArea.Rows);
        }
Example #2
0
        public void TestProperties()
        {
            HtmlTextAreaTester textArea = new HtmlTextAreaTester("textArea");

            Assert.AreEqual(42, textArea.Cols);
            Assert.AreEqual(24, textArea.Rows);
        }