Tester for System.Web.UI.HtmlControls.HtmlTextArea
Наследование: HtmlControlTester
Пример #1
0
        public void TestUnsetProperties()
        {
            HtmlTextAreaTester textArea = new HtmlTextAreaTester("textAreaDefaults");

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

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