Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
memoriav
M
Memobase 2020
S
services
elastic-services
Search Doc Service
Commits
1696608d
Commit
1696608d
authored
Nov 20, 2020
by
Jonas Waeber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for just first name in input data.
parent
f9ba341d
Pipeline
#17591
passed with stages
in 4 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
src/test/kotlin/TestFacetBuilders.kt
src/test/kotlin/TestFacetBuilders.kt
+18
-1
No files found.
src/test/kotlin/TestFacetBuilders.kt
View file @
1696608d
...
...
@@ -82,7 +82,7 @@ class TestFacetBuilders {
json
{
obj
(
Pair
(
"@type"
,
NS
.
rico
+
"Person"
),
Pair
(
KEYS
.
name
,
"
Albert
Einstein"
),
Pair
(
KEYS
.
name
,
"Einstein"
),
Pair
(
KEYS
.
lastName
,
"Einstein"
),
Pair
(
KEYS
.
agentIsTargetOfCreationRelation
,
"identifier"
)
)
...
...
@@ -94,6 +94,23 @@ class TestFacetBuilders {
"0~E~"
,
"1~E~Einstein~"
)
),
PersonFacetBuilderParams
(
json
{
obj
(
Pair
(
"@type"
,
NS
.
rico
+
"Person"
),
Pair
(
KEYS
.
name
,
"Albert"
),
Pair
(
KEYS
.
firstName
,
"Albert"
),
Pair
(
KEYS
.
agentIsTargetOfCreationRelation
,
"identifier"
)
)
},
mapOf
(
Pair
(
"identifier"
,
json
{
obj
(
Pair
(
KEYS
.
ricoType
,
KEYS
.
contributor
))
})),
KEYS
.
contributor
,
""
,
listOf
(
"0~A~"
,
"1~A~Albert~"
)
)
)
...
...
Write
Preview
Markdown
is supported
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