Commit 7c3928e9 authored by Anna Maria Schmitz's avatar Anna Maria Schmitz
Browse files

Update TaggingTest.java

parent 08baee90
Pipeline #181363 failed with stage
in 1 minute and 58 seconds
...@@ -52,9 +52,9 @@ public class TaggingTest extends AbstractTaggingResolverTest { ...@@ -52,9 +52,9 @@ public class TaggingTest extends AbstractTaggingResolverTest {
assertTrue(tags.size() == 1); assertTrue(tags.size() == 1);
SomeIPConnectionSymbol tag = (SomeIPConnectionSymbol) tags.iterator().next(); SomeIPConnectionSymbol tag = (SomeIPConnectionSymbol) tags.iterator().next();
assertEquals(tag.getserviceID().get(), "/clock"); assertEquals(tag.getserviceID().get(), 1);
assertEquals(tag.getinstanceID().get(), "someip/Clock"); assertEquals(tag.getinstanceID().get(), 2);
assertEquals(tag.geteventgroupID().get(), "clock.toSec()"); assertEquals(tag.geteventgroupID().get(), 3);
//someipOut //someipOut
EMAPortSymbol someIPOut = component.getPortInstance("someipOut").orElse(null); EMAPortSymbol someIPOut = component.getPortInstance("someipOut").orElse(null);
...@@ -64,9 +64,9 @@ public class TaggingTest extends AbstractTaggingResolverTest { ...@@ -64,9 +64,9 @@ public class TaggingTest extends AbstractTaggingResolverTest {
assertTrue(tags.size() == 1); assertTrue(tags.size() == 1);
tag = (SomeIPConnectionSymbol) tags.iterator().next(); tag = (SomeIPConnectionSymbol) tags.iterator().next();
assertEquals(tag.getserviceID().get(), "/echo"); assertEquals(tag.getserviceID().get(), 1);
assertEquals(tag.getinstanceID().get(), "automated_driving_msgs/StampedFloat64"); assertEquals(tag.getinstanceID().get(), 2);
assertEquals(tag.geteventgroupID().get(), "data"); assertEquals(tag.geteventgroupID().get(), 3);
//emptyTagIn //emptyTagIn
EMAPortSymbol emptyTagIn = component.getPortInstance("emptyTagIn").orElse(null); EMAPortSymbol emptyTagIn = component.getPortInstance("emptyTagIn").orElse(null);
......
Supports Markdown
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