Index

A B C D E G H L O R S T 
All Classes and Interfaces|All Packages

A

AbstractStateMachineJUnit4Tests - Class in org.springframework.statemachine.test
Base helper class for state machine tests.
AbstractStateMachineJUnit4Tests() - Constructor for class org.springframework.statemachine.test.AbstractStateMachineJUnit4Tests
 
AbstractStateMachineJUnit5Tests - Class in org.springframework.statemachine.test
Base helper class for state machine tests.
AbstractStateMachineJUnit5Tests() - Constructor for class org.springframework.statemachine.test.AbstractStateMachineJUnit5Tests
 
and() - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Add a new step and return StateMachineTestPlanBuilder for chaining.
assertThat(StateContext<?, ?>) - Static method in class org.springframework.statemachine.test.assertj.StateMachineAsserts
Creates a new instance of StateContextAssert allowing to perform assertions on it.
assertThat(StateMachine<?, ?>) - Static method in class org.springframework.statemachine.test.assertj.StateMachineAsserts
Creates a new instance of StateMachineAssert allowing to perform assertions on it.
assertThat(StateMachineEventResult<?, ?>) - Static method in class org.springframework.statemachine.test.assertj.StateMachineAsserts
Creates a new instance of StateMachineEventResultAssert allowing to perform assertions on it.

B

build() - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder
Builds the state machine test plan.
buildContext() - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit4Tests
 
buildContext() - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit5Tests
 
builder() - Static method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder
Gets a new instance of this builder.

C

callMethod(String, Object) - Static method in class org.springframework.statemachine.test.TestUtils
 
callMethod(String, Object, Object[], Class<?>[]) - Static method in class org.springframework.statemachine.test.TestUtils
 
clean() - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit4Tests
 
clean() - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit5Tests
 
context - Variable in class org.springframework.statemachine.test.AbstractStateMachineJUnit4Tests
 
context - Variable in class org.springframework.statemachine.test.AbstractStateMachineJUnit5Tests
 

D

