Exemplo n.º 1
0
		public void EventDefaults_Deny_Minimal ()
		{
			CustomValidatorTest unit = new CustomValidatorTest ();
			unit.EventDefaults ();
			// note: this is a failing security check on reflection,
			// the SecurityException is the InnerException of the 
			// TargetInvocationException
		}
Exemplo n.º 2
0
		public void EventDefaults_PermitOnly_Minimal ()
		{
			CustomValidatorTest unit = new CustomValidatorTest ();
			unit.EventDefaults ();
		}