Commit 8f88e498 authored by Silvia Witzig's avatar Silvia Witzig
Browse files

additional test

parent b75053ac
Pipeline #24286 passed with stages
in 7 minutes and 10 seconds
......@@ -263,6 +263,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