浏览代码

Added TransitionWithoutCondition Tests

malknet42 12 年之前
父节点
当前提交
a4143bc115

+ 20 - 19
test-plugins/org.yakindu.sct.test.models/.settings/org.eclipse.core.resources.prefs

@@ -1,19 +1,20 @@
-eclipse.preferences.version=1
-encoding//testmodels/SCTUnit/AlwaysOncycle.sct=UTF-8
-encoding//testmodels/SCTUnit/AssignmentAsExpression.sct=UTF-8
-encoding//testmodels/SCTUnit/Declarations.sct=UTF-8
-encoding//testmodels/SCTUnit/EnterState.sct=UTF-8
-encoding//testmodels/SCTUnit/ExitOnSelfTransition.sct=UTF-8
-encoding//testmodels/SCTUnit/ExitState.sct=UTF-8
-encoding//testmodels/SCTUnit/ExitStatechart.sct=UTF-8
-encoding//testmodels/SCTUnit/GuardedEntry.sct=UTF-8
-encoding//testmodels/SCTUnit/GuardedExit.sct=UTF-8
-encoding//testmodels/SCTUnit/HistoryWithoutInitialStep.sct=UTF-8
-encoding//testmodels/SCTUnit/InEventLifeCycle.sct=UTF-8
-encoding//testmodels/SCTUnit/InternalEventLifeCycle.sct=UTF-8
-encoding//testmodels/SCTUnit/OutEventLifeCycle.sct=UTF-8
-encoding//testmodels/SCTUnit/PerformanceTest.sct=UTF-8
-encoding//testmodels/SCTUnit/STextKeywordsInStatesAndRegions.sct=UTF-8
-encoding//testmodels/SCTUnit/SyncJoin.sct=UTF-8
-encoding//testmodels/SCTUnit/VariableInitialization.sct=UTF-8
-encoding/<project>=UTF-8
+eclipse.preferences.version=1
+encoding//testmodels/SCTUnit/AlwaysOncycle.sct=UTF-8
+encoding//testmodels/SCTUnit/AssignmentAsExpression.sct=UTF-8
+encoding//testmodels/SCTUnit/Declarations.sct=UTF-8
+encoding//testmodels/SCTUnit/EnterState.sct=UTF-8
+encoding//testmodels/SCTUnit/ExitOnSelfTransition.sct=UTF-8
+encoding//testmodels/SCTUnit/ExitState.sct=UTF-8
+encoding//testmodels/SCTUnit/ExitStatechart.sct=UTF-8
+encoding//testmodels/SCTUnit/GuardedEntry.sct=UTF-8
+encoding//testmodels/SCTUnit/GuardedExit.sct=UTF-8
+encoding//testmodels/SCTUnit/HistoryWithoutInitialStep.sct=UTF-8
+encoding//testmodels/SCTUnit/InEventLifeCycle.sct=UTF-8
+encoding//testmodels/SCTUnit/InternalEventLifeCycle.sct=UTF-8
+encoding//testmodels/SCTUnit/OutEventLifeCycle.sct=UTF-8
+encoding//testmodels/SCTUnit/PerformanceTest.sct=UTF-8
+encoding//testmodels/SCTUnit/STextKeywordsInStatesAndRegions.sct=UTF-8
+encoding//testmodels/SCTUnit/SyncJoin.sct=UTF-8
+encoding//testmodels/SCTUnit/TransitionWithoutCondition.sct=UTF-8
+encoding//testmodels/SCTUnit/VariableInitialization.sct=UTF-8
+encoding/<project>=UTF-8

+ 115 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/SCTUnit/TimeTrigger.sct

