Commit df8f78f8 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update JUnit & AssertJ

parent 5228aca5
......@@ -57,8 +57,8 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-script-runtime:1.3.71"
implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.71"
testCompile("org.junit.jupiter:junit-jupiter:5.4.2")
testImplementation 'org.assertj:assertj-core:3.15.0'
testCompile('org.junit.jupiter:junit-jupiter:5.7.2')
testImplementation 'org.assertj:assertj-core:3.20.2'
// https://mvnrepository.com/artifact/org.apache.kafka/kafka-streams-test-utils
testCompile group: 'org.apache.kafka', name: 'kafka-streams-test-utils', version: kafkaV
......
......@@ -53,14 +53,14 @@ mbcb:completeInstitution
wdt:P669 "Street" ;
wdt:P670 "Address"
] ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "completeInstitution" ;
rico:type "main"
] ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "OLD_MEMOBASE_ID" ;
rico:type "oldMemobase"
] ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "completeInstitution" ;
rico:type "main"
] ;
rico:isHolderOf "https://memobase.ch/recordSet/testComplete" ;
rico:name "Complete Institution (FR)"@fr , "Complete Institution (IT)"@it , "Complete Institution (DE)"@de ;
rico:type "memobaseInstitution" .
......@@ -26,6 +26,11 @@ mbrs:testComplete a rico:RecordSet ;
dcterms:conformsTo "<p>Informationen zur Erschliessung (FR)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@fr , "<p>Informationen zur Erschliessung (IT)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@it , "<p>Informationen zur Erschliessung (DE)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@de ;
rdau:P60099 "Französisch"@it , "Französisch"@fr , "Französisch"@de ;
rdau:P60451 mbcb:mrv ;
rdau:P60451 [ a rico:CorporateBody ;
schema:sameAs "http://memobase.ch/de/stock/detail/Tanzarchiv-121" ;
rico:title "Projektname (DE)"@de ;
rico:type "memoriavProject"
] ;
rdau:P60451 [ a rico:CorporateBody ;
schema:sameAs "http://example.org" ;
rico:title "Projektname (IT)"@it ;
......@@ -36,11 +41,6 @@ mbrs:testComplete a rico:RecordSet ;
rico:title "Projekt Titel (FR)"@fr ;
rico:type "memoriavProject"
] ;
rdau:P60451 [ a rico:CorporateBody ;
schema:sameAs "http://memobase.ch/de/stock/detail/Tanzarchiv-121" ;
rico:title "Projektname (DE)"@de ;
rico:type "memoriavProject"
] ;
rdau:P60496 "<p>Zugang Memobase (DE)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@de , "<p>Zugang Memobase (FR)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@fr , "<p>Zugang Memobase (IT)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@it ;
wdt:P18 "https://mb-wf1.memobase.unibas.ch/sites/default/files/styles/teaser/public/2020-11/StadtArchivSchaffhausenGeb2.jpg?itok=2PsMvPqc" ;
internal:isPublished false ;
......@@ -58,20 +58,16 @@ mbrs:testComplete a rico:RecordSet ;
schema:sameAs "https://example.org"@de , "https://bestand.org"@fr , "https://example.org"@it ;
rico:title "Original Bestand (DE)"@de , "Original Bestand (FR)"@fr , "Original Bestand (IT)"@it
] ;
rico:hasTitle [ a rico:Title ;
rico:title "Complete Record Set (DE)"@de , "Complete Record Set (FR)"@fr , "Complete Record Set (IT)"@it ;
rico:type "main"
] ;
rico:hasTitle [ a rico:Title ;
rico:title "Originaltitle des Bestandes (DE)"@de , "Originaltitel des Bestandes"@fr , "Originaltitel des Bestandes (IT)"@it ;
rico:type "original"
] ;
rico:hasTitle [ a rico:Title ;
rico:title "Complete Record Set (DE)"@de , "Complete Record Set (FR)"@fr , "Complete Record Set (IT)"@it ;
rico:type "main"
] ;
rico:heldBy "https://memobase.ch/institution/completeInstitution" ;
rico:history "<p>Kontext (DE)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@de , "<p>Kontext (IT)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@it , "<p>Kontext (FR)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@fr ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "Original-Signatur des Bestandes" ;
rico:type "callNumber"
] ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "OLD_MEMOBASE_ID" ;
rico:type "oldMemobase"
......@@ -84,6 +80,10 @@ mbrs:testComplete a rico:RecordSet ;
rico:identifier "ORIGINAL_ID" ;
rico:type "original"
] ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "Original-Signatur des Bestandes" ;
rico:type "callNumber"
] ;
rico:integrity "<div class=\"page-generator__output js-generator-output\">Auswahl (FR)</div>\r\n\r\n<div class=\"page-generator__output js-generator-output\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>"@fr , "<p>Auswahl / Vollständigkeit (DE)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@de , "<div class=\"page-generator__output js-generator-output\">Auswahl/Vollständigkeit (IT)</div>\r\n\r\n<div class=\"page-generator__output js-generator-output\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>"@it ;
rico:isAssociatedWithDate [ a rico:DateRange ;
rico:normalizedDateValue "1920/2020"
......@@ -93,13 +93,13 @@ mbrs:testComplete a rico:RecordSet ;
rico:isRecordResourceAssociatedWithRecordResource
[ a rico:Record ;
schema:sameAs "https://example.org/" ;
rico:title "Dokument (IT)"@it ;
rico:title "Dokumente (DE)"@de ;
rico:type "related"
] ;
rico:isRecordResourceAssociatedWithRecordResource
[ a rico:RecordSet ;
schema:sameAs "https://example.org" ;
rico:title "Verwandter Bestand Extern (DE)"@de ;
schema:sameAs "http://example.com" ;
rico:title "Verwandter Bestand Extern (IT)"@it ;
rico:type "related"
] ;
rico:isRecordResourceAssociatedWithRecordResource
......@@ -111,19 +111,19 @@ mbrs:testComplete a rico:RecordSet ;
rico:isRecordResourceAssociatedWithRecordResource
[ a rico:Record ;
schema:sameAs "https://example.org/" ;
rico:title "Dokumente (DE)"@de ;
rico:title "Dokumente (FR)"@fr ;
rico:type "related"
] ;
rico:isRecordResourceAssociatedWithRecordResource
[ a rico:RecordSet ;
schema:sameAs "http://example.com" ;
rico:title "Verwandter Bestand Extern (IT)"@it ;
[ a rico:Record ;
schema:sameAs "https://example.org/" ;
rico:title "Dokument (IT)"@it ;
rico:type "related"
] ;
rico:isRecordResourceAssociatedWithRecordResource
[ a rico:Record ;
schema:sameAs "https://example.org/" ;
rico:title "Dokumente (FR)"@fr ;
[ a rico:RecordSet ;
schema:sameAs "https://example.org" ;
rico:title "Verwandter Bestand Extern (DE)"@de ;
rico:type "related"
] ;
rico:isSubjectOf [ a rico:Record ;
......@@ -141,7 +141,7 @@ mbrs:testComplete a rico:RecordSet ;
rico:title "Publikation (IT)"@it ;
rico:type "publication"
] ;
rico:modificationDate "2021-09-07T17:22:27.964"^^xsd:dateTime ;
rico:modificationDate "2021-09-07T17:24:39.363"^^xsd:dateTime ;
rico:publicationDate "2020-09-04"^^xsd:date ;
rico:recordResourceExtent "<p>Umfang (IT)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@it , "<p>Umfang (FR)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@fr , "<p>Umfang (DE)</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>"@de ;
rico:recordResourceOrInstantiationIsTargetOfRecordResourceHoldingRelation
......@@ -150,7 +150,7 @@ mbrs:testComplete a rico:RecordSet ;
"https://memobase.ch/institution/completeInstitution" ;
rico:recordResourceHoldingRelationHasTarget
mbrs:testComplete ;
rico:type "original"
rico:type "master"
] ;
rico:recordResourceOrInstantiationIsTargetOfRecordResourceHoldingRelation
[ a rico:RecordResourceHoldingRelation ;
......@@ -158,7 +158,7 @@ mbrs:testComplete a rico:RecordSet ;
"https://memobase.ch/institution/completeInstitution" ;
rico:recordResourceHoldingRelationHasTarget
mbrs:testComplete ;
rico:type "master"
rico:type "original"
] ;
rico:recordResourceOrInstantiationIsTargetOfRecordResourceHoldingRelation
[ a rico:RecordResourceHoldingRelation ;
......
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