Esempio n. 1
0
        public void HtmlTableRowControlCollectionAddAt_WrongType()
        {
            TestHtmlTable     t = new TestHtmlTable();
            ControlCollection c = t.GetCollection();

            c.AddAt(0, new HtmlTable());
        }
Esempio n. 2
0
        public void HtmlTableRowControlCollectionAddAt_Null()
        {
            TestHtmlTable     t = new TestHtmlTable();
            ControlCollection c = t.GetCollection();

            c.AddAt(0, null);
        }
Esempio n. 3
0
        public void HtmlTableRowControlCollectionAddAt()
        {
            TestHtmlTable     t = new TestHtmlTable();
            ControlCollection c = t.GetCollection();

            c.AddAt(0, new HtmlTableRow());
            c.AddAt(0, new InheritedHtmlTableRow());
            Assert.AreEqual(2, c.Count, "Rows");
        }
Esempio n. 4
0
		public void HtmlTableRowControlCollectionAddAt ()
		{
			TestHtmlTable t = new TestHtmlTable ();
			ControlCollection c = t.GetCollection ();
			c.AddAt (0, new HtmlTableRow ());
			c.AddAt (0, new InheritedHtmlTableRow ());
			Assert.AreEqual (2, c.Count, "Rows");
		}
Esempio n. 5
0
		public void HtmlTableRowControlCollectionAddAt_WrongType ()
		{
			TestHtmlTable t = new TestHtmlTable ();
			ControlCollection c = t.GetCollection ();
			c.AddAt (0, new HtmlTable ());
		}
Esempio n. 6
0
		public void HtmlTableRowControlCollectionAddAt_Null ()
		{
			TestHtmlTable t = new TestHtmlTable ();
			ControlCollection c = t.GetCollection ();
			c.AddAt (0, null);
		}