C# Class Appccelerate.StateMachine.Machine.ExceptionCasesTest

Tests exception behavior of the StateMachine{TState,TEvent}.
Afficher le fichier Open project: appccelerate/appccelerate

Méthodes publiques

Méthode Description
ExceptionCasesTest ( ) : System

Private Methods

Méthode Description
AssertException ( StateMachine expectedStateId, StateMachine expectedEventId, object expectedEventArguments, Exception expectedException ) : void

Asserts that the correct exception was notified.

DefineNonTreeHierarchy ( ) : void
EntryActionWhenThrowingExceptionThenNotificationAndStateIsEntered ( ) : void
ExceptionIfInitializeIsCalledTwice ( ) : void
ExceptionIfNotInitialized ( ) : void
ExceptionThrowingAction ( ) : void
ExceptionThrowingGuard ( ) : void
ExitActionWhenThrowingExceptionThenNotificationAndStateIsEntered ( ) : void
MultipleTransitionsWithoutGuardsWhenDefiningAGotoTheninvalidOperationException ( ) : void
MultipleTransitionsWithoutGuardsWhenDefiningAnActionTheninvalidOperationException ( ) : void
NotInitialized ( ) : void
ThrowsExceptionOnLoading_WhenAlreadyInitialized ( ) : void
ThrowsExceptionOnLoading_WhenSettingALastActiveStateThatIsNotASubState ( ) : void
TransitionWithoutGuardHasToBeLast ( ) : void

Method Details

ExceptionCasesTest() public méthode

public ExceptionCasesTest ( ) : System
Résultat System