Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-09-17 15:15:31 +0000
committerHenrik Rentz-Reichert2012-09-17 15:15:31 +0000
commit3bf59cdc19c887e5ce47d38e5d2466c924e7b5ba (patch)
tree26967f264f9984a9d4564cae8f71f2fb5826e10f /tests
parent492918cd5140f491614b776d0f2d4d3ab52d3b08 (diff)
downloadorg.eclipse.etrice-3bf59cdc19c887e5ce47d38e5d2466c924e7b5ba.tar.gz
org.eclipse.etrice-3bf59cdc19c887e5ce47d38e5d2466c924e7b5ba.tar.xz
org.eclipse.etrice-3bf59cdc19c887e5ce47d38e5d2466c924e7b5ba.zip
[generator.common.tests, runtime.java] change to make test language independent
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/HandlerTest.room7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/org.eclipse.etrice.generator.common.tests/models/HandlerTest.room b/tests/org.eclipse.etrice.generator.common.tests/models/HandlerTest.room
index 754779f94..bb9bb9761 100644
--- a/tests/org.eclipse.etrice.generator.common.tests/models/HandlerTest.room
+++ b/tests/org.eclipse.etrice.generator.common.tests/models/HandlerTest.room
@@ -31,16 +31,13 @@ RoomModel org.eclipse.etrice.generator.common.tests.HandlerTest {
Port TestPort1: TestProtocol
}
Structure {
- usercode1{
- "import org.eclipse.etrice.runtime.java.messaging.RTServices;"
- }
external Port TestPort1
Attribute counter: int32
Attribute caseId: int32
}
Behavior {
Operation HandlerUser() {
- "caseId = etUnit_openAll(\"tmp\", \"HandlerTest.etu\", \"HandlerTest_suite\", \"HandlerTest_case\");"
+ "caseId = etUnit_openAll(\"tmp\", \"HandlerTest.etu\", \"org.eclipse.etrice.generator.common.tests.HandlerTest\", \"HandlerTest_case\");"
}
Operation ~HandlerUser() {
"etUnit_closeAll(caseId);"
@@ -295,7 +292,7 @@ RoomModel org.eclipse.etrice.generator.common.tests.HandlerTest {
State testOk {
entry {
"System.out.println(\"Test ok\");"
- "RTServices.getInstance().getSubSystem().testFinished(etUnit_isSuccess(caseId)?0:1);"
+ "etUnit_testFinished(caseId);"
}
}
State state1 {

Back to the top