Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Commits
70100a63
Commit
70100a63
authored
2 years ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Tweak log
parent
bdae04e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/RobotAPI/libraries/aron/test/AronConversionTester.h
+6
-2
6 additions, 2 deletions
source/RobotAPI/libraries/aron/test/AronConversionTester.h
with
6 additions
and
2 deletions
source/RobotAPI/libraries/aron/test/AronConversionTester.h
+
6
−
2
View file @
70100a63
...
...
@@ -80,6 +80,9 @@ namespace armarx::aron::test
void
test
(
ProbeFn
<
AronClassT
>
probeFn
,
const
std
::
string
&
aronClassName
)
{
std
::
stringstream
ss
;
ss
<<
"Test for ARON class '"
<<
aronClassName
<<
"': "
;
const
AronClassT
probe
=
probeFn
();
dto
::
TestAronConversionRequest
req
;
...
...
@@ -87,16 +90,17 @@ namespace armarx::aron::test
req
.
probe
=
probe
.
toAronDTO
();
dto
::
TestAronConversionResponse
res
=
interface
->
testAronConversion
(
req
);
if
(
res
.
success
)
{
const
AronClassT
probeOut
=
AronClassT
::
FromAron
(
res
.
probe
);
ARMARX_CHECK
(
probeOut
==
probe
);
ARMARX_IMPORTANT
<<
"Test s
uccess
ful.
"
;
ARMARX_IMPORTANT
<<
ss
.
str
()
<<
"S
uccess"
;
}
else
{
ARMARX_WARNING
<<
"Conversion in Python component failed:
\n
"
<<
res
.
errorMessage
;
ARMARX_WARNING
<<
ss
.
str
()
<<
"Conversion in Python component failed:
\n
"
<<
res
.
errorMessage
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment