Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
ros3rag
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
ros3rag
Commits
eafdc074
Commit
eafdc074
authored
2 years ago
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
update
- fix bug in tests after remove CanReachObjectOfInterestWrapper
parent
d76dfd2d
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#13910
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ros3rag.placeB/src/test/java/de/tudresden/inf/st/placeB/TestUtils.java
+1
-3
1 addition, 3 deletions
...B/src/test/java/de/tudresden/inf/st/placeB/TestUtils.java
with
1 addition
and
3 deletions
ros3rag.placeB/src/test/java/de/tudresden/inf/st/placeB/TestUtils.java
+
1
−
3
View file @
eafdc074
...
...
@@ -64,11 +64,9 @@ public class TestUtils {
public
static
void
addReachability
(
WorldModelB
model
,
String
robotName
,
String
...
reachableObjects
)
{
Robot
robot
=
model
.
findRobot
(
robotName
).
orElseThrow
();
CanReachObjectOfInterestWrapper
wrapper
=
new
CanReachObjectOfInterestWrapper
();
for
(
String
reachableObjectName
:
reachableObjects
)
{
wrapper
.
addCanReachObjectOfInterest
(
new
CanReachObjectOfInterest
().
setObjectName
(
reachableObjectName
));
robot
.
addCanReachObjectOfInterest
(
new
CanReachObjectOfInterest
().
setObjectName
(
reachableObjectName
));
}
robot
.
setCanReachObjectOfInterestWrapper
(
wrapper
);
}
public
static
void
addOtherObjects
(
WorldModelB
model
,
String
...
names
)
{
...
...
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