Example #1
0
		public void OnAuthenticate_True_Deny_Unrestricted ()
		{
			LoginTest unit = new LoginTest ();
			try {
				unit.OnAuthenticate_True ();
			}
			catch (TypeInitializationException) {
				// ms 2.0 - depending on the test run-order the HttpRuntime may throw
			}
		}
Example #2
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
			}
		}
Example #3
0
		public void Deny_Unrestricted ()
		{
			LoginTest unit = new LoginTest ();
			unit.ReadOnlyFields ();
			unit.DefaultProperties ();
			unit.AssignToDefaultProperties ();
			unit.NullProperties ();
			unit.BorderPadding ();
			unit.FailureAction_All ();
			unit.LoginButtonType_All ();
			unit.Orientation_All ();
			unit.TextLayout_All ();
			unit.SaveViewState ();
			unit.OnBubbleEvent_Cancel_OnLoggingIn ();
			unit.OnLoggingIn_False ();
			unit.OnLoggingIn_True ();
			unit.OnLoginError ();
			unit.OnLoggedIn ();
		}
Example #4
0
		public void OnBubbleEvent_Deny_ControlPrincipal ()
		{
			LoginTest unit = new LoginTest ();
			unit.OnBubbleEvent ();
		}
Example #5
0
		public void OnAuthenticate_False_Deny_ControlPrincipal ()
		{
			LoginTest unit = new LoginTest ();
			unit.OnAuthenticate_False ();
		}