Ejemplo n.º 1
0
        public void Render()
        {
            TestHtmlTableCell c = new TestHtmlTableCell();

            c.Align       = "*1*";
            c.BgColor     = "*2*";
            c.BorderColor = "*3*";
            c.ColSpan     = 4;
            c.Width       = "*5*";

            Assert.AreEqual(AdjustLineEndings("<td align=\"*1*\" bgcolor=\"*2*\" bordercolor=\"*3*\" colspan=\"4\" width=\"*5*\"></td>\r\n"), c.Render());
        }
Ejemplo n.º 2
0
		public void Render ()
		{
			TestHtmlTableCell c = new TestHtmlTableCell ();
			c.Align = "*1*";
			c.BgColor = "*2*";
			c.BorderColor = "*3*";
			c.ColSpan = 4;
			c.Width = "*5*";

			Assert.AreEqual (AdjustLineEndings ("<td align=\"*1*\" bgcolor=\"*2*\" bordercolor=\"*3*\" colspan=\"4\" width=\"*5*\"></td>\r\n"), c.Render ());
		}