Commit e46ca839 authored by Günter Hipler's avatar Günter Hipler
Browse files

Merge branch 'master' of...

Merge branch 'master' of gitlab.switch.ch:memoriav/memobase-2020/services/postprocessing/rico-edm-transformer
parents 273bccd6 8f88e498
Pipeline #24288 passed with stages
in 7 minutes and 17 seconds
......@@ -293,6 +293,15 @@ class CHOSpec extends AnyFunSuite with Matchers{
assert(dcType.contains("<dc:type>Discours</dc:type>"))
assert(dcType.contains("<dc:type>Discorso</dc:type>"))
val graph3 = Extractors.jsonGraph(ricoPlaceCapture).get.arr
val record3 = Extractors.record(graph3).get.obj
val digObj3 = Extractors.digitalObject(graph3).get
val genres3 = Extractors.resourceGenres(graph3)(record3.value)
//println(genres3)
val edm3 = new EDM
val dcType3 = Utils.serializeRDFModel(edm3.createChoObject(graph3,record3,digObj3).obj.getModel)
assert(dcType3.contains("<dc:type>entretien</dc:type>"))
}
......
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