Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
ls.ext
Commits
b554758c
Commit
b554758c
authored
Sep 10, 2018
by
Magnus Westergaard
Browse files
Fixed tests.
parent
4ca8424b
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
redef/services/.gitignore
View file @
b554758c
/jamondata/local-saved.ser
gradle/
gradlew
gradlew.bat
out/
target
build
nbactions.xml
...
...
redef/services/src/test/java/no/deichman/services/entity/repository/SPARQLQueryBuilderTest.java
View file @
b554758c
...
...
@@ -292,7 +292,7 @@ public class SPARQLQueryBuilderTest {
+
"};\n"
+
"DELETE {\n"
+
" ?b0 <http://example.com/c> \"another delete test\" .\n"
+
" <http://example.com/a> <http://example.com/b> ?b0 .\n"
+
" <http://example.com/a> <http://example.com/b> ?b0 .\n
\n
"
+
"}\n"
+
"WHERE {\n"
+
" ?b0 <http://example.com/c> \"another delete test\" .\n"
...
...
redef/services/src/test/java/no/deichman/services/search/PublicationModelToIndexMapperTest.java
View file @
b554758c
...
...
@@ -48,11 +48,10 @@ public class PublicationModelToIndexMapperTest {
+
" \"format\": \"E-bok\",\n"
+
" \"created\": \"2016-11-17T07:03:10.239Z\",\n"
+
" \"formatAdaptation\": \"Storskrift\",\n"
+
" \"adaptation\": \"Storskrift\",\n"
+
" \"formats\": [\n"
+
" \"http://data.deichman.no/format#E-Book\"\n"
+
" ],\n"
+
" \"homeBranches\": [\"hutl\",\"fgry\"],\n"
+
" \"availableBranches\": [\"fgry\"],\n"
+
" \"image\": \"http://static.deichman.no/1549895/bk/1_thumb.jpg\",\n"
+
" \"isbn\": \"978-88-545-0662-6\",\n"
+
" \"ismn\": \"M 23000399-5\",\n"
...
...
@@ -65,7 +64,6 @@ public class PublicationModelToIndexMapperTest {
+
" \"mainTitle\": \"La casa delle bugie\",\n"
+
" \"mediatype\": \"http://data.deichman.no/mediaType#Book\",\n"
+
" \"mt\": \"bok\",\n"
+
" \"numItems\": 5,\n"
+
" \"nationality\": \"Norge\",\n"
+
" \"origLang\": \"nob\",\n"
+
" \"partTitle\": \"abc\",\n"
...
...
@@ -143,9 +141,6 @@ public class PublicationModelToIndexMapperTest {
+
" ns2:locationClassNumber\"ITA\" ;\n"
+
" ns2:writingSystem <http://data.deichman.no/writingSystem#latin> ;\n"
+
" ns2:hasDescription \"rather good\" ;\n"
+
" ns2:hasHomeBranch \"hutl\", \"fgry\" ;\n"
+
" ns2:hasAvailableBranch \"fgry\" ;\n"
+
" ns2:hasNumItems 5 ;\n"
+
" ns4:locationSignature \"Rag\" ;\n"
+
" ns2:created \"2016-11-17T07:03:10.239Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;\n"
+
" ns4:statementOfResponsibility \"Anne B. Ragde ; traduzione di Cristina Falcinella\" .\n"
...
...
redef/services/src/test/java/no/deichman/services/search/WorkModelToIndexMapperTest.java
View file @
b554758c
...
...
@@ -42,8 +42,6 @@ public class WorkModelToIndexMapperTest {
+
" \"publicationYear\": \"1999\","
+
" \"litform\": \"Roman\","
+
" \"bio\": \"Biografisk innhold\",\n"
+
" \"contentAdaptation\": \"ta\",\n"
+
" \"adaptation\": \"ta\",\n"
+
" \"country\": \"Norge\",\n"
+
" \"totalNumItems\": 3,\n"
+
" \"created\": \"2016-11-17T07:03:10.239Z\",\n"
...
...
redef/services/src/test/java/no/deichman/services/services/AppTest.java
View file @
b554758c
...
...
@@ -800,7 +800,7 @@ public class AppTest {
testData
=
"<http://data.deichman.no/format#DVD> <http://www.w3.org/2000/01/rdf-schema#label> \"DVD\"@en ."
;
break
;
case
ILLUSTRATIVE_MATTER:
testData
=
"<http://data.deichman.no/illustrativeMatter#illustrert> <http://www.w3.org/2000/01/rdf-schema#label> \"Illustrat
ions
\"@en ."
;
testData
=
"<http://data.deichman.no/illustrativeMatter#illustrert> <http://www.w3.org/2000/01/rdf-schema#label> \"Illustrat
ed
\"@en ."
;
break
;
case
LANGUAGE:
testData
=
"<http://lexvo.org/id/iso639-3/afr> <http://www.w3.org/2000/01/rdf-schema#label> \"Afrikaans\"@en ."
;
...
...
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