C# Class Appccelerate.StateMachine.Machine.ExceptionCasesTest

Tests exception behavior of the StateMachine{TState,TEvent}.
ファイルを表示 Open project: appccelerate/appccelerate

Public Methods

Method Description
ExceptionCasesTest ( ) : System

Private Methods

Method 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 method

public ExceptionCasesTest ( ) : System
return System