Exemplo n.º 1
0
            public string Render()
            {
                HtmlTextWriter writer;

                writer = CustomValidatorTest.GetWriter();
                base.Render(writer);
                return(writer.InnerWriter.ToString());
            }
Exemplo n.º 2
0
		public void Render_Deny_Minimal ()
		{
			CustomValidatorTest unit = new CustomValidatorTest ();
			unit.Render ();
			// note: this is a failing security check on reflection,
			// the SecurityException is the InnerException of the 
			// TargetInvocationException
		}
Exemplo n.º 3
0
		public void Render_PermitOnly_Minimal ()
		{
			CustomValidatorTest unit = new CustomValidatorTest ();
			unit.Render ();
		}
Exemplo n.º 4
0
		public void EventDefaults_PermitOnly_Minimal ()
		{
			CustomValidatorTest unit = new CustomValidatorTest ();
			unit.EventDefaults ();
		}
Exemplo n.º 5
0
		public void Deny_Unrestricted ()
		{
			CustomValidatorTest unit = new CustomValidatorTest ();
			unit.Defaults ();
		}