Commit 5a07eeb9 authored by Markus Georg Bendel's avatar Markus Georg Bendel

Fix several bugs

parent 0fd1e9a4
Pipeline #158671 failed with stages
in 1 minute and 10 seconds
......@@ -50,7 +50,7 @@
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc</artifactId>
<!-- or newer version -->
<version>0.1.10-SNAPSHOT</version>
<version>0.1.11-SNAPSHOT</version>
</dependency>
<dependency>
......
......@@ -34,7 +34,7 @@ public class SomeIPTemplates {
public static String generateSomeIPAdapter(SomeIPAdapterModel model) {
HashMap<String, Object> data = new HashMap<>();
data.put("model", model);
return generate(SOMEIP_PrettyPrint, data);
return generate(SOMEIP_PRETTYPRINT, data);
}
......
......@@ -33,9 +33,9 @@ public class PrettyPrintGenerationTest extends AbstractSymtabTest {
// Connect component's ports to topics
componentInstanceSymbol.getPortInstance("portA").orElse(null).setMiddlewareSymbol(new SomeIPConnectionSymbol(1,2,3));
List<File> files = generatorSomeIP.generatePrettyPrint(componentInstanceSymbol);
List<File> files = generatorSomeIP.generateSomeIPAdapter(componentInstanceSymbol);
//testFilesAreEqual(files, "");
testFilesAreEqual(files, "echo/");
}
}
Component name: tests.a.compA
Ports:
Ports:
portA : incoming (mqtt, topic: /clock)
portA : incoming (someip, serviceID: 1)
portB : incoming (unknown symbol)
portC : outgoing (unknown symbol)
portD : outgoing (unknown symbol)
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