Revision 10225
Added by Peter Slaughter about 7 years ago
MetacatRdfXmlSubprocessorTest.java | ||
---|---|---|
55 | 55 |
} else if (newId.equals("urn:uuid:9ceeaeb3-6ef3-4b1e-bc4d-96e299fab3a4")) { |
56 | 56 |
SolrElementField field1 = resultSolrDoc.getField("prov_used"); |
57 | 57 |
//assertTrue(" the used value should be urn:uuid:621a115f-f1ed-4bef-bca5-f8741793a540. But the real value is "+field1.getValue(), field1.getValue().equals("urn:uuid:621a115f-f1ed-4bef-bca5-f8741793a540")); |
58 |
} else if (newId.equals("urn:uuid:d2fcd5c0-2755-411e-b969-0b5f8eb47d75")) { |
|
59 |
list = resultSolrDoc.getAllFieldValues("prov_hasSources"); |
|
60 |
assertTrue("The list must contain urn:uuid:ee635a61-c930-444d-8214-db65178a1a47", list.contains("urn:uuid:ee635a61-c930-444d-8214-db65178a1a47")); |
|
61 |
assertTrue("The list must contain ", list.contains("urn:uuid:23495598-d50b-4317-b0e1-05a9d9e52632")); |
|
62 |
assertTrue("The list must contain ", list.contains("urn:uuid:672ba6c5-8812-4c05-a324-246af172c67a")); |
|
63 |
assertTrue("The list must contain ", list.contains("urn:uuid:e534b2ab-3a1b-44ed-8a99-ce54a0487aea")); |
|
64 | 58 |
} else if (newId.equals("urn:uuid:621a115f-f1ed-4bef-bca5-f8741793a540")) { |
65 | 59 |
List<String>list = resultSolrDoc.getAllFieldValues("prov_wasDerivedFrom"); |
66 | 60 |
assertTrue("The list must contain urn:uuid:ee635a61-c930-444d-8214-db65178a1a47", list.contains("urn:uuid:ee635a61-c930-444d-8214-db65178a1a47")); |
Also available in: Unified diff
Disable indexing of 'prov_hasSources' field