Esempio n. 1
0
        public void Render()
        {
            HtmlTextWriter writer;
            StyleTestClass s;

            writer = StyleTest.GetWriter();
            s      = new StyleTestClass();

            s.BorderColor = Color.BlueViolet;
            s.AddAttributesToRender(writer);
            // Figure out an order-independent way to verify rendered results
        }
Esempio n. 2
0
		public void Deny_Unrestricted ()
		{
			StyleTest unit = new StyleTest ();
			unit.Style_Defaults ();
			unit.Style_State ();
			unit.Style_Merge ();
			unit.Style_Copy ();
			unit.StyleFonts ();
			unit.CopyFrom_Null ();
			unit.CopyFrom_Self ();
			unit.CopyFrom_Empty ();
			unit.CopyFrom ();
			unit.CopyFrom_IsEmpty ();
			unit.Constructor_StateBag_Null ();
			unit.Empty ();
			unit.FontInfo_Empty ();
			unit.Render ();
			unit.Style_CssClass ();
		}