Revision 10221
Added by Peter Slaughter over 7 years ago
metacat-index/src/test/java/edu/ucsb/nceas/metacat/index/annotation/MetacatRdfXmlSubprocessorTest.java | ||
---|---|---|
64 | 64 |
assertTrue("The list must contain urn:uuid:e534b2ab-3a1b-44ed-8a99-ce54a0487aea", list.contains("urn:uuid:e534b2ab-3a1b-44ed-8a99-ce54a0487aea")); |
65 | 65 |
list = resultSolrDoc.getAllFieldValues("prov_generatedByExecution"); |
66 | 66 |
assertTrue("The list must contain urn:uuid:d8e46217-2650-42b2-896f-0f006b1a2d3b", list.contains("urn:uuid:d8e46217-2650-42b2-896f-0f006b1a2d3b")); |
67 |
list = resultSolrDoc.getAllFieldValues("prov_hasDerivations"); |
|
68 |
assertTrue("The output must contain prov_hasDerivations urn:uuid:2c20432e-116a-4085-b8d6-abfc4b2dada2", list.contains("urn:uuid:2c20432e-116a-4085-b8d6-abfc4b2dada2")); |
|
67 | 69 |
} else if (newId.equals("urn:uuid:a0e104da-c925-4765-af60-29310de1b99a")) { |
68 | 70 |
List<String>list = resultSolrDoc.getAllFieldValues("prov_generatedByExecution"); |
69 | 71 |
assertTrue("The list must contain urn:uuid:9ceeaeb3-6ef3-4b1e-bc4d-96e299fab3a4", list.contains("urn:uuid:9ceeaeb3-6ef3-4b1e-bc4d-96e299fab3a4")); |
Also available in: Unified diff
Add check in iindex unit test for 'prov_hasDerivations' field