Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.abstractexec.behavior.tests/models/semantics.room')
-rw-r--r--tests/org.eclipse.etrice.abstractexec.behavior.tests/models/semantics.room36
1 files changed, 10 insertions, 26 deletions
diff --git a/tests/org.eclipse.etrice.abstractexec.behavior.tests/models/semantics.room b/tests/org.eclipse.etrice.abstractexec.behavior.tests/models/semantics.room
index a1c316575..e3c3d1cae 100644
--- a/tests/org.eclipse.etrice.abstractexec.behavior.tests/models/semantics.room
+++ b/tests/org.eclipse.etrice.abstractexec.behavior.tests/models/semantics.room
@@ -15,33 +15,25 @@ RoomModel Semantics {
triggers {
<in1: p0>
}
- action {
- "p0.out1();"
- }
+ action '''p0.out1();'''
}
Transition tr1: state1 -> state2 {
triggers {
<in2: p0>
}
- action {
- "p0.out2();"
- }
+ action '''p0.out2();'''
}
Transition tr2: state2 -> state3 {
triggers {
<in3: p0>
}
- action {
- "p0.out3();"
- }
+ action '''p0.out3();'''
}
Transition tr3: state3 -> state4 {
triggers {
<in4: p0>
}
- action {
- "p0.out4();"
- }
+ action '''p0.out4();'''
}
Transition tr4: state1 -> wrong {
triggers {
@@ -86,18 +78,13 @@ RoomModel Semantics {
triggers {
<someEvent1: dummy>
}
- action {
- "motor1.start();"
- }
+ action '''motor1.start();'''
}
Transition tr1: MotorStarted -> Idle {
triggers {
<done: motor1>
}
- action {
- // this action code receives a warning
- "motor1.start();"
- }
+ action '''motor1.start();'''
}
Transition tr2: MotorStarted -> Idle {
triggers {
@@ -127,9 +114,7 @@ RoomModel Semantics {
triggers {
<someEvent1: dummy>
}
- action {
- "motor1.start();"
- }
+ action '''motor1.start();'''
}
Transition tr2: MotorStarted -> Idle {
triggers {
@@ -161,10 +146,9 @@ RoomModel Semantics {
triggers {
<someEvent1: dummy>
}
- action {
- "motor1.start();"
- "motor2.start();"
- }
+ action '''
+ motor1.start();
+ motor2.start();'''
}
Transition tr1: MotorStarted -> Motor1done {
triggers {

Back to the top