Commit 7bb171b3 authored by Florian Raeth's avatar Florian Raeth

add in2, out1, out2 to testing

parent e35215a7
...@@ -34,7 +34,10 @@ public class AdapterGenerationTest extends AbstractSymtabTest { ...@@ -34,7 +34,10 @@ public class AdapterGenerationTest extends AbstractSymtabTest {
generatorSomeIP.setGenerationTargetPath("./target/generated-sources/"); generatorSomeIP.setGenerationTargetPath("./target/generated-sources/");
// Connect component's ports to topics // Connect component's ports to topics
componentInstanceSymbol.getPortInstance("in1").orElse(null).setMiddlewareSymbol(new SomeIPConnectionSymbol(1,2,3)); componentInstanceSymbol.getPortInstance("in1").orElse(null).setMiddlewareSymbol(new SomeIPConnectionSymbol(11,12,13/*,14,15*/));
componentInstanceSymbol.getPortInstance("in2").orElse(null).setMiddlewareSymbol(new SomeIPConnectionSymbol(21,22,23/*,24,25*/));
componentInstanceSymbol.getPortInstance("out1").orElse(null).setMiddlewareSymbol(new SomeIPConnectionSymbol(111,112,113/*,114,115*/));
componentInstanceSymbol.getPortInstance("out2").orElse(null).setMiddlewareSymbol(new SomeIPConnectionSymbol(121,122,123/*,124,125*/));
List<File> files = generatorSomeIP.generateSomeIPAdapter(componentInstanceSymbol); List<File> files = generatorSomeIP.generateSomeIPAdapter(componentInstanceSymbol);
......
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