Spring State Machine x4 (#1547)
* [Fix] Move stateDo onto a separate state * Change tests to spring runner * Add generic params to StateMachine variables
This commit is contained in:
parent
4c84fabd1a
commit
3c334e6b56
@ -22,7 +22,7 @@ import static org.junit.Assert.assertTrue;
|
||||
public class ForkJoinStateMachineTest {
|
||||
|
||||
@Resource
|
||||
private StateMachine stateMachine;
|
||||
private StateMachine<String, String> stateMachine;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
|
@ -21,7 +21,7 @@ import static org.junit.Assert.assertEquals;
|
||||
public class HierarchicalStateMachineTest {
|
||||
|
||||
@Resource
|
||||
private StateMachine stateMachine;
|
||||
private StateMachine<String, String> stateMachine;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
|
@ -19,7 +19,7 @@ import javax.annotation.Resource;
|
||||
public class JunctionStateMachineTest {
|
||||
|
||||
@Resource
|
||||
private StateMachine stateMachine;
|
||||
private StateMachine<String, String> stateMachine;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
|
@ -23,7 +23,7 @@ import static org.junit.Assert.assertTrue;
|
||||
public class StateEnumMachineTest {
|
||||
|
||||
@Resource
|
||||
private StateMachine stateMachine;
|
||||
private StateMachine<ApplicationReviewStates, ApplicationReviewEvents> stateMachine;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
|
@ -22,7 +22,7 @@ import javax.annotation.Resource;
|
||||
public class StateMachineIntegrationTest {
|
||||
|
||||
@Resource
|
||||
private StateMachine stateMachine;
|
||||
private StateMachine<String, String> stateMachine;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user