Exemple #1
0
        public void PermitOnly_ControlPrincipal()
        {
            LoginTest unit = new LoginTest();

            try {
                unit.OnBubbleEvent();
                unit.OnAuthenticate_False();
            }
            catch (TypeInitializationException) {
                // ms 2.0 - depending on the test run-order the HttpRuntime may throw
            }
        }
        public void OnBubbleEvent_Deny_ControlPrincipal()
        {
            LoginTest unit = new LoginTest();

            unit.OnBubbleEvent();
        }