Ejemplo n.º 1
0
		public void Deny_Unrestricted ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.ViewState ();
			unit.ControlPropertiesValid1 ();
			unit.CustomDescriptor ();
			unit.NoCustomDescriptor ();
		}
Ejemplo n.º 2
0
		public void ValidationProperty_Deny_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.ValidationProperty ();
			// note: this is a failing security check on reflection,
			// the SecurityException is the InnerException of the 
			// TargetInvocationException
		}
Ejemplo n.º 3
0
		public void GetControlValidationValue_Deny_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.GetControlValidationValue ();
			// note: this is a failing security check on reflection,
			// the SecurityException is the InnerException of the 
			// TargetInvocationException
		}
Ejemplo n.º 4
0
		public void ValidationProperty_PermitOnly_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.ValidationProperty ();
		}
Ejemplo n.º 5
0
		public void GetControlValidationValue_PermitOnly_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.GetControlValidationValue ();
		}