コード例 #1
0
ファイル: BaseValidatorCas.cs プロジェクト: nobled/mono
		public void Deny_Unrestricted ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.ViewState ();
			unit.ControlPropertiesValid1 ();
			unit.CustomDescriptor ();
			unit.NoCustomDescriptor ();
		}
コード例 #2
0
ファイル: BaseValidatorCas.cs プロジェクト: nobled/mono
		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
ファイル: BaseValidatorCas.cs プロジェクト: nobled/mono
		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
ファイル: BaseValidatorCas.cs プロジェクト: nobled/mono
		public void ValidationProperty_PermitOnly_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.ValidationProperty ();
		}
コード例 #5
0
ファイル: BaseValidatorCas.cs プロジェクト: nobled/mono
		public void GetControlValidationValue_PermitOnly_Minimal ()
		{
			BaseValidatorTest unit = new BaseValidatorTest ();
			unit.GetControlValidationValue ();
		}