Search in sources :

Example 1 with ExecutionFlow

use of org.yakindu.sct.model.sexec.ExecutionFlow in project statecharts by Yakindu.

the class AssignmentAsExpression method setup.

@Before
public void setup() throws Exception {
    ExecutionFlow flow = models.loadExecutionFlowFromResource("AssignmentAsExpression.sct");
    initInterpreter(flow);
}
Also used : ExecutionFlow(org.yakindu.sct.model.sexec.ExecutionFlow) Before(org.junit.Before)

Example 2 with ExecutionFlow

use of org.yakindu.sct.model.sexec.ExecutionFlow in project statecharts by Yakindu.

the class CastExpressions method setup.

@Before
public void setup() throws Exception {
    ExecutionFlow flow = models.loadExecutionFlowFromResource("CastExpressions.sct");
    initInterpreter(flow);
}
Also used : ExecutionFlow(org.yakindu.sct.model.sexec.ExecutionFlow) Before(org.junit.Before)

Example 3 with ExecutionFlow

use of org.yakindu.sct.model.sexec.ExecutionFlow in project statecharts by Yakindu.

the class ChildFirstLocalReactions method setup.

@Before
public void setup() throws Exception {
    ExecutionFlow flow = models.loadExecutionFlowFromResource("executionorder/ChildFirstLocalReactions.sct");
    initInterpreter(flow);
}
Also used : ExecutionFlow(org.yakindu.sct.model.sexec.ExecutionFlow) Before(org.junit.Before)

Example 4 with ExecutionFlow

use of org.yakindu.sct.model.sexec.ExecutionFlow in project statecharts by Yakindu.

the class StringExpressions method setup.

@Before
public void setup() throws Exception {
    ExecutionFlow flow = models.loadExecutionFlowFromResource("StringExpressions.sct");
    initInterpreter(flow);
}
Also used : ExecutionFlow(org.yakindu.sct.model.sexec.ExecutionFlow) Before(org.junit.Before)

Example 5 with ExecutionFlow

use of org.yakindu.sct.model.sexec.ExecutionFlow in project statecharts by Yakindu.

the class TriggerGuardExpressions method setup.

@Before
public void setup() throws Exception {
    ExecutionFlow flow = models.loadExecutionFlowFromResource("TriggerGuardExpressions.sct");
    initInterpreter(flow);
}
Also used : ExecutionFlow(org.yakindu.sct.model.sexec.ExecutionFlow) Before(org.junit.Before)

Aggregations

ExecutionFlow (org.yakindu.sct.model.sexec.ExecutionFlow)160 Test (org.junit.Test)82 Before (org.junit.Before)73 ExecutionState (org.yakindu.sct.model.sexec.ExecutionState)66 Statechart (org.yakindu.sct.model.sgraph.Statechart)65 SGraphTestFactory._createStatechart (org.yakindu.sct.model.sgraph.test.util.SGraphTestFactory._createStatechart)58 VariableDefinition (org.yakindu.sct.model.stext.stext.VariableDefinition)54 StextTestFactory._createVariableDefinition (org.yakindu.sct.model.stext.test.util.StextTestFactory._createVariableDefinition)54 Region (org.yakindu.sct.model.sgraph.Region)53 SGraphTestFactory._createRegion (org.yakindu.sct.model.sgraph.test.util.SGraphTestFactory._createRegion)53 State (org.yakindu.sct.model.sgraph.State)50 SGraphTestFactory._createState (org.yakindu.sct.model.sgraph.test.util.SGraphTestFactory._createState)50 Sequence (org.yakindu.sct.model.sexec.Sequence)49 StextTestFactory._createInterfaceScope (org.yakindu.sct.model.stext.test.util.StextTestFactory._createInterfaceScope)47 InterfaceScope (org.yakindu.sct.model.stext.stext.InterfaceScope)40 Entry (org.yakindu.sct.model.sgraph.Entry)29 SGraphTestFactory._createEntry (org.yakindu.sct.model.sgraph.test.util.SGraphTestFactory._createEntry)29 SCTTestUtil.findState (org.yakindu.sct.model.sexec.transformation.test.SCTTestUtil.findState)28 Reaction (org.yakindu.sct.model.sexec.Reaction)26 LocalReaction (org.yakindu.sct.model.stext.stext.LocalReaction)24