Пример #1
0
        public void HtmlTableRowControlCollectionAddAt_WrongType()
        {
            TestHtmlTable     t = new TestHtmlTable();
            ControlCollection c = t.GetCollection();

            c.AddAt(0, new HtmlTable());
        }
Пример #2
0
        public void HtmlTableRowControlCollectionAddAt_Null()
        {
            TestHtmlTable     t = new TestHtmlTable();
            ControlCollection c = t.GetCollection();

            c.AddAt(0, null);
        }
Пример #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");
        }
Пример #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");
		}
Пример #5
0
		public void HtmlTableRowControlCollectionAddAt_WrongType ()
		{
			TestHtmlTable t = new TestHtmlTable ();
			ControlCollection c = t.GetCollection ();
			c.AddAt (0, new HtmlTable ());
		}
Пример #6
0
		public void HtmlTableRowControlCollectionAddAt_Null ()
		{
			TestHtmlTable t = new TestHtmlTable ();
			ControlCollection c = t.GetCollection ();
			c.AddAt (0, null);
		}