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:
Danil Kornishev 2017-03-31 16:01:27 -04:00 committed by Zeger Hendrikse
parent 4c84fabd1a
commit 3c334e6b56
5 changed files with 5 additions and 5 deletions

View File

@ -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() {

View File

@ -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() {

View File

@ -19,7 +19,7 @@ import javax.annotation.Resource;
public class JunctionStateMachineTest {
@Resource
private StateMachine stateMachine;
private StateMachine<String, String> stateMachine;
@Before
public void setUp() {

View File

@ -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() {

View File

@ -22,7 +22,7 @@ import javax.annotation.Resource;
public class StateMachineIntegrationTest {
@Resource
private StateMachine stateMachine;
private StateMachine<String, String> stateMachine;
@Before
public void setUp() {