defaultAwaitTime(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder
Sets default await time.
doesNotHaveSource() - Method in class org.springframework.statemachine.test.assertj.StateContextAssert
Verifies that the actual context does not have a source.
doesNotHaveState() - Method in class org.springframework.statemachine.test.assertj.StateMachineAssert
Verifies that the actual machine does not have a state.
doesNotHaveTarget() - Method in class org.springframework.statemachine.test.assertj.StateContextAssert
Verifies that the actual context does not have a target.

E

eventNotAccepted(Message<E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
expectEventNotAccepted(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect event not accepter happening count times.
expectExtendedStateChanged(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect state machine extended state variables changing count times.
expectState(S) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect a state S.
expectStateChanged(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect state changed happening count times.
expectStateEntered(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect state enter happening count times.
expectStateEntered(S...) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect states entered in order given.
expectStateExited(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect state exit happening count times.
expectStateExited(S...) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect states exited in order given.
expectStateMachineStarted(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect state machine start happening count times.
expectStateMachineStopped(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect state machine stop happening count times.
expectStates(S...) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect a states S.
expectTransition(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect transition happening count times.
expectTransitionEnded(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect transition end happening count times.
expectTransitionStarted(int) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect transition start happening count times.
expectVariable(Object) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect variable to exist in extended state variables.
expectVariable(Object, Object) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect variable to exist in extended state variables and match with the value.
expectVariableWith(Matcher<Map<? extends Object, ?>>) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Expect variable map with hamcrest Matcher.
extendedStateChanged(Object, Object) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
ExtendedStateChangedWrapper(Object, Object) - Constructor for class org.springframework.statemachine.test.support.LatchStateMachineListener.ExtendedStateChangedWrapper
 

G

getEventNotAccepted() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getEventNotAcceptedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getExtendedStateChanged() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getExtendedStateChangedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateChanged() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateChangedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateEntered() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateEnteredLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateExited() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateExitedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateMachineStarted() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateMachineStartedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateMachineStopped() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getStateMachineStoppedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getTransition() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getTransitionEnded() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getTransitionEndedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getTransitionLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getTransitionStarted() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
getTransitionStartedLatch() - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 

H

hasEvent(Object) - Method in class org.springframework.statemachine.test.assertj.StateContextAssert
Verifies that the actual context has the same event as given event.
hasResultType(StateMachineEventResult.ResultType) - Method in class org.springframework.statemachine.test.assertj.StateMachineEventResultAssert
Verifies that the actual event result has the same StateMachineEventResult.ResultType as given StateMachineEventResult.ResultType.
hasSourceId(Object) - Method in class org.springframework.statemachine.test.assertj.StateContextAssert
Verifies that the actual context has the same source id as given id.
hasStage(StateContext.Stage) - Method in class org.springframework.statemachine.test.assertj.StateContextAssert
Verifies that the actual context has the same StateContext.Stage as given StateContext.Stage.
hasStateId(Object) - Method in class org.springframework.statemachine.test.assertj.StateMachineAssert
Verifies that the actual machine has the same state id as given id.
hasTargetId(Object) - Method in class org.springframework.statemachine.test.assertj.StateContextAssert
Verifies that the actual context has the same target id as given id.

L

LatchStateMachineListener<S,E> - Class in org.springframework.statemachine.test.support
A StateMachineListener which is used during the tests to assert correct count of listener callbacks.
LatchStateMachineListener() - Constructor for class org.springframework.statemachine.test.support.LatchStateMachineListener
 
LatchStateMachineListener.ExtendedStateChangedWrapper - Class in org.springframework.statemachine.test.support
 
LatchStateMachineListener.StateChangedWrapper<S,E> - Class in org.springframework.statemachine.test.support
 

O

org.springframework.statemachine.test - package org.springframework.statemachine.test
 
org.springframework.statemachine.test.assertj - package org.springframework.statemachine.test.assertj
 
org.springframework.statemachine.test.support - package org.springframework.statemachine.test.support
 

R

readField(String, Object) - Static method in class org.springframework.statemachine.test.TestUtils
 
registerAndRefresh(Class<?>...) - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit4Tests
 
registerAndRefresh(Class<?>...) - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit5Tests
 
reset(int, int, int, int, int, int, int, int, int, int) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 

S

sendEvent(E) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Send an event E.
sendEvent(E, boolean) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Send an event E.
sendEvent(E, boolean, boolean) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Send an event E.
sendEvent(E, Object) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Send an event E into a state machine identified by machineId.
sendEvent(Message<E>) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Send a message Message<E>.
sendEvent(Message<E>, boolean) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Send a message Message<E>.
sendEvent(Message<E>, Object) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
Send a message Message<E> into a state machine identified by machineId.
setField(String, Object, Object) - Static method in class org.springframework.statemachine.test.TestUtils
 
setup() - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit4Tests
 
setup() - Method in class org.springframework.statemachine.test.AbstractStateMachineJUnit5Tests
 
stateChanged(State<S, E>, State<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
StateChangedWrapper(State<S, E>, State<S, E>) - Constructor for class org.springframework.statemachine.test.support.LatchStateMachineListener.StateChangedWrapper
 
StateContextAssert - Class in org.springframework.statemachine.test.assertj
Assertions applicable to a StateContext.
StateContextAssert(StateContext<?, ?>) - Constructor for class org.springframework.statemachine.test.assertj.StateContextAssert
Instantiates a new state context assert.
stateEntered(State<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
stateExited(State<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
stateMachine(StateMachine<S, E>) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder
Associate a state machine with this builder.
stateMachine(StateMachine<S, E>, Object) - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder
Associate a state machine with this builder.
StateMachineAssert - Class in org.springframework.statemachine.test.assertj
Assertions applicable to a StateMachine.
StateMachineAssert(StateMachine<?, ?>) - Constructor for class org.springframework.statemachine.test.assertj.StateMachineAssert
Instantiates a new state machine assert.
StateMachineAsserts - Class in org.springframework.statemachine.test.assertj
Entry point for all assertj definitions for a StateMachine.
StateMachineAsserts() - Constructor for class org.springframework.statemachine.test.assertj.StateMachineAsserts
 
StateMachineEventResultAssert - Class in org.springframework.statemachine.test.assertj
Assertions applicable to a StateMachineEventResult.
StateMachineEventResultAssert(StateMachineEventResult<?, ?>) - Constructor for class org.springframework.statemachine.test.assertj.StateMachineEventResultAssert
Instantiates a new state machine event result assert.
stateMachineStarted(StateMachine<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
stateMachineStopped(StateMachine<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
StateMachineTestPlan<S,E> - Class in org.springframework.statemachine.test
StateMachineTestPlan is fully constructed plan how a StateMachine should be tested.
StateMachineTestPlan(Map<Object, StateMachine<S, E>>, List<StateMachineTestPlanBuilder.StateMachineTestPlanStep<S, E>>, Integer) - Constructor for class org.springframework.statemachine.test.StateMachineTestPlan
Instantiates a new state machine test plan.
StateMachineTestPlanBuilder<S,E> - Class in org.springframework.statemachine.test
A builder for StateMachineTestPlan.
StateMachineTestPlanBuilder() - Constructor for class org.springframework.statemachine.test.StateMachineTestPlanBuilder
 
StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder - Class in org.springframework.statemachine.test
Builder for individual plan steps.
StateMachineTestPlanStepBuilder() - Constructor for class org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStepBuilder
 
step() - Method in class org.springframework.statemachine.test.StateMachineTestPlanBuilder
Gets a new step builder.

T

test() - Method in class org.springframework.statemachine.test.StateMachineTestPlan
Run test plan.
TestUtils - Class in org.springframework.statemachine.test
Utils for tests.
TestUtils() - Constructor for class org.springframework.statemachine.test.TestUtils
 
transition(Transition<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
transitionEnded(Transition<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
transitionStarted(Transition<S, E>) - Method in class org.springframework.statemachine.test.support.LatchStateMachineListener
 
A B C D E G H L O R S T 
All Classes and Interfaces|All Packages