Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
languages
EmbeddedMontiArc
Commits
7c3928e9
Commit
7c3928e9
authored
Sep 09, 2019
by
Anna Maria Schmitz
Browse files
Update TaggingTest.java
parent
08baee90
Pipeline
#181363
failed with stage
in 1 minute and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/de/monticore/lang/embeddedmontiarc/middleware/someip/TaggingTest.java
View file @
7c3928e9
...
...
@@ -52,9 +52,9 @@ public class TaggingTest extends AbstractTaggingResolverTest {
assertTrue
(
tags
.
size
()
==
1
);
SomeIPConnectionSymbol
tag
=
(
SomeIPConnectionSymbol
)
tags
.
iterator
().
next
();
assertEquals
(
tag
.
getserviceID
().
get
(),
"/clock"
);
assertEquals
(
tag
.
getinstanceID
().
get
(),
"someip/Clock"
);
assertEquals
(
tag
.
geteventgroupID
().
get
(),
"clock.toSec()"
);
assertEquals
(
tag
.
getserviceID
().
get
(),
1
);
assertEquals
(
tag
.
getinstanceID
().
get
(),
2
);
assertEquals
(
tag
.
geteventgroupID
().
get
(),
3
);
//someipOut
EMAPortSymbol
someIPOut
=
component
.
getPortInstance
(
"someipOut"
).
orElse
(
null
);
...
...
@@ -64,9 +64,9 @@ public class TaggingTest extends AbstractTaggingResolverTest {
assertTrue
(
tags
.
size
()
==
1
);
tag
=
(
SomeIPConnectionSymbol
)
tags
.
iterator
().
next
();
assertEquals
(
tag
.
getserviceID
().
get
(),
"/echo"
);
assertEquals
(
tag
.
getinstanceID
().
get
(),
"automated_driving_msgs/StampedFloat64"
);
assertEquals
(
tag
.
geteventgroupID
().
get
(),
"data"
);
assertEquals
(
tag
.
getserviceID
().
get
(),
1
);
assertEquals
(
tag
.
getinstanceID
().
get
(),
2
);
assertEquals
(
tag
.
geteventgroupID
().
get
(),
3
);
//emptyTagIn
EMAPortSymbol
emptyTagIn
=
component
.
getPortInstance
(
"emptyTagIn"
).
orElse
(
null
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment