Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.generator.common.tests/models/StatemachineInterfaceInheritedTest.room')
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/StatemachineInterfaceInheritedTest.room58
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/org.eclipse.etrice.generator.common.tests/models/StatemachineInterfaceInheritedTest.room b/tests/org.eclipse.etrice.generator.common.tests/models/StatemachineInterfaceInheritedTest.room
new file mode 100644
index 000000000..84bb771ec
--- /dev/null
+++ b/tests/org.eclipse.etrice.generator.common.tests/models/StatemachineInterfaceInheritedTest.room
@@ -0,0 +1,58 @@
+RoomModel StatemachineInterfaceTestInheritedModel {
+
+ import room.basic.types.* from "Types.room"
+ import StatemachineInterfaceTestModel.* from "StatemachineInterfaceTest.room"
+
+ ActorClass StatemachineInterfaceInheritedTest {
+ Structure {
+ ActorRef app1: AsyncAppExt
+ ActorRef app2: DataAppExt
+ ActorRef app3: EventAppExt
+ ActorRef app4: EmptyAsyncAppExt
+ ActorRef app5: EmptyDataAppExt
+ ActorRef app6: EmptyEventAppExt
+
+ // does not work
+ //ActorRef app7: EmptyAsyncAppManualExt
+ //ActorRef app8: EmptyDataAppManualExt
+ //ActorRef app9: EmptyEventAppManualExt
+ }
+ }
+
+ async ActorClass AsyncAppExt extends AsyncApp {
+
+ }
+
+ datadriven ActorClass DataAppExt extends DataApp {
+
+ }
+
+ ActorClass EventAppExt extends EventApp {
+
+ }
+
+ async ActorClass EmptyAsyncAppExt extends EmptyAsyncApp {
+
+ }
+
+ datadriven ActorClass EmptyDataAppExt extends EmptyDataApp {
+
+ }
+
+ ActorClass EmptyEventAppExt extends EmptyEventApp {
+
+ }
+
+ async ActorClass EmptyAsyncAppManualExt extends EmptyAsyncAppManual {
+
+ }
+
+ datadriven ActorClass EmptyDataAppManualExt extends EmptyDataAppManual {
+
+ }
+
+ ActorClass EmptyEventAppManualExt extends EmptyEventAppManual {
+
+ }
+
+} \ No newline at end of file

Back to the top