示例#1
0
		public void Deny_Unrestricted ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.ViewState ();
			unit.ControlPropertiesValid1 ();
			unit.CustomDescriptor ();
			unit.NoCustomDescriptor ();
		}
示例#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
		}
示例#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
		}
示例#4
0
		public void ValidationProperty_PermitOnly_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.ValidationProperty ();
		}
示例#5
0
		public void GetControlValidationValue_PermitOnly_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.GetControlValidationValue ();
		}