コード例 #1
0
        public void Deny_Unrestricted()
        {
            RangeValidatorTest unit = new RangeValidatorTest();

            unit.State();
            unit.Defaults();
            unit.NoException7Test();
        }
コード例 #2
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
        }
コード例 #3
0
        public void ValidateRangeTest_PermitOnly_Minimal()
        {
            RangeValidatorTest unit = new RangeValidatorTest();

            unit.ValidateRangeTest();
        }
コード例 #4
0
        public void Render_PermitOnly_Minimal()
        {
            RangeValidatorTest unit = new RangeValidatorTest();

            unit.Render();
        }