Commit b554758c authored by Magnus Westergaard's avatar Magnus Westergaard
Browse files

Fixed tests.

parent 4ca8424b
/jamondata/local-saved.ser
gradle/
gradlew
gradlew.bat
out/
target
build
nbactions.xml
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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> \"Illustrations\"@en .";
testData = "<http://data.deichman.no/illustrativeMatter#illustrert> <http://www.w3.org/2000/01/rdf-schema#label> \"Illustrated\"@en .";
break;
case LANGUAGE:
testData = "<http://lexvo.org/id/iso639-3/afr> <http://www.w3.org/2000/01/rdf-schema#label> \"Afrikaans\"@en .";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment