Skip to content

Commit e8484d1

Browse files
author
Bart Wesselink
committed
Fix test
1 parent a007475 commit e8484d1

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

language/nl.tue.robotsupervisorycontrollerdsl.tests/src/nl/tue/robotsupervisorycontrollerdsl/tests/validation/rules/CorrectResultTypeRuleTest.xtend

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ class CorrectResultTypeRuleTest {
2222
def void checkValid() {
2323
"
2424
robot UnitTestRobot {
25+
interface unit use Unit from package
26+
2527
component Component {
2628
incoming message test_message with type: boolean
27-
service test_service with request: boolean, response: boolean
29+
service test_service with request: boolean, response: boolean links unit
2830
2931
behaviour {
3032
initial state idle {
@@ -42,9 +44,11 @@ class CorrectResultTypeRuleTest {
4244
def void checkServiceFeedbackError() {
4345
"
4446
robot UnitTestRobot {
47+
interface unit use Unit from package
48+
4549
component Component {
4650
incoming message test_message with type: boolean
47-
service test_service with request: boolean, response: boolean
51+
service test_service with request: boolean, response: boolean links unit
4852
4953
behaviour {
5054
initial state idle {
@@ -63,9 +67,11 @@ class CorrectResultTypeRuleTest {
6367
def void checkMessageResponseError() {
6468
"
6569
robot UnitTestRobot {
70+
interface unit use Unit from package
71+
6672
component Component {
6773
outgoing message test_message with type: boolean
68-
service test_service with request: boolean, response: boolean
74+
service test_service with request: boolean, response: boolean links unit
6975
7076
behaviour {
7177
initial state idle {
@@ -84,9 +90,11 @@ class CorrectResultTypeRuleTest {
8490
def void checkMessageRequestError() {
8591
"
8692
robot UnitTestRobot {
93+
interface unit use Unit from package
94+
8795
component Component {
8896
incoming message test_message with type: boolean
89-
service test_service with request: boolean, response: boolean
97+
service test_service with request: boolean, response: boolean links unit
9098
9199
behaviour {
92100
initial state idle {

0 commit comments

Comments
 (0)