Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
r2ogs6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ogs
OpenGeoSys Tools
r2ogs6
Commits
9e18ae5c
Commit
9e18ae5c
authored
2 years ago
by
Johannes Boog
Browse files
Options
Downloads
Patches
Plain Diff
[tests] update tests due to change in prj_pr_property
parent
707b9114
No related branches found
No related tags found
1 merge request
!55
[base] update package to OGS6.4.2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/testthat/test-read_in_utils.R
+7
-6
7 additions, 6 deletions
tests/testthat/test-read_in_utils.R
with
7 additions
and
6 deletions
tests/testthat/test-read_in_utils.R
+
7
−
6
View file @
9e18ae5c
...
...
@@ -78,14 +78,15 @@ test_that("order_parameters throws a helpful error message for missing
# e.g. a new process node in a *.prj file is found and the corresponding
# class in prj_process is missing
ogs6_process
<-
prj_pr_property
(
name
=
"test"
,
# use a class that does not have "..."
type
=
"LIQUID_FLOW
"
)
# use a class that does not have "..."
ogs6_class
<-
prj_constitutive_relation
(
type
=
"test
"
)
# replace one parameter
names
(
ogs6_
proce
ss
)[
4
]
<-
"Frodos_Ring"
names
(
ogs6_
cla
ss
)[
4
]
<-
"Frodos_Ring"
expect_error
(
order_parameters
(
parameters
=
ogs6_process
,
class_name
=
"prj_pr_property"
),
regexp
=
"Frodos_Ring not in class_args of class prj_pr_property"
)
order_parameters
(
parameters
=
ogs6_class
,
class_name
=
"prj_constitutive_relation"
),
regexp
=
paste
(
"Frodos_Ring not in class_args of class"
,
"prj_constitutive_relation"
))
}
)
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