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 {
|
public class ForkJoinStateMachineTest {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private StateMachine stateMachine;
|
private StateMachine<String, String> stateMachine;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
|
@ -21,7 +21,7 @@ import static org.junit.Assert.assertEquals;
|
|||||||
public class HierarchicalStateMachineTest {
|
public class HierarchicalStateMachineTest {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private StateMachine stateMachine;
|
private StateMachine<String, String> stateMachine;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
|
@ -19,7 +19,7 @@ import javax.annotation.Resource;
|
|||||||
public class JunctionStateMachineTest {
|
public class JunctionStateMachineTest {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private StateMachine stateMachine;
|
private StateMachine<String, String> stateMachine;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
|
@ -23,7 +23,7 @@ import static org.junit.Assert.assertTrue;
|
|||||||
public class StateEnumMachineTest {
|
public class StateEnumMachineTest {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private StateMachine stateMachine;
|
private StateMachine<ApplicationReviewStates, ApplicationReviewEvents> stateMachine;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
|
@ -22,7 +22,7 @@ import javax.annotation.Resource;
|
|||||||
public class StateMachineIntegrationTest {
|
public class StateMachineIntegrationTest {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private StateMachine stateMachine;
|
private StateMachine<String, String> stateMachine;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user