Commit d7778331 authored by Mike Grüne's avatar Mike Grüne

Added Porttypes to GenerationTest

parent e0684fa8
Pipeline #188309 failed with stages
in 25 minutes and 11 seconds
...@@ -2,5 +2,12 @@ package tests.mqtt; ...@@ -2,5 +2,12 @@ package tests.mqtt;
conforms to de.monticore.lang.embeddedmontiarc.tagging.middleware.mqtt.MqttToEmamTagSchema; conforms to de.monticore.lang.embeddedmontiarc.tagging.middleware.mqtt.MqttToEmamTagSchema;
tags Test { tags Test {
tag testComp.in1 with MqttConnection = {topic = /clock, msgField = clock.toSec()}; tag testComp.in1 with MqttConnection = {topic = /clockQ};
tag testComp.in2 with MqttConnection = {topic = /clockN};
tag testComp.in3 with MqttConnection = {topic = /clockZ};
tag testComp.in4 with MqttConnection = {topic = /clockB};
tag testComp.out1 with MqttConnection = {topic = /clockQ};
tag testComp.out2 with MqttConnection = {topic = /clockN};
tag testComp.out3 with MqttConnection = {topic = /clockZ};
tag testComp.out4 with MqttConnection = {topic = /clockB};
} }
...@@ -2,7 +2,11 @@ package tests.mqtt; ...@@ -2,7 +2,11 @@ package tests.mqtt;
component TestComp{ component TestComp{
ports in Q in1, ports in Q in1,
in Q in2, in N in2,
out Q out1; in Z in3,
in B in4,
} out Q out1,
\ No newline at end of file out N out2,
out Z out3,
out B out4;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment