Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.modellib.cpp/model/Tests.room')
-rw-r--r--runtime/org.eclipse.etrice.modellib.cpp/model/Tests.room16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.modellib.cpp/model/Tests.room b/runtime/org.eclipse.etrice.modellib.cpp/model/Tests.room
new file mode 100644
index 000000000..48e49e03d
--- /dev/null
+++ b/runtime/org.eclipse.etrice.modellib.cpp/model/Tests.room
@@ -0,0 +1,16 @@
+RoomModel room.basic.etunit {
+
+ import room.basic.types.* from "Types.room"
+
+ /**
+ * A SubSystemClass or ActorClass having this annotation is construed as an instance.<br>
+ * During generation the necessary instantiation (LogicalSystem, SubSystemRef etc.) and mapping will be created.
+ * <p>
+ * Must not have LogicalThreads. Globally only once allowed. Runtime execution on DefaultThread of given PhysicalSystem.
+ * </p>
+ */
+ AnnotationType TestInstance {
+ target = { SubSystemClass, ActorClass }
+ }
+
+} \ No newline at end of file

Back to the top