@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_emiXYKAyEeKNTJ3YQ7HAOw" specification="interface:&#xD;&#xA;&#xD;&#xA;var y0 : integer&#xD;&#xA;var y1 : string&#xD;&#xA;var y2 : boolean&#xD;&#xA;&#xD;&#xA;in event x3&#xD;&#xA;out event x4&#xD;&#xA;&#xD;&#xA;interface b:&#xD;&#xA;in event x5&#xD;&#xA;out event x6&#xD;&#xA;&#xD;&#xA;internal:&#xD;&#xA;event x7&#xD;&#xA;var z1 : integer&#xD;&#xA;var z2 : string&#xD;&#xA;var z3 : boolean&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;" name="TimeTrigger">
+    <regions xmi:id="_em0rQKAyEeKNTJ3YQ7HAOw" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_enOT4KAyEeKNTJ3YQ7HAOw">
+        <outgoingTransitions xmi:id="_enVooKAyEeKNTJ3YQ7HAOw" target="_enQwIKAyEeKNTJ3YQ7HAOw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_enQwIKAyEeKNTJ3YQ7HAOw" name="A" incomingTransitions="_enVooKAyEeKNTJ3YQ7HAOw _9BmysKAyEeKNTJ3YQ7HAOw">
+        <outgoingTransitions xmi:id="_6fkTwKAyEeKNTJ3YQ7HAOw" specification="after 1s" target="_4j1m4KAyEeKNTJ3YQ7HAOw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_4j1m4KAyEeKNTJ3YQ7HAOw" name="B" incomingTransitions="_6fkTwKAyEeKNTJ3YQ7HAOw">
+        <outgoingTransitions xmi:id="_9BmysKAyEeKNTJ3YQ7HAOw" specification="after 1s" target="_enQwIKAyEeKNTJ3YQ7HAOw"/>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_em0EMKAyEeKNTJ3YQ7HAOw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_emiXYKAyEeKNTJ3YQ7HAOw" measurementUnit="Pixel">
+    <children xmi:id="_em5jwKAyEeKNTJ3YQ7HAOw" type="Region" element="_em0rQKAyEeKNTJ3YQ7HAOw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_enI0UKAyEeKNTJ3YQ7HAOw" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_enI0UaAyEeKNTJ3YQ7HAOw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_enI0UqAyEeKNTJ3YQ7HAOw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_enJbYKAyEeKNTJ3YQ7HAOw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_enO68KAyEeKNTJ3YQ7HAOw" type="Entry" element="_enOT4KAyEeKNTJ3YQ7HAOw">
+          <children xmi:id="_enO686AyEeKNTJ3YQ7HAOw" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_enPiAKAyEeKNTJ3YQ7HAOw" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_enPiAaAyEeKNTJ3YQ7HAOw"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_enPiAqAyEeKNTJ3YQ7HAOw"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_enO69KAyEeKNTJ3YQ7HAOw" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_enO69aAyEeKNTJ3YQ7HAOw"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_enO68aAyEeKNTJ3YQ7HAOw" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_enPiA6AyEeKNTJ3YQ7HAOw" x="70" y="20"/>
+        </children>
+        <children xmi:id="_enSlUaAyEeKNTJ3YQ7HAOw" type="State" element="_enQwIKAyEeKNTJ3YQ7HAOw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_enTMYKAyEeKNTJ3YQ7HAOw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_enTMYaAyEeKNTJ3YQ7HAOw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_enTMYqAyEeKNTJ3YQ7HAOw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_enTzcKAyEeKNTJ3YQ7HAOw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_enTzcaAyEeKNTJ3YQ7HAOw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_enTzcqAyEeKNTJ3YQ7HAOw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_enUagKAyEeKNTJ3YQ7HAOw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_enSlUqAyEeKNTJ3YQ7HAOw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_enSlU6AyEeKNTJ3YQ7HAOw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_enVBkKAyEeKNTJ3YQ7HAOw" name="isHorizontal" booleanValue="true"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_enVBkaAyEeKNTJ3YQ7HAOw" x="19" y="104" height="96"/>
+        </children>
+        <children xmi:id="_4j87oKAyEeKNTJ3YQ7HAOw" type="State" element="_4j1m4KAyEeKNTJ3YQ7HAOw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_4j-w0KAyEeKNTJ3YQ7HAOw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_4j-w0aAyEeKNTJ3YQ7HAOw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_4j-w0qAyEeKNTJ3YQ7HAOw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_4j-w06AyEeKNTJ3YQ7HAOw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_4j_X4KAyEeKNTJ3YQ7HAOw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_4j_X4aAyEeKNTJ3YQ7HAOw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_4kAmAKAyEeKNTJ3YQ7HAOw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_4j87oaAyEeKNTJ3YQ7HAOw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_4j87oqAyEeKNTJ3YQ7HAOw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_4kAmAaAyEeKNTJ3YQ7HAOw" name="isHorizontal" booleanValue="true"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_4j87o6AyEeKNTJ3YQ7HAOw" x="264" y="104" height="106"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_enJbYaAyEeKNTJ3YQ7HAOw"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_em5jwaAyEeKNTJ3YQ7HAOw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_enKCcKAyEeKNTJ3YQ7HAOw" x="220" y="10" width="400" height="400"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_enbvQKAyEeKNTJ3YQ7HAOw" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_enbvQqAyEeKNTJ3YQ7HAOw" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_enbvQ6AyEeKNTJ3YQ7HAOw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_enbvRKAyEeKNTJ3YQ7HAOw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_enbvRaAyEeKNTJ3YQ7HAOw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_enbvRqAyEeKNTJ3YQ7HAOw"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_encWUKAyEeKNTJ3YQ7HAOw" x="10" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_em0EMaAyEeKNTJ3YQ7HAOw"/>
+    <edges xmi:id="_enahIKAyEeKNTJ3YQ7HAOw" type="Transition" element="_enVooKAyEeKNTJ3YQ7HAOw" source="_enO68KAyEeKNTJ3YQ7HAOw" target="_enSlUaAyEeKNTJ3YQ7HAOw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_enbIMaAyEeKNTJ3YQ7HAOw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_enbIMqAyEeKNTJ3YQ7HAOw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_enbIM6AyEeKNTJ3YQ7HAOw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_enahIaAyEeKNTJ3YQ7HAOw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_enbIMKAyEeKNTJ3YQ7HAOw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_enahIqAyEeKNTJ3YQ7HAOw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_6fn-IKAyEeKNTJ3YQ7HAOw" type="Transition" element="_6fkTwKAyEeKNTJ3YQ7HAOw" source="_enSlUaAyEeKNTJ3YQ7HAOw" target="_4j87oKAyEeKNTJ3YQ7HAOw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_6folMaAyEeKNTJ3YQ7HAOw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_6folMqAyEeKNTJ3YQ7HAOw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_6fpMQKAyEeKNTJ3YQ7HAOw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_6fn-IaAyEeKNTJ3YQ7HAOw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_6folMKAyEeKNTJ3YQ7HAOw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_6fn-IqAyEeKNTJ3YQ7HAOw" points="[18, 6, -136, -39]$[152, 68, -2, 23]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_-UO4MKAyEeKNTJ3YQ7HAOw" id="(0.95,0.21875)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_-k7moKAyEeKNTJ3YQ7HAOw" id="(0.05,0.2169811320754717)"/>
+    </edges>
+    <edges xmi:id="_9Bp2AKAyEeKNTJ3YQ7HAOw" type="Transition" element="_9BmysKAyEeKNTJ3YQ7HAOw" source="_4j87oKAyEeKNTJ3YQ7HAOw" target="_enSlUaAyEeKNTJ3YQ7HAOw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_9BrEIKAyEeKNTJ3YQ7HAOw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_9BrEIaAyEeKNTJ3YQ7HAOw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_9BrEIqAyEeKNTJ3YQ7HAOw" x="1" y="-11"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_9Bp2AaAyEeKNTJ3YQ7HAOw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_9BqdEKAyEeKNTJ3YQ7HAOw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_9Bp2AqAyEeKNTJ3YQ7HAOw" points="[-17, -5, 228, 0]$[-227, -5, 18, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="__sgSsKAyEeKNTJ3YQ7HAOw" id="(0.175,0.7830188679245284)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="__dj3wKAyEeKNTJ3YQ7HAOw" id="(0.625,0.8020833333333334)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 100 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/SCTUnit/TransitionWithoutCondition.sct

@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_N8JVwMH0EeKwC41QCasuJA" name="TransitionWithoutCondition">
+    <regions xmi:id="_N8JVw8H0EeKwC41QCasuJA" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_N8MZE8H0EeKwC41QCasuJA">
+        <outgoingTransitions xmi:id="_N8PcY8H0EeKwC41QCasuJA" target="_N8MZHsH0EeKwC41QCasuJA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_N8MZHsH0EeKwC41QCasuJA" name="A" incomingTransitions="_N8PcY8H0EeKwC41QCasuJA">
+        <outgoingTransitions xmi:id="_Oz1ywMH0EeKwC41QCasuJA" specification="" target="_OhVtgMH0EeKwC41QCasuJA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_OhVtgMH0EeKwC41QCasuJA" name="B" incomingTransitions="_Oz1ywMH0EeKwC41QCasuJA"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_N8JVwcH0EeKwC41QCasuJA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_N8JVwMH0EeKwC41QCasuJA" measurementUnit="Pixel">
+    <children xmi:id="_N8JVxMH0EeKwC41QCasuJA" type="Region" element="_N8JVw8H0EeKwC41QCasuJA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_N8JVx8H0EeKwC41QCasuJA" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_N8JVyMH0EeKwC41QCasuJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_N8JVycH0EeKwC41QCasuJA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_N8MZEMH0EeKwC41QCasuJA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_N8MZFMH0EeKwC41QCasuJA" type="Entry" element="_N8MZE8H0EeKwC41QCasuJA">
+          <children xmi:id="_N8MZF8H0EeKwC41QCasuJA" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_N8MZGsH0EeKwC41QCasuJA" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_N8MZG8H0EeKwC41QCasuJA"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_N8MZHMH0EeKwC41QCasuJA"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_N8MZGMH0EeKwC41QCasuJA" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8MZGcH0EeKwC41QCasuJA"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_N8MZFcH0EeKwC41QCasuJA" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8MZHcH0EeKwC41QCasuJA" x="49" y="29"/>
+        </children>
+        <children xmi:id="_N8MZIMH0EeKwC41QCasuJA" type="State" element="_N8MZHsH0EeKwC41QCasuJA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_N8MZJMH0EeKwC41QCasuJA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_N8MZJcH0EeKwC41QCasuJA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_N8MZJsH0EeKwC41QCasuJA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_N8MZJ8H0EeKwC41QCasuJA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_N8MZKMH0EeKwC41QCasuJA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8MZKcH0EeKwC41QCasuJA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_N8PcYMH0EeKwC41QCasuJA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_N8MZIcH0EeKwC41QCasuJA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_N8MZIsH0EeKwC41QCasuJA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_N8PcYcH0EeKwC41QCasuJA" name="isHorizontal" booleanValue="true"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8PcYsH0EeKwC41QCasuJA" x="36" y="109"/>
+        </children>
+        <children xmi:id="_Ohb0IMH0EeKwC41QCasuJA" type="State" element="_OhVtgMH0EeKwC41QCasuJA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_Ohb0JMH0EeKwC41QCasuJA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Ohb0JcH0EeKwC41QCasuJA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_Ohe3cMH0EeKwC41QCasuJA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Ohe3ccH0EeKwC41QCasuJA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_Ohe3csH0EeKwC41QCasuJA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Ohe3c8H0EeKwC41QCasuJA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Ohe3dMH0EeKwC41QCasuJA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Ohb0IcH0EeKwC41QCasuJA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_Ohb0IsH0EeKwC41QCasuJA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Ohe3dcH0EeKwC41QCasuJA" name="isHorizontal" booleanValue="true"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Ohb0I8H0EeKwC41QCasuJA" x="241" y="117"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8MZEcH0EeKwC41QCasuJA"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_N8JVxcH0EeKwC41QCasuJA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8MZEsH0EeKwC41QCasuJA" x="220" y="10" width="400" height="400"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_N8Pca8H0EeKwC41QCasuJA" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_N8PcbcH0EeKwC41QCasuJA" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_N8PcbsH0EeKwC41QCasuJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_N8Pcb8H0EeKwC41QCasuJA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_N8PccMH0EeKwC41QCasuJA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8PcccH0EeKwC41QCasuJA"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_N8PccsH0EeKwC41QCasuJA" x="10" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_N8JVwsH0EeKwC41QCasuJA"/>
+    <edges xmi:id="_N8PcZMH0EeKwC41QCasuJA" type="Transition" element="_N8PcY8H0EeKwC41QCasuJA" source="_N8MZFMH0EeKwC41QCasuJA" target="_N8MZIMH0EeKwC41QCasuJA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_N8PcaMH0EeKwC41QCasuJA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_N8PcacH0EeKwC41QCasuJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_N8PcasH0EeKwC41QCasuJA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_N8PcZcH0EeKwC41QCasuJA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_N8PcZ8H0EeKwC41QCasuJA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_N8PcZsH0EeKwC41QCasuJA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_Oz42EMH0EeKwC41QCasuJA" type="Transition" element="_Oz1ywMH0EeKwC41QCasuJA" source="_N8MZIMH0EeKwC41QCasuJA" target="_Ohb0IMH0EeKwC41QCasuJA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Oz42FMH0EeKwC41QCasuJA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Oz42FcH0EeKwC41QCasuJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Oz42FsH0EeKwC41QCasuJA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Oz42EcH0EeKwC41QCasuJA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Oz42E8H0EeKwC41QCasuJA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Oz42EsH0EeKwC41QCasuJA" points="[34, 1, -143, -3]$[211, 1, 34, -3]"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 40 - 0
test-plugins/org.yakindu.sct.test.models/tests/TimeTrigger.sctunit

@@ -0,0 +1,40 @@
+testgroup TimeTrigger for statechart TimeTrigger{
+	
+	
+	test TestName{
+		enter 
+		 
+//		raise x3
+//		//raise x4	 
+//		
+//		raise b.x5
+//		//raise b.x6
+//		
+//		//raise x7  
+//		
+//		raise b.x5
+//	
+//		raise b.x5
+//		
+//		raise x3
+//		
+//	 	
+//		
+
+ 		//raise x3
+		
+		
+		//cycle
+		assert active(TimeTrigger.main_region.A)
+
+		cycle
+		wait 1030ms
+		cycle
+		assert active(TimeTrigger.main_region.B)
+		wait 1030ms
+		cycle
+		assert active(TimeTrigger.main_region.A)
+		
+	
+	}	
+}

+ 16 - 0
test-plugins/org.yakindu.sct.test.models/tests/TransitionWithoutCondition.sctunit

@@ -0,0 +1,16 @@
+
+testgroup TransitionWithoutCondition for statechart TransitionWithoutCondition{
+	
+	test  TransitionWithoutConditionTest{ 
+		enter
+		
+		assert active(TransitionWithoutCondition.main_region.A)
+	
+		cycle
+			
+		assert active(TransitionWithoutCondition.main_region.B)
+	
+		 
+	} 
+}
+