예제 #1
0
		public void Deny_Unrestricted ()
		{
			RangeValidatorTest unit = new RangeValidatorTest ();
			unit.State ();
			unit.Defaults ();
			unit.NoException7Test ();
		}
예제 #2
0
            public string Render()
            {
                HtmlTextWriter writer;

                writer = RangeValidatorTest.GetWriter();
                base.Render(writer);
                return(writer.InnerWriter.ToString());
            }
예제 #3
0
		public void ValidateRangeTest_Deny_Minimal ()
		{
			RangeValidatorTest unit = new RangeValidatorTest ();
			unit.ValidateRangeTest ();
			// note: this is a failing security check on reflection,
			// the SecurityException is the InnerException of the 
			// TargetInvocationException
		}
예제 #4
0
		public void ValidateRangeTest_PermitOnly_Minimal ()
		{
			RangeValidatorTest unit = new RangeValidatorTest ();
			unit.ValidateRangeTest ();
		}
예제 #5
0
		public void Render_PermitOnly_Minimal ()
		{
			RangeValidatorTest unit = new RangeValidatorTest ();
			unit.Render ();
